summaryrefslogtreecommitdiff
path: root/emulators/x48/patches
diff options
context:
space:
mode:
authorjoerg <joerg>2013-01-17 15:51:26 +0000
committerjoerg <joerg>2013-01-17 15:51:26 +0000
commita00c9ff4c54b1c2e4d7db975b77de8bbe8d23625 (patch)
tree069d508c266f7f2c11e8de16b6ab09aa58569536 /emulators/x48/patches
parent32c6ca0bf2261eedd4a2bfa9e50e48af15d4d151 (diff)
downloadpkgsrc-a00c9ff4c54b1c2e4d7db975b77de8bbe8d23625.tar.gz
Fix inline usage. Always add HAVE_STDLIB to avoid various warnings.
Diffstat (limited to 'emulators/x48/patches')
-rw-r--r--emulators/x48/patches/patch-src_emulate.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/emulators/x48/patches/patch-src_emulate.c b/emulators/x48/patches/patch-src_emulate.c
new file mode 100644
index 00000000000..5607d831662
--- /dev/null
+++ b/emulators/x48/patches/patch-src_emulate.c
@@ -0,0 +1,13 @@
+$NetBSD: patch-src_emulate.c,v 1.1 2013/01/17 15:51:26 joerg Exp $
+
+--- src/emulate.c.orig 2013-01-16 14:12:03.000000000 +0000
++++ src/emulate.c
+@@ -692,7 +692,7 @@ decode_group_1()
+ }
+ }
+
+-inline int
++static inline int
+ #ifdef __FunctionProto__
+ decode_8_thru_f(int op1)
+ #else