[20943] trunk/dports/python/py-game

source_changes at macosforge.org source_changes at macosforge.org
Tue Dec 12 12:37:10 PST 2006


Revision: 20943
          http://trac.macosforge.org/projects/macports/changeset/20943
Author:   markd at macports.org
Date:     2006-12-12 12:37:09 -0800 (Tue, 12 Dec 2006)

Log Message:
-----------
Closes #9906 #10642 #11123.  Add patch.

Modified Paths:
--------------
    trunk/dports/python/py-game/Portfile

Added Paths:
-----------
    trunk/dports/python/py-game/files/patch-display.c

Modified: trunk/dports/python/py-game/Portfile
===================================================================
--- trunk/dports/python/py-game/Portfile	2006-12-12 20:34:10 UTC (rev 20942)
+++ trunk/dports/python/py-game/Portfile	2006-12-12 20:37:09 UTC (rev 20943)
@@ -28,7 +28,8 @@
 
 depends_run		port:py-pyobjc
 
-patchfiles		patch-config_darwin.py
+patchfiles		patch-config_darwin.py \
+			patch-display.c
 
 use_configure	yes
 

Added: trunk/dports/python/py-game/files/patch-display.c
===================================================================
--- trunk/dports/python/py-game/files/patch-display.c	                        (rev 0)
+++ trunk/dports/python/py-game/files/patch-display.c	2006-12-12 20:37:09 UTC (rev 20943)
@@ -0,0 +1,10 @@
+--- src/display.c.orig	Sun Sep  3 01:50:07 2006
++++ src/display.c	Sun Sep  3 01:58:30 2006
+@@ -428,7 +428,7 @@
+ 		PyDict_SetItemString(dict, "window", PyInt_FromLong(info.window));
+ 		PyDict_SetItemString(dict, "wimpVersion", PyInt_FromLong(info.wimpVersion));
+ 		PyDict_SetItemString(dict, "taskHandle", PyInt_FromLong(info.taskHandle));
+-#else
++#elif !(defined(__APPLE__) && defined(__MACH__))
+ 		PyDict_SetItemString(dict, "data", PyInt_FromLong(info.data));
+ #endif

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20061212/651ef4b4/attachment.html


More information about the macports-changes mailing list