pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/emulators/libretro-desmume libretro-desmume: needs -D_...
details: https://anonhg.NetBSD.org/pkgsrc/rev/26ee85aca29f
branches: trunk
changeset: 385722:26ee85aca29f
user: tnn <tnn%pkgsrc.org@localhost>
date: Thu Sep 27 20:22:26 2018 +0000
description:
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.
diffstat:
emulators/libretro-desmume/Makefile | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (17 lines):
diff -r edb475966c63 -r 26ee85aca29f emulators/libretro-desmume/Makefile
--- a/emulators/libretro-desmume/Makefile Thu Sep 27 20:12:02 2018 +0000
+++ b/emulators/libretro-desmume/Makefile Thu Sep 27 20:22:26 2018 +0000
@@ -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 @@
.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