summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2010-04-05 23:00:42 +0000
committertron <tron@pkgsrc.org>2010-04-05 23:00:42 +0000
commit8a35db3fa4bb6e8c05d23bdf57acb236f8cc2f43 (patch)
treeffbe496339aef8fe8d8264a0a0ba33afd35f0658 /mail
parent30b13b99737106f7b6ccda686b4b51e965fd5290 (diff)
downloadpkgsrc-8a35db3fa4bb6e8c05d23bdf57acb236f8cc2f43.tar.gz
Stop GCC from complaining about unused labels in C sources. This should
fix the build problem reported by Hisashi T Fujinaka in PR pkg/43123.
Diffstat (limited to 'mail')
-rw-r--r--mail/milter-greylist/distinfo3
-rw-r--r--mail/milter-greylist/patches/patch-ab15
2 files changed, 17 insertions, 1 deletions
diff --git a/mail/milter-greylist/distinfo b/mail/milter-greylist/distinfo
index d104e5b814c..f3cceaf76f8 100644
--- a/mail/milter-greylist/distinfo
+++ b/mail/milter-greylist/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.26 2009/09/22 14:02:56 tron Exp $
+$NetBSD: distinfo,v 1.27 2010/04/05 23:00:42 tron Exp $
SHA1 (milter-greylist-4.2.3.tgz) = 195270c4ea01331d3ffb18af7466828d2d52eba3
RMD160 (milter-greylist-4.2.3.tgz) = 2cbf0022ade79ab89475e798e010ecb64c370af9
Size (milter-greylist-4.2.3.tgz) = 210106 bytes
SHA1 (patch-aa) = f884ba7efce512f51b6e5593255c4f7fdd468333
+SHA1 (patch-ab) = 4e296a4386f06755c87d146fd1bf3ca3090bc0ed
diff --git a/mail/milter-greylist/patches/patch-ab b/mail/milter-greylist/patches/patch-ab
new file mode 100644
index 00000000000..579dab95ce4
--- /dev/null
+++ b/mail/milter-greylist/patches/patch-ab
@@ -0,0 +1,15 @@
+$NetBSD: patch-ab,v 1.5 2010/04/05 23:00:42 tron Exp $
+
+Fix build with "flex" under NetBSD 5.99.* and newer.
+
+--- configure.orig 2009-08-14 01:31:15.000000000 +0100
++++ configure 2010-04-05 23:56:44.000000000 +0100
+@@ -3439,7 +3439,7 @@
+ { $as_echo "$as_me:$LINENO: checking if compiler accepts -Wall" >&5
+ $as_echo_n "checking if compiler accepts -Wall... " >&6; }
+ SAVEDCFLAGS=$CFLAGS
+-CFLAGS=$CFLAGS" -Wall"
++CFLAGS=$CFLAGS" -Wall -Wno-unused-label"
+ wall="no"
+ cat >conftest.$ac_ext <<_ACEOF
+ /* confdefs.h. */