[114973] trunk/dports/games/openttd
cal at macports.org
cal at macports.org
Thu Dec 19 15:56:48 PST 2013
Revision: 114973
https://trac.macports.org/changeset/114973
Author: cal at macports.org
Date: 2013-12-19 15:56:47 -0800 (Thu, 19 Dec 2013)
Log Message:
-----------
openttd: update to 1.3.3
Modified Paths:
--------------
trunk/dports/games/openttd/Portfile
Added Paths:
-----------
trunk/dports/games/openttd/files/
trunk/dports/games/openttd/files/patch-src__video__cocoa__cocoa_v.mm-10_9.diff
Modified: trunk/dports/games/openttd/Portfile
===================================================================
--- trunk/dports/games/openttd/Portfile 2013-12-19 22:46:44 UTC (rev 114972)
+++ trunk/dports/games/openttd/Portfile 2013-12-19 23:56:47 UTC (rev 114973)
@@ -12,9 +12,9 @@
if {$subport == $name} {
- version 1.3.2
- checksums rmd160 bfe9c7324debf55ec672b3b25a20af052d1f3f1a \
- sha256 f6efc0cd0c4f4315a98844c331acc2e02322d5671ec376b9f0a11795b0eb270b
+ version 1.3.3
+ checksums rmd160 cf569d6fa66f4bb694a40e243f23668c65adb431 \
+ sha256 6991ed2c0170481800c3a92a1b43546821a658de91d3ac7efe868588387eca5d
license GPL-2
@@ -46,6 +46,8 @@
port:openttd-opensfx \
port:openttd-openmsx
+ patchfiles patch-src__video__cocoa__cocoa_v.mm-10_9.diff
+
# needs to be built against libstdc++, not libc++
if {[info exists configure.cxx_stdlib]} {
configure.cxx_stdlib libstdc++
Added: trunk/dports/games/openttd/files/patch-src__video__cocoa__cocoa_v.mm-10_9.diff
===================================================================
--- trunk/dports/games/openttd/files/patch-src__video__cocoa__cocoa_v.mm-10_9.diff (rev 0)
+++ trunk/dports/games/openttd/files/patch-src__video__cocoa__cocoa_v.mm-10_9.diff 2013-12-19 23:56:47 UTC (rev 114973)
@@ -0,0 +1,18 @@
+--- src/video/cocoa/cocoa_v.mm.orig 2013-12-20 00:43:28.000000000 +0100
++++ src/video/cocoa/cocoa_v.mm 2013-12-20 00:45:45.000000000 +0100
+@@ -393,6 +393,7 @@
+ static CocoaSubdriver *QZ_CreateSubdriver(int width, int height, int bpp, bool fullscreen, bool fallback)
+ {
+ CocoaSubdriver *ret = NULL;
++#if (MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_9)
+ /* OSX 10.7 allows to toggle fullscreen mode differently */
+ if (MacOSVersionIsAtLeast(10, 7, 0)) {
+ ret = QZ_CreateWindowSubdriver(width, height, bpp);
+@@ -400,6 +401,7 @@
+ } else {
+ ret = fullscreen ? QZ_CreateFullscreenSubdriver(width, height, bpp) : QZ_CreateWindowSubdriver(width, height, bpp);
+ }
++#endif /* (MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_9) */
+
+ if (ret != NULL) return ret;
+ if (!fallback) return NULL;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20131219/ede1054e/attachment.html>
More information about the macports-changes
mailing list