summaryrefslogtreecommitdiff
path: root/games/nagi/patches/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'games/nagi/patches/patch-aa')
-rw-r--r--games/nagi/patches/patch-aa15
1 files changed, 15 insertions, 0 deletions
diff --git a/games/nagi/patches/patch-aa b/games/nagi/patches/patch-aa
new file mode 100644
index 00000000000..49de547261b
--- /dev/null
+++ b/games/nagi/patches/patch-aa
@@ -0,0 +1,15 @@
+$NetBSD: patch-aa,v 1.1.1.1 2003/08/16 15:33:01 drochner Exp $
+
+--- agi.h.orig 2003-08-11 15:37:42.000000000 +0200
++++ agi.h 2003-08-11 15:38:24.000000000 +0200
+@@ -378,8 +378,8 @@
+
+ #define AGI_TRACE printf("trace at: file=%s, func=%s, line=%d\n", __FILE__,__PRETTY_FUNCTION__, __LINE__);
+
+-#define strdupa(str_data) ({ u8 *blah = alloca(strlen(str_data)+1); \
+- strcpy(blah, str_data); \
++#define strdupa(str_data) ({ u8 *blah = alloca(strlen(str_data)+1); \
++ strcpy(blah, str_data); \
+ blah; })
+
+ #define CT_INT (0)