summaryrefslogtreecommitdiff
path: root/devel/libbegemot
diff options
context:
space:
mode:
authorkristerw <kristerw@pkgsrc.org>2004-05-24 00:24:30 +0000
committerkristerw <kristerw@pkgsrc.org>2004-05-24 00:24:30 +0000
commit30de7f1fb4efc36d5c643fff831978a7159f66dc (patch)
tree6ee657b6c9691db2415197d328e36e7962e1aab5 /devel/libbegemot
parentbf546881b82c17aee4f8de723dc2ac2399ca5601 (diff)
downloadpkgsrc-30de7f1fb4efc36d5c643fff831978a7159f66dc.tar.gz
Make this package compile when using gcc 3.3.
Diffstat (limited to 'devel/libbegemot')
-rw-r--r--devel/libbegemot/distinfo3
-rw-r--r--devel/libbegemot/patches/patch-ab13
2 files changed, 15 insertions, 1 deletions
diff --git a/devel/libbegemot/distinfo b/devel/libbegemot/distinfo
index a96b7a1d5f3..66191fe18ca 100644
--- a/devel/libbegemot/distinfo
+++ b/devel/libbegemot/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.1.1.1 2002/05/16 16:04:55 agc Exp $
+$NetBSD: distinfo,v 1.2 2004/05/24 00:24:30 kristerw Exp $
SHA1 (libbegemot-1.9.tar.gz) = f43b9ca4b41e1d6048538c5e0eba7aadbe66ba55
Size (libbegemot-1.9.tar.gz) = 116847 bytes
SHA1 (patch-aa) = 684a2949302b0fd12475a99dc4a73824ed57377d
+SHA1 (patch-ab) = 168a8be52cb00f392303acca5bfdfbe9c29165c1
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)));