aboutsummaryrefslogtreecommitdiffstats
path: root/community/xbps/disable-Werror.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2018-05-10 11:27:27 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2018-05-10 11:27:27 +0000
commit029f7650a5a18f1e3933a84894fed29e8568461e (patch)
tree92dc9172af9c6be550c4bf1f5030c1ee6f161c0d /community/xbps/disable-Werror.patch
parent28effea5992ad25089bfbad0ef207692a1e80af7 (diff)
downloadaports-029f7650a5a18f1e3933a84894fed29e8568461e.tar.bz2
aports-029f7650a5a18f1e3933a84894fed29e8568461e.tar.xz
community/xbps: disable -Werror
fixes build error on 32 bit
Diffstat (limited to 'community/xbps/disable-Werror.patch')
-rw-r--r--community/xbps/disable-Werror.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/community/xbps/disable-Werror.patch b/community/xbps/disable-Werror.patch
new file mode 100644
index 0000000000..a572b0580e
--- /dev/null
+++ b/community/xbps/disable-Werror.patch
@@ -0,0 +1,13 @@
+diff --git a/configure b/configure
+index 9bff5d5..cc5d2ce 100755
+--- a/configure
++++ b/configure
+@@ -266,7 +266,7 @@ fi
+ #
+ # Check for some compiler warning flags.
+ #
+-for f in all extra error shadow "format=2" missing-prototypes \
++for f in all extra shadow "format=2" missing-prototypes \
+ missing-declarations nested-externs vla no-overlength-strings \
+ unsafe-loop-optimizations undef sign-compare \
+ missing-include-dirs old-style-definition \