summaryrefslogtreecommitdiff
path: root/graphics/ogle_gui/patches/patch-ac
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2001-12-26 21:09:52 +0000
committerwiz <wiz@pkgsrc.org>2001-12-26 21:09:52 +0000
commit796bc74052b7b1cfb280b9d7eb82fba99eb142bd (patch)
tree57b9922c3307376f5861ee7f4c59439f98861a59 /graphics/ogle_gui/patches/patch-ac
parent0b296e79405daa650de451da1448b3e657b243fa (diff)
downloadpkgsrc-796bc74052b7b1cfb280b9d7eb82fba99eb142bd.tar.gz
Pull over patch-aa from ogle package.
Noted by Douglas Brebner.
Diffstat (limited to 'graphics/ogle_gui/patches/patch-ac')
-rw-r--r--graphics/ogle_gui/patches/patch-ac40
1 files changed, 40 insertions, 0 deletions
diff --git a/graphics/ogle_gui/patches/patch-ac b/graphics/ogle_gui/patches/patch-ac
new file mode 100644
index 00000000000..dd9bfa60a51
--- /dev/null
+++ b/graphics/ogle_gui/patches/patch-ac
@@ -0,0 +1,40 @@
+$NetBSD: patch-ac,v 1.1 2001/12/26 21:09:53 wiz Exp $
+
+--- src/debug_print.h.orig Mon Dec 3 21:13:47 2001
++++ src/debug_print.h
+@@ -5,20 +5,25 @@
+
+ #if defined(__GNUC__) && ( __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 95))
+
+-#define FATAL(str, args...) \
+-fprintf(stderr, "FATAL[%s]: " str, program_name, ## args)
++#define FATAL(str...) _FATAL( , ##str)
++#define _FATAL(str, args...) \
++fprintf(stderr, "FATAL[%s]: " str, program_name, ##args)
+
+-#define ERROR(str, args...) \
+-fprintf(stderr, "ERROR[%s]: " str, program_name, ## args)
++#define ERROR(str...) _ERROR( , ##str)
++#define _ERROR(str, args...) \
++fprintf(stderr, "ERROR[%s]: " str, program_name, ##args)
+
+-#define WARNING(str, ...) \
+-fprintf(stderr, "WARNING[%s]: " str, program_name, ## args)
++#define WARNING(str...) _WARNING( , ##str)
++#define _WARNING(str, args...) \
++fprintf(stderr, "WARNING[%s]: " str, program_name, ##args)
+
+-#define NOTE(str, args...) \
+-fprintf(stderr, "Note[%s]: " str, program_name, ## args)
++#define NOTE(str...) _NOTE(, ##str)
++#define _NOTE(str, args...) \
++fprintf(stderr, "Note[%s]: " str, program_name, ##args)
+
+-#define DNOTE(str, args...) \
+-fprintf(stderr, "Debug[%s]: " str, program_name, ## args)
++#define DNOTE(str...) _DNOTE( , ##str)
++#define _DNOTE(str, args...) \
++fprintf(stderr, "Debug[%s]: " str, program_name, ##args)
+
+
+ #else /* __GNUC__ < 2 */