From b162eb0be8741db18ce095f5916e4fbb41de8b1f Mon Sep 17 00:00:00 2001 From: kristerw Date: Mon, 24 May 2004 00:24:30 +0000 Subject: Make this package compile when using gcc 3.3. --- devel/libbegemot/distinfo | 3 ++- devel/libbegemot/patches/patch-ab | 13 +++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 devel/libbegemot/patches/patch-ab 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))); -- cgit v1.2.3