pkgsrc-Bugs archive

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

pkg/51566: Compilation fix for games/arx-fatalis on macOS Sierra



>Number:         51566
>Category:       pkg
>Synopsis:       Compilation fix for games/arx-fatalis on macOS Sierra
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Oct 20 20:25:00 +0000 2016
>Originator:     Jonathan Schleifer
>Release:        HEAD
>Organization:
>Environment:
>Description:

>How-To-Repeat:

>Fix:
diff --git a/games/arx-libertatis/distinfo b/games/arx-libertatis/distinfo
index 303de4e..0ea8ac0 100644
--- a/games/arx-libertatis/distinfo
+++ b/games/arx-libertatis/distinfo
@@ -10,4 +10,5 @@ SHA1 (patch-cmake_VersionString.cmake) = afff2ae36425f3ffe0e1679d28e48ff4b6fc3d6
 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) = b69afc8803b750b0441abe78b0f38672f2315b54
 SHA1 (patch-src_script_Script.cpp) = 29a923b5254077e2dc2cd73f69afb89025ef7012
diff --git a/games/arx-libertatis/patches/patch-src_platform_Time.cpp b/games/arx-libertatis/patches/patch-src_platform_Time.cpp
new file mode 100644
index 0000000..49d6cf0
--- /dev/null
+++ b/games/arx-libertatis/patches/patch-src_platform_Time.cpp
@@ -0,0 +1,13 @@
+$NetBSD$
+
+--- src/platform/Time.cpp.orig	2016-10-20 20:16:48.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