pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/emulators/mame When checking for C99 features, it help...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5b3a5f577a49
branches:  trunk
changeset: 649102:5b3a5f577a49
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Tue Mar 31 16:35:29 2015 +0000

description:
When checking for C99 features, it helps to actually use C99.

diffstat:

 emulators/mame/distinfo               |   4 ++--
 emulators/mame/patches/patch-makefile |  11 ++++++++++-
 2 files changed, 12 insertions(+), 3 deletions(-)

diffs (37 lines):

diff -r 9e18e1b71ff7 -r 5b3a5f577a49 emulators/mame/distinfo
--- a/emulators/mame/distinfo   Tue Mar 31 16:01:36 2015 +0000
+++ b/emulators/mame/distinfo   Tue Mar 31 16:35:29 2015 +0000
@@ -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 -r 9e18e1b71ff7 -r 5b3a5f577a49 emulators/mame/patches/patch-makefile
--- a/emulators/mame/patches/patch-makefile     Tue Mar 31 16:01:36 2015 +0000
+++ b/emulators/mame/patches/patch-makefile     Tue Mar 31 16:35:29 2015 +0000
@@ -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 @@
  
  # 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
  #-------------------------------------------------
  



Home | Main Index | Thread Index | Old Index