diff options
author | wiz <wiz@pkgsrc.org> | 2001-12-26 21:09:52 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2001-12-26 21:09:52 +0000 |
commit | 796bc74052b7b1cfb280b9d7eb82fba99eb142bd (patch) | |
tree | 57b9922c3307376f5861ee7f4c59439f98861a59 /graphics | |
parent | 0b296e79405daa650de451da1448b3e657b243fa (diff) | |
download | pkgsrc-796bc74052b7b1cfb280b9d7eb82fba99eb142bd.tar.gz |
Pull over patch-aa from ogle package.
Noted by Douglas Brebner.
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/ogle_gui/distinfo | 3 | ||||
-rw-r--r-- | graphics/ogle_gui/patches/patch-ac | 40 |
2 files changed, 42 insertions, 1 deletions
diff --git a/graphics/ogle_gui/distinfo b/graphics/ogle_gui/distinfo index 1f17b777d60..4b8a67a37a3 100644 --- a/graphics/ogle_gui/distinfo +++ b/graphics/ogle_gui/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.1.1.1 2001/12/10 20:58:55 veego Exp $ +$NetBSD: distinfo,v 1.2 2001/12/26 21:09:52 wiz Exp $ SHA1 (ogle_gui-0.8.2.tar.gz) = 078c45d0b64ae909d67eaebe8216116e724e9fe8 Size (ogle_gui-0.8.2.tar.gz) = 371428 bytes SHA1 (patch-aa) = d6b6b0210ff2b57d83ce2a574f9e0d228fcf5ecd SHA1 (patch-ab) = e5f2df6840f4913716569837ffbeab4b0a3ef929 +SHA1 (patch-ac) = 5a06dcc97b6749d533eaab1ba9d1128ca2a8368c 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 */ |