pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/games/arx-libertatis arx-libertatis: apply upstream co...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ede7daa5231a
branches:  trunk
changeset: 354447:ede7daa5231a
user:      maya <maya%pkgsrc.org@localhost>
date:      Sun Oct 30 10:25:30 2016 +0000

description:
arx-libertatis: apply upstream commit which fixes build on OS X

Use correct parameter type for clock_gettime

Also from Jonathan Schleifer in PR pkg/51556

diffstat:

 games/arx-libertatis/distinfo                            |   3 +-
 games/arx-libertatis/patches/patch-src_platform_Time.cpp |  18 ++++++++++++++++
 2 files changed, 20 insertions(+), 1 deletions(-)

diffs (37 lines):

diff -r e665058fc85a -r ede7daa5231a games/arx-libertatis/distinfo
--- a/games/arx-libertatis/distinfo     Sun Oct 30 09:46:36 2016 +0000
+++ b/games/arx-libertatis/distinfo     Sun Oct 30 10:25:30 2016 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.1 2016/09/02 16:46:04 wiz Exp $
+$NetBSD: distinfo,v 1.2 2016/10/30 10:25:30 maya Exp $
 
 SHA1 (arx-libertatis-1.1.2.tar.xz) = 3b14a55553c564fd33caafb3a5bdb2d328e1fde8
 RMD160 (arx-libertatis-1.1.2.tar.xz) = 94145d36664d8d747c0abc3ced9c9055fd642690
@@ -10,4 +10,5 @@
 SHA1 (patch-src_graphics_opengl_OpenGLRenderer.cpp) = 410769fea6b911dcb283b1da85bebd2861de8d94
 SHA1 (patch-src_io_fs_FilesystemPOSIX.cpp) = 96f1938038c667997350f51a2bb201de0c9843e3
 SHA1 (patch-src_platform_Thread.cpp) = 38e31c77c9e6e795cb37842da82b5ed6681f6aea
+SHA1 (patch-src_platform_Time.cpp) = c67f1bd2a3bdaec7426970b8f72020667abeb8ed
 SHA1 (patch-src_script_Script.cpp) = 29a923b5254077e2dc2cd73f69afb89025ef7012
diff -r e665058fc85a -r ede7daa5231a games/arx-libertatis/patches/patch-src_platform_Time.cpp
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/arx-libertatis/patches/patch-src_platform_Time.cpp  Sun Oct 30 10:25:30 2016 +0000
@@ -0,0 +1,18 @@
+$NetBSD: patch-src_platform_Time.cpp,v 1.1 2016/10/30 10:25:30 maya Exp $
+
+Upstream commit 39fb9a0e3a6888a6a5f040e39896e88750c89065
+Use correct parameter type for clock_gettime
+
+Fixes build on OS X
+
+--- src/platform/Time.cpp.orig 2013-10-17 17:25:04.000000000 +0000
++++ src/platform/Time.cpp
+@@ -29,7 +29,7 @@ namespace Time {
+ 
+ #include <time.h>
+ 
+-static clock_t clock_id = CLOCK_REALTIME;
++static clockid_t clock_id = CLOCK_REALTIME;
+ 
+ void init() {
+       



Home | Main Index | Thread Index | Old Index