Pull over patch-aa from ogle package.
Noted by Douglas Brebner.
This commit is contained in:
parent
0b296e7940
commit
796bc74052
2 changed files with 42 additions and 1 deletions
|
@ -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
|
||||
|
|
40
graphics/ogle_gui/patches/patch-ac
Normal file
40
graphics/ogle_gui/patches/patch-ac
Normal file
|
@ -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 */
|
Loading…
Reference in a new issue