summaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2015-03-31 16:35:29 +0000
committerjoerg <joerg@pkgsrc.org>2015-03-31 16:35:29 +0000
commitcda5fa58ff9ad39eb88348b1e1cd480d16f1f7e2 (patch)
tree8395b69f8033dfe786bfb01fdcf3ec114e7cded2 /emulators
parent572578739076b519188eb1791a4e103e038c11d5 (diff)
downloadpkgsrc-cda5fa58ff9ad39eb88348b1e1cd480d16f1f7e2.tar.gz
When checking for C99 features, it helps to actually use C99.
Diffstat (limited to 'emulators')
-rw-r--r--emulators/mame/distinfo4
-rw-r--r--emulators/mame/patches/patch-makefile11
2 files changed, 12 insertions, 3 deletions
diff --git a/emulators/mame/distinfo b/emulators/mame/distinfo
index 8e4c0232163..b1d669634d5 100644
--- a/emulators/mame/distinfo
+++ b/emulators/mame/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.32 2015/02/28 11:58:53 wiz Exp $
+$NetBSD: distinfo,v 1.33 2015/03/31 16:35:29 joerg Exp $
SHA1 (mame0159s.zip) = 0170b73e45dcaa6c9842948f69c54310bf314934
RMD160 (mame0159s.zip) = 9b02aeeebf956c453b2c041c6c40c2952ce3521c
Size (mame0159s.zip) = 80801723 bytes
-SHA1 (patch-makefile) = 0009c7f66fbbb30a085aae6d8b4ace3241c17f61
+SHA1 (patch-makefile) = 57837dbc8571682e4fd73a2be5771df109c7225f
diff --git a/emulators/mame/patches/patch-makefile b/emulators/mame/patches/patch-makefile
index 0c43c3983b7..d560095ca56 100644
--- a/emulators/mame/patches/patch-makefile
+++ b/emulators/mame/patches/patch-makefile
@@ -1,4 +1,4 @@
-$NetBSD: patch-makefile,v 1.10 2015/02/28 11:58:53 wiz Exp $
+$NetBSD: patch-makefile,v 1.11 2015/03/31 16:35:29 joerg Exp $
Link against pkgsrc versions of expat, zlib, flac, jpeg, and
sqlite3, and add appropriate linker search paths.
@@ -30,6 +30,15 @@ sqlite3, and add appropriate linker search paths.
# uncomment next line to build PortMidi as part of MAME/MESS build
BUILD_MIDILIB = 1
+@@ -527,7 +527,7 @@ CFLAGS = $(CCOMFLAGS) $(CPPONLYFLAGS) $(
+
+ # we compile C-only to C89 standard with GNU extensions
+ # we compile C++ code to C++98 standard with GNU extensions
+-CONLYFLAGS += -std=gnu89
++CONLYFLAGS += -std=gnu99
+ ifdef CPP11
+ CPPONLYFLAGS += -x c++ -std=gnu++11
+ else
@@ -742,7 +742,7 @@ DRIVLISTOBJ = $(OBJ)/$(TARGET)/$(SUBTARG
#-------------------------------------------------