pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/emulators libretro-beetle-(psx|saturn): Define _POSIX_...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/12bd4eb06bcd
branches:  trunk
changeset: 312578:12bd4eb06bcd
user:      nia <nia%pkgsrc.org@localhost>
date:      Fri Sep 07 00:12:45 2018 +0000

description:
libretro-beetle-(psx|saturn): Define _POSIX_C_SOURCE for CLOCK_REALTIME

hopefully appeases FreeBSD.

diffstat:

 emulators/libretro-beetle-psx/Makefile    |  4 +++-
 emulators/libretro-beetle-saturn/Makefile |  4 +++-
 2 files changed, 6 insertions(+), 2 deletions(-)

diffs (36 lines):

diff -r e1c122d04174 -r 12bd4eb06bcd emulators/libretro-beetle-psx/Makefile
--- a/emulators/libretro-beetle-psx/Makefile    Thu Sep 06 22:05:09 2018 +0000
+++ b/emulators/libretro-beetle-psx/Makefile    Fri Sep 07 00:12:45 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2018/08/11 00:19:58 nia Exp $
+# $NetBSD: Makefile,v 1.2 2018/09/07 00:12:45 nia Exp $
 
 DISTNAME=      libretro-beetle-psx-20180808
 CATEGORIES=    emulators
@@ -18,6 +18,8 @@
 
 MAKE_FLAGS+=   GIT_VERSION="-pkgsrc"
 
+CFLAGS+=       -D_POSIX_C_SOURCE=200112L
+
 .include "../../mk/endian.mk"
 
 .if ${MACHINE_ENDIAN} == "big"
diff -r e1c122d04174 -r 12bd4eb06bcd emulators/libretro-beetle-saturn/Makefile
--- a/emulators/libretro-beetle-saturn/Makefile Thu Sep 06 22:05:09 2018 +0000
+++ b/emulators/libretro-beetle-saturn/Makefile Fri Sep 07 00:12:45 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2018/08/12 13:22:43 nia Exp $
+# $NetBSD: Makefile,v 1.2 2018/09/07 00:12:45 nia Exp $
 
 DISTNAME=      libretro-beetle-saturn-20180620
 CATEGORIES=    emulators
@@ -23,6 +23,8 @@
 
 INSTALLATION_DIRS+=    ${PREFIX}/lib/libretro
 
+CFLAGS+=       -D_POSIX_C_SOURCE=200112L
+
 .include "../../mk/endian.mk"
 
 .if ${MACHINE_ENDIAN} == "big"



Home | Main Index | Thread Index | Old Index