pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/libbegemot Make this package compile when using ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2e4d51b890fa
branches:  trunk
changeset: 475718:2e4d51b890fa
user:      kristerw <kristerw%pkgsrc.org@localhost>
date:      Mon May 24 00:24:30 2004 +0000

description:
Make this package compile when using gcc 3.3.

diffstat:

 devel/libbegemot/distinfo         |   3 ++-
 devel/libbegemot/patches/patch-ab |  13 +++++++++++++
 2 files changed, 15 insertions(+), 1 deletions(-)

diffs (28 lines):

diff -r e507ce8f8d58 -r 2e4d51b890fa devel/libbegemot/distinfo
--- a/devel/libbegemot/distinfo Mon May 24 00:12:21 2004 +0000
+++ b/devel/libbegemot/distinfo Mon May 24 00:24:30 2004 +0000
@@ -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 -r e507ce8f8d58 -r 2e4d51b890fa devel/libbegemot/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/libbegemot/patches/patch-ab Mon May 24 00:24:30 2004 +0000
@@ -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)));



Home | Main Index | Thread Index | Old Index