summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gentoo.org>2023-08-29 09:44:19 -0400
committerMatt Turner <mattst88@gentoo.org>2023-08-29 09:45:31 -0400
commite43d6ac165b8b6e07d939e524fb5bc9f9468701c (patch)
tree79b307443d1bb60a44a8f1a2510c1eb4d9f17633
parentmedia-libs/mesa: Put raytracing deps behind USE=llvm (diff)
downloadgentoo-e43d6ac165b8b6e07d939e524fb5bc9f9468701c.tar.gz
gentoo-e43d6ac165b8b6e07d939e524fb5bc9f9468701c.tar.bz2
gentoo-e43d6ac165b8b6e07d939e524fb5bc9f9468701c.zip
net-print/cups: Don't redefine _FORTIFY_SOURCE
Closes: https://bugs.gentoo.org/907683 Signed-off-by: Matt Turner <mattst88@gentoo.org>
-rw-r--r--net-print/cups/cups-2.4.6.ebuild3
-rw-r--r--net-print/cups/cups-9999.ebuild3
2 files changed, 6 insertions, 0 deletions
diff --git a/net-print/cups/cups-2.4.6.ebuild b/net-print/cups/cups-2.4.6.ebuild
index 5f2bed2a1d4b..0419f6602052 100644
--- a/net-print/cups/cups-2.4.6.ebuild
+++ b/net-print/cups/cups-2.4.6.ebuild
@@ -117,6 +117,9 @@ src_prepare() {
# Remove ".SILENT" rule for verbose output (bug #524338).
sed 's#^.SILENT:##g' -i Makedefs.in || die
+ # Remove redefinition of _FORTIFY_SOURCE (bug #907683)
+ sed 's#-D_FORTIFY_SOURCE=3##g' -i config-scripts/cups-compiler.m4 || die
+
AT_M4DIR="config-scripts" eautoreconf
# Custom Makefiles
diff --git a/net-print/cups/cups-9999.ebuild b/net-print/cups/cups-9999.ebuild
index bd1cbc9533a8..d1f511ef75b9 100644
--- a/net-print/cups/cups-9999.ebuild
+++ b/net-print/cups/cups-9999.ebuild
@@ -117,6 +117,9 @@ src_prepare() {
# Remove ".SILENT" rule for verbose output (bug #524338).
sed 's#^.SILENT:##g' -i Makedefs.in || die
+ # Remove redefinition of _FORTIFY_SOURCE (bug #907683)
+ sed 's#-D_FORTIFY_SOURCE=3##g' -i config-scripts/cups-compiler.m4 || die
+
AT_M4DIR="config-scripts" eautoreconf
# Custom Makefiles