summaryrefslogtreecommitdiff
path: root/media-gfx/inkscape/files/inkscape-0.91_pre3-cppflags.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /media-gfx/inkscape/files/inkscape-0.91_pre3-cppflags.patch
reinit the tree, so we can have metadata
Diffstat (limited to 'media-gfx/inkscape/files/inkscape-0.91_pre3-cppflags.patch')
-rw-r--r--media-gfx/inkscape/files/inkscape-0.91_pre3-cppflags.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/media-gfx/inkscape/files/inkscape-0.91_pre3-cppflags.patch b/media-gfx/inkscape/files/inkscape-0.91_pre3-cppflags.patch
new file mode 100644
index 000000000000..94dbf881de0c
--- /dev/null
+++ b/media-gfx/inkscape/files/inkscape-0.91_pre3-cppflags.patch
@@ -0,0 +1,14 @@
+Gentoo enables _FORTIFY_SOURCE by default so this avoids redefined warnings.
+
+--- inkscape-0.91pre3/configure.ac
++++ inkscape-0.91pre3/configure.ac
+@@ -72,9 +72,6 @@
+ ####
+ # Generic cpp flags...
+
+- # What is just plain "-W" ?
+- # Fortify source requires -O2 or higher, which is handled with newer autoconf
+- CPPFLAGS="-W -D_FORTIFY_SOURCE=2 $CPPFLAGS"
+ # Enable format and format security warnings
+ CPPFLAGS="-Wformat -Wformat-security $CPPFLAGS"
+ # Enable all default warnings