From b05021f52228d9c5f52c92790faaf24994765aad 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/patches/patch-ab | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 devel/libbegemot/patches/patch-ab (limited to 'devel/libbegemot/patches') 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