summaryrefslogtreecommitdiff
path: root/x11-misc/xsel/files/xsel-1.2.0-Werror.patch
diff options
context:
space:
mode:
Diffstat (limited to 'x11-misc/xsel/files/xsel-1.2.0-Werror.patch')
-rw-r--r--x11-misc/xsel/files/xsel-1.2.0-Werror.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/x11-misc/xsel/files/xsel-1.2.0-Werror.patch b/x11-misc/xsel/files/xsel-1.2.0-Werror.patch
new file mode 100644
index 000000000000..443dbb909cab
--- /dev/null
+++ b/x11-misc/xsel/files/xsel-1.2.0-Werror.patch
@@ -0,0 +1,11 @@
+--- a/configure.ac
++++ b/configure.ac
+@@ -24,7 +24,7 @@
+ dnl Add some useful warnings if we have gcc.
+ dnl changequote(,)dnl
+ if test "x$ac_cv_prog_gcc" = xyes ; then
+- CFLAGS="$CFLAGS -fno-strict-aliasing -Wall -Werror -g -std=gnu99 -Wdeclaration-after-statement -Wno-unused"
++ CFLAGS="$CFLAGS -fno-strict-aliasing -Wall -Wdeclaration-after-statement -Wno-unused"
+ fi
+ dnl changequote([,])dnl
+