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 Attempt to fix the CLOCK...



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

description:
Attempt to fix the CLOCK_REALTIME problem properly. Bump PKGREVISION.

diffstat:

 emulators/libretro-beetle-psx/Makefile                                          |   5 +--
 emulators/libretro-beetle-psx/distinfo                                          |   3 +-
 emulators/libretro-beetle-psx/patches/patch-libretro-common_rthreads_rthreads.c |  15 ++++++++++
 3 files changed, 19 insertions(+), 4 deletions(-)

diffs (52 lines):

diff -r 12bd4eb06bcd -r fc41b7686c06 emulators/libretro-beetle-psx/Makefile
--- a/emulators/libretro-beetle-psx/Makefile    Fri Sep 07 00:12:45 2018 +0000
+++ b/emulators/libretro-beetle-psx/Makefile    Fri Sep 07 00:45:23 2018 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.2 2018/09/07 00:12:45 nia Exp $
+# $NetBSD: Makefile,v 1.3 2018/09/07 00:45:23 nia Exp $
 
 DISTNAME=      libretro-beetle-psx-20180808
+PKGREVISION=   1
 CATEGORIES=    emulators
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=libretro/}
 GITHUB_PROJECT=        beetle-psx-libretro
@@ -18,8 +19,6 @@
 
 MAKE_FLAGS+=   GIT_VERSION="-pkgsrc"
 
-CFLAGS+=       -D_POSIX_C_SOURCE=200112L
-
 .include "../../mk/endian.mk"
 
 .if ${MACHINE_ENDIAN} == "big"
diff -r 12bd4eb06bcd -r fc41b7686c06 emulators/libretro-beetle-psx/distinfo
--- a/emulators/libretro-beetle-psx/distinfo    Fri Sep 07 00:12:45 2018 +0000
+++ b/emulators/libretro-beetle-psx/distinfo    Fri Sep 07 00:45:23 2018 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.1 2018/08/11 00:19:58 nia Exp $
+$NetBSD: distinfo,v 1.2 2018/09/07 00:45:23 nia Exp $
 
 SHA1 (libretro-beetle-psx-20180808-7bb007de15b2f40a880b788ebf47a400c90827d9.tar.gz) = 523ae4dbafabbc94d0ca16c9ce624c4f6d4301dc
 RMD160 (libretro-beetle-psx-20180808-7bb007de15b2f40a880b788ebf47a400c90827d9.tar.gz) = 44109917cabbab8aa2c37a56578bf0b2e3467037
 SHA512 (libretro-beetle-psx-20180808-7bb007de15b2f40a880b788ebf47a400c90827d9.tar.gz) = 
735c1f2847a86b48804c51262eaa9908e2f3dd671d88d5dcf4683f5bfdad6574c15319dc5ec1cc826b098016a1a1a5bb65f8dfd390982fda789568d2c733f2b1
 Size (libretro-beetle-psx-20180808-7bb007de15b2f40a880b788ebf47a400c90827d9.tar.gz) = 2087496 bytes
+SHA1 (patch-libretro-common_rthreads_rthreads.c) = 1ba4a13ca0ae3e7fe0b4cb7259d3ee7d6629781b
diff -r 12bd4eb06bcd -r fc41b7686c06 emulators/libretro-beetle-psx/patches/patch-libretro-common_rthreads_rthreads.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/libretro-beetle-psx/patches/patch-libretro-common_rthreads_rthreads.c   Fri Sep 07 00:45:23 2018 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-libretro-common_rthreads_rthreads.c,v 1.1 2018/09/07 00:45:24 nia Exp $
+
+FreeBSD needs _POSIX_C_SOURCE=200112L for CLOCK_REALTIME.
+
+--- libretro-common/rthreads/rthreads.c.orig   2018-08-08 18:35:14.000000000 +0000
++++ libretro-common/rthreads/rthreads.c
+@@ -22,7 +22,7 @@
+ 
+ #ifdef __unix__
+ #ifndef __sun__
+-#define _POSIX_C_SOURCE 199309
++#define _POSIX_C_SOURCE 200112L
+ #endif
+ #endif
+ 



Home | Main Index | Thread Index | Old Index