pkgsrc-Changes archive

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

CVS commit: pkgsrc/emulators/libretro-desmume



Module Name:    pkgsrc
Committed By:   tnn
Date:           Thu Sep 27 20:22:26 UTC 2018

Modified Files:
        pkgsrc/emulators/libretro-desmume: Makefile

Log Message:
libretro-desmume: needs -D__STDC_FORMAT_MACROS

It tries to define it in the source code, but does so too late,
after inttypes.h has already been pulled in. Just define it in CXXFLAGS.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/emulators/libretro-desmume/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/emulators/libretro-desmume/Makefile
diff -u pkgsrc/emulators/libretro-desmume/Makefile:1.2 pkgsrc/emulators/libretro-desmume/Makefile:1.3
--- pkgsrc/emulators/libretro-desmume/Makefile:1.2      Tue Aug 14 13:08:57 2018
+++ pkgsrc/emulators/libretro-desmume/Makefile  Thu Sep 27 20:22:26 2018
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2018/08/14 13:08:57 nia Exp $
+# $NetBSD: Makefile,v 1.3 2018/09/27 20:22:26 tnn Exp $
 
 DISTNAME=      libretro-desmume-20180807
 CATEGORIES=    emulators
@@ -19,6 +19,7 @@ USE_LANGUAGES=        c c++
 
 .include "../../mk/bsd.prefs.mk"
 
+CXXFLAGS+=     -D__STDC_FORMAT_MACROS
 .if !empty(MACHINE_ARCH:M*arm*)
 CXXFLAGS+=             -marm
 CXXFLAGS+=             -DUSE_POSIX_MEMALIGN -D__RETRO_ARM__



Home | Main Index | Thread Index | Old Index