diff options
author | Steven Hiscocks | 2017-03-04 11:13:05 +0000 |
---|---|---|
committer | Steven Hiscocks | 2017-03-04 11:13:05 +0000 |
commit | b9038909cde7f091c127d073f2b263e5a026b2c1 (patch) | |
tree | 03c57fbf0ffc5b9739172e514b63fdbec0245507 /milter-greylist-4.5.11-warning.patch | |
parent | de1a53af6902ff910848c0f410dd1124801499d2 (diff) | |
download | aur-b9038909cde7f091c127d073f2b263e5a026b2c1.tar.gz |
Update to 4.6.2 and enable DSNRBL
Diffstat (limited to 'milter-greylist-4.5.11-warning.patch')
-rw-r--r-- | milter-greylist-4.5.11-warning.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/milter-greylist-4.5.11-warning.patch b/milter-greylist-4.5.11-warning.patch new file mode 100644 index 000000000000..8a35c3842540 --- /dev/null +++ b/milter-greylist-4.5.11-warning.patch @@ -0,0 +1,33 @@ +Warning about _BSD_SOURCE being deprecated in favor of _DEFAULT_SOURCE +breaks build with -Werror -Wall + +--- configure.ac ++++ configure.ac +@@ -1240,9 +1240,12 @@ + CFLAGS=$CFLAGS$efl + AC_MSG_CHECKING([if DNS resolver is re-entrant]) + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([ ++ #pragma GCC diagnostic push ++ # pragma GCC diagnostic warning "-Wcpp" + #define _BSD_SOURCE + + #include <sys/types.h> ++ #pragma GCC diagnostic pop + #include <netinet/in.h> + #include <arpa/inet.h> + #include <arpa/nameser.h> +--- configure ++++ configure +@@ -8390,9 +8390,12 @@ + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + ++ #pragma GCC diagnostic push ++ # pragma GCC diagnostic warning "-Wcpp" + #define _BSD_SOURCE + + #include <sys/types.h> ++ #pragma GCC diagnostic pop + #include <netinet/in.h> + #include <arpa/inet.h> + #include <arpa/nameser.h> |