summaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authorkristerw <kristerw@pkgsrc.org>2004-02-13 23:41:28 +0000
committerkristerw <kristerw@pkgsrc.org>2004-02-13 23:41:28 +0000
commit95ea54083b990a723d03ebd12e98a187f2562252 (patch)
tree03f94883a9fb77e0d5adb2c61ea20eb450e46fe6 /emulators
parent100ee955205aacb5dc2d0c35ffb38f6afd38a0b7 (diff)
downloadpkgsrc-95ea54083b990a723d03ebd12e98a187f2562252.tar.gz
Make the package compile when using gcc3.3.
Diffstat (limited to 'emulators')
-rw-r--r--emulators/generator/distinfo4
-rw-r--r--emulators/generator/patches/patch-ae21
-rw-r--r--emulators/generator/patches/patch-af13
3 files changed, 37 insertions, 1 deletions
diff --git a/emulators/generator/distinfo b/emulators/generator/distinfo
index 24b06086e4e..b9fcb4d710d 100644
--- a/emulators/generator/distinfo
+++ b/emulators/generator/distinfo
@@ -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 --git a/emulators/generator/patches/patch-ae b/emulators/generator/patches/patch-ae
new file mode 100644
index 00000000000..d6c222cf2db
--- /dev/null
+++ b/emulators/generator/patches/patch-ae
@@ -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 --git a/emulators/generator/patches/patch-af b/emulators/generator/patches/patch-af
new file mode 100644
index 00000000000..44176e03bff
--- /dev/null
+++ b/emulators/generator/patches/patch-af
@@ -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) { \