summaryrefslogtreecommitdiff
path: root/devel/libbegemot/patches
diff options
context:
space:
mode:
authorkristerw <kristerw>2004-05-24 00:24:30 +0000
committerkristerw <kristerw>2004-05-24 00:24:30 +0000
commitb05021f52228d9c5f52c92790faaf24994765aad (patch)
tree6ee657b6c9691db2415197d328e36e7962e1aab5 /devel/libbegemot/patches
parentd17a89712264df4a5f508ad7669c23273ee5c0d7 (diff)
downloadpkgsrc-b05021f52228d9c5f52c92790faaf24994765aad.tar.gz
Make this package compile when using gcc 3.3.
Diffstat (limited to 'devel/libbegemot/patches')
-rw-r--r--devel/libbegemot/patches/patch-ab13
1 files changed, 13 insertions, 0 deletions
diff --git a/devel/libbegemot/patches/patch-ab b/devel/libbegemot/patches/patch-ab
new file mode 100644
index 00000000000..15c97214909
--- /dev/null
+++ b/devel/libbegemot/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1 2004/05/24 00:24:30 kristerw Exp $
+
+--- begemot.h.in.orig 2004-05-24 02:21:36.000000000 +0200
++++ begemot.h.in 2004-05-24 02:22:09.000000000 +0200
+@@ -25,7 +25,7 @@
+ # endif
+
+ # if defined(__GNUC__)
+-# if __GNUC__ >= 2 && __GNUC_MINOR__ >= 5
++# if (__GNUC__ == 2 && __GNUC_MINOR__ >= 5) || __GNUC__ > 2
+ void panic(const char *, ...) __attribute__ ((noreturn, format(printf, 1, 2)));
+ void bug(const char *, ...) __attribute__ ((noreturn, format(printf, 1, 2)));
+ void warn(const char *, ...) __attribute__ ((format(printf, 1, 2)));