Skip to content

Commit

Permalink
sys-fs/dislocker: [QA] Add cmake-utils_src_prepare
Browse files Browse the repository at this point in the history
Package-Manager: Portage-2.3.11, Repoman-2.3.3
  • Loading branch information
SoapGentoo committed Oct 16, 2017
1 parent a374f9a commit bbca9cf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sys-fs/dislocker/dislocker-0.7.1-r1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ DEPEND="sys-fs/fuse:*
RDEPEND="${DEPEND}"

src_prepare() {
cmake-utils_src_prepare

# We either need to change Werror to Wno-error or remove the multiple declarations of FORTIFY_SOURCE
# sed 's:Werror:Wno-error:g' -i "${S}/src/CMakeLists.txt" || die
sed 's:-D_FORTIFY_SOURCE=2::g' -i "${S}/src/CMakeLists.txt" || die
Expand Down
2 changes: 2 additions & 0 deletions sys-fs/dislocker/dislocker-9999.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ DEPEND="sys-fs/fuse:*
RDEPEND="${DEPEND}"

src_prepare() {
cmake-utils_src_prepare

# We either need to change Werror to Wno-error or remove the multiple declarations of FORTIFY_SOURCE
# sed 's:Werror:Wno-error:g' -i "${S}/src/CMakeLists.txt" || die
sed 's:-D_FORTIFY_SOURCE=2::g' -i "${S}/src/CMakeLists.txt" || die
Expand Down

0 comments on commit bbca9cf

Please sign in to comment.