diff options
author | Amish | 2020-04-23 19:42:54 +0530 |
---|---|---|
committer | Amish | 2020-04-23 19:42:54 +0530 |
commit | 7e7049ffdf6da8184aaee1bd1733d11eee2d26d9 (patch) | |
tree | 7f3238061123e1a084c51aa7319855fcfe756191 /barnyard2-1.13-Werror.patch | |
parent | bb9b464f2f93021f18aafa843442e76f8a2d3eae (diff) | |
download | aur-7e7049ffdf6da8184aaee1bd1733d11eee2d26d9.tar.gz |
Gentoo patches and package improvements
Diffstat (limited to 'barnyard2-1.13-Werror.patch')
-rw-r--r-- | barnyard2-1.13-Werror.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/barnyard2-1.13-Werror.patch b/barnyard2-1.13-Werror.patch new file mode 100644 index 000000000000..e3b8b9c9ae2a --- /dev/null +++ b/barnyard2-1.13-Werror.patch @@ -0,0 +1,17 @@ +--- a/configure.in ++++ b/configure.in +@@ -12,14 +12,6 @@ + NO_OPTIMIZE="no" + ADD_WERROR="no" + +-# Test for -Werror and sed it out for now since some of the auto tests, +-# for example AC_CHECK_LIB, will fail because of +-# warning: conflicting types for built-in function <func> +-if eval "echo $CFLAGS | grep -e -Werror"; then +- CFLAGS=`echo $CFLAGS | sed -e "s/-Werror//g"` +- ADD_WERROR="yes" +-fi +- + # Disable annoying practice of recursively re-running the autotools + AM_MAINTAINER_MODE + AC_PROG_CC_STDC |