diff options
author | joerg <joerg@pkgsrc.org> | 2013-01-17 15:51:26 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2013-01-17 15:51:26 +0000 |
commit | e74b55b9188308086c9c3bd9ebcfbabb3142f31d (patch) | |
tree | 069d508c266f7f2c11e8de16b6ab09aa58569536 /emulators/x48 | |
parent | acb1cfb538fd2c93edac62f802925f115af74d52 (diff) | |
download | pkgsrc-e74b55b9188308086c9c3bd9ebcfbabb3142f31d.tar.gz |
Fix inline usage. Always add HAVE_STDLIB to avoid various warnings.
Diffstat (limited to 'emulators/x48')
-rw-r--r-- | emulators/x48/Makefile | 4 | ||||
-rw-r--r-- | emulators/x48/distinfo | 3 | ||||
-rw-r--r-- | emulators/x48/patches/patch-src_emulate.c | 13 |
3 files changed, 18 insertions, 2 deletions
diff --git a/emulators/x48/Makefile b/emulators/x48/Makefile index c003b3f8e54..0bb2968b954 100644 --- a/emulators/x48/Makefile +++ b/emulators/x48/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.14 2012/10/23 10:24:04 wiz Exp $ +# $NetBSD: Makefile,v 1.15 2013/01/17 15:51:26 joerg Exp $ # DISTNAME= x48_041 @@ -16,6 +16,8 @@ USE_IMAKE= YES INSTALLATION_DIRS+= share/doc/x48/romdump +CPPFLAGS+= -DHAVE_STDLIB + post-install: cd ${WRKSRC}/doc && \ ${INSTALL_MAN} CARDS.doc INSTALLING ROMDump.doc \ diff --git a/emulators/x48/distinfo b/emulators/x48/distinfo index d9cdf0c5621..683b0bdbe1a 100644 --- a/emulators/x48/distinfo +++ b/emulators/x48/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.6 2012/05/23 05:22:37 dholland Exp $ +$NetBSD: distinfo,v 1.7 2013/01/17 15:51:26 joerg Exp $ SHA1 (x48_041.tar.gz) = 7b166ab4a7570b0617a0d8d01d0938b6ae372ab6 RMD160 (x48_041.tar.gz) = e41b32bd2b38c4163e4a1aae0776048b0c372637 @@ -9,4 +9,5 @@ SHA1 (patch-ac) = ee5784614db4bf00c047e819aaa0f272d3bf9bce SHA1 (patch-ad) = c1f98b7672fe96ab8e203081dfedd6cf96075cfa SHA1 (patch-ae) = 29ec4f1495ab23d520883eebd51356b394c7143f SHA1 (patch-af) = 60adc15ae8c20528892cbcaa029a3dd206a7edca +SHA1 (patch-src_emulate.c) = 9c670fb5382603a6de3b6ee15aff1f294d5d2810 SHA1 (patch-src_timer_c) = 976debb83985bad55ca8b25dfe256370e59e3ac8 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 |