pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/emulators/generator Make the package compile when usin...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d620783c3b85
branches:  trunk
changeset: 468432:d620783c3b85
user:      kristerw <kristerw%pkgsrc.org@localhost>
date:      Fri Feb 13 23:41:28 2004 +0000

description:
Make the package compile when using gcc3.3.

diffstat:

 emulators/generator/distinfo         |   4 +++-
 emulators/generator/patches/patch-ae |  21 +++++++++++++++++++++
 emulators/generator/patches/patch-af |  13 +++++++++++++
 3 files changed, 37 insertions(+), 1 deletions(-)

diffs (56 lines):

diff -r df1e7fd27f4d -r d620783c3b85 emulators/generator/distinfo
--- a/emulators/generator/distinfo      Fri Feb 13 23:40:11 2004 +0000
+++ b/emulators/generator/distinfo      Fri Feb 13 23:41:28 2004 +0000
@@ -1,7 +1,9 @@
-$NetBSD: distinfo,v 1.3 2002/11/19 20:54:20 agc Exp $
+$NetBSD: distinfo,v 1.4 2004/02/13 23:41:28 kristerw Exp $
 
 SHA1 (generator-0.34.tar.gz) = abf57875c60f63c9ffb97894f4ce9c638f60054f
 Size (generator-0.34.tar.gz) = 442852 bytes
 SHA1 (patch-aa) = 0878709485d884c1e4956b5ac4659024e31ef3ac
 SHA1 (patch-ac) = 418547b9c791824822a8eac3b1964dccb5ba39ce
 SHA1 (patch-ad) = c6e79f872595a427a08c34d802f19495c6985022
+SHA1 (patch-ae) = 94d920ea543b3ddbda01f3a143880a45e2a23fbe
+SHA1 (patch-af) = ef1c72b6da1ae93209a13b6836d5a85f66ffa51c
diff -r df1e7fd27f4d -r d620783c3b85 emulators/generator/patches/patch-ae
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/generator/patches/patch-ae      Fri Feb 13 23:41:28 2004 +0000
@@ -0,0 +1,21 @@
+$NetBSD: patch-ae,v 1.1 2004/02/13 23:41:28 kristerw Exp $
+
+--- hdr/generator.h.orig       2004-02-14 00:23:16.000000000 +0100
++++ hdr/generator.h    2004-02-14 00:23:46.000000000 +0100
+@@ -185,11 +185,11 @@
+ #  define LOG_DEBUG3(x)   /* ui_log_debug3 ## x */
+ #  define LOG_DEBUG2(x)   /* ui_log_debug2 ## x */
+ #  define LOG_DEBUG1(x)   /* ui_log_debug1 ## x */
+-#  define LOG_USER(x)     ui_log_user ## x
+-#  define LOG_VERBOSE(x)  ui_log_verbose ## x
+-#  define LOG_NORMAL(x)   ui_log_normal ## x
+-#  define LOG_CRITICAL(x) ui_log_critical ## x
+-#  define LOG_REQUEST(x)  ui_log_request ## x
++#  define LOG_USER(x)     ui_log_user x
++#  define LOG_VERBOSE(x)  ui_log_verbose x
++#  define LOG_NORMAL(x)   ui_log_normal x
++#  define LOG_CRITICAL(x) ui_log_critical x
++#  define LOG_REQUEST(x)  ui_log_request x
+ #endif
+ 
+ typedef struct {
diff -r df1e7fd27f4d -r d620783c3b85 emulators/generator/patches/patch-af
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/generator/patches/patch-af      Fri Feb 13 23:41:28 2004 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-af,v 1.1 2004/02/13 23:41:28 kristerw Exp $
+
+--- main/ui-gtk.c.orig 2004-02-14 00:30:00.000000000 +0100
++++ main/ui-gtk.c      2004-02-14 00:30:20.000000000 +0100
+@@ -626,7 +626,7 @@
+ /* logging is done this way because this was the best I could come up with
+    whilst battling with macros that can only take fixed numbers of arguments */
+ 
+-#define LOG_FUNC(name,level,txt) void ui_log_ ## name ## (const char *text, ...) \
++#define LOG_FUNC(name,level,txt) void ui_log_ ## name (const char *text, ...) \
+ { \
+   va_list ap; \
+   if (gen_loglevel >= level) { \



Home | Main Index | Thread Index | Old Index