pkgsrc-Changes archive

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

CVS commit: pkgsrc/games/arx-libertatis



Module Name:    pkgsrc
Committed By:   maya
Date:           Sun Oct 30 10:25:31 UTC 2016

Modified Files:
        pkgsrc/games/arx-libertatis: distinfo
Added Files:
        pkgsrc/games/arx-libertatis/patches: patch-src_platform_Time.cpp

Log Message:
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


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/games/arx-libertatis/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/games/arx-libertatis/patches/patch-src_platform_Time.cpp

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

Modified files:

Index: pkgsrc/games/arx-libertatis/distinfo
diff -u pkgsrc/games/arx-libertatis/distinfo:1.1 pkgsrc/games/arx-libertatis/distinfo:1.2
--- pkgsrc/games/arx-libertatis/distinfo:1.1    Fri Sep  2 16:46:04 2016
+++ pkgsrc/games/arx-libertatis/distinfo        Sun Oct 30 10:25:30 2016
@@ -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-cmake_VersionString.cmake) =
 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

Added files:

Index: pkgsrc/games/arx-libertatis/patches/patch-src_platform_Time.cpp
diff -u /dev/null pkgsrc/games/arx-libertatis/patches/patch-src_platform_Time.cpp:1.1
--- /dev/null   Sun Oct 30 10:25:31 2016
+++ pkgsrc/games/arx-libertatis/patches/patch-src_platform_Time.cpp     Sun Oct 30 10:25:30 2016
@@ -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