[46397] trunk/dports/kde/kdegames4
illogic-al at macports.org
illogic-al at macports.org
Tue Feb 3 20:53:14 PST 2009
Revision: 46397
http://trac.macports.org/changeset/46397
Author: illogic-al at macports.org
Date: 2009-02-03 20:53:14 -0800 (Tue, 03 Feb 2009)
Log Message:
-----------
Make compile. Fix ticket #18130.
Modified Paths:
--------------
trunk/dports/kde/kdegames4/Portfile
Added Paths:
-----------
trunk/dports/kde/kdegames4/files/
trunk/dports/kde/kdegames4/files/patch-kggzmod.diff
Modified: trunk/dports/kde/kdegames4/Portfile
===================================================================
--- trunk/dports/kde/kdegames4/Portfile 2009-02-04 04:51:54 UTC (rev 46396)
+++ trunk/dports/kde/kdegames4/Portfile 2009-02-04 04:53:14 UTC (rev 46397)
@@ -17,7 +17,13 @@
distname kdegames-${version}
checksums md5 68cefd627025be99ba136e5a4e35e554
-depends_lib-append port:kdelibs4 port:kdebase4-runtime
+depends_lib-append port:kdelibs4 port:kdebase4-runtime \
+ port:ggz-client-libs
-configure.args-append ../${distname}
+patchfiles patch-kggzmod.diff
+patch.dir ${workpath}/${distname}
+configure.args-append ../${distname} \
+ -DBUILD_ksirk=OFF
+
+
Added: trunk/dports/kde/kdegames4/files/patch-kggzmod.diff
===================================================================
--- trunk/dports/kde/kdegames4/files/patch-kggzmod.diff (rev 0)
+++ trunk/dports/kde/kdegames4/files/patch-kggzmod.diff 2009-02-04 04:53:14 UTC (rev 46397)
@@ -0,0 +1,20 @@
+--- libkdegames/kggzmod/misc_private.h~ 2009-01-21 06:17:49.000000000 -0500
++++ libkdegames/kggzmod/misc_private.h 2009-02-03 18:58:09.000000000 -0500
+@@ -36,7 +36,7 @@
+ #endif
+
+ // work around a bug in the Mac OS X 10.4.0 SDK
+-#if defined(__APPLE__)
++/* #if defined(__APPLE__)
+ # ifndef __DARWIN_ALIGNBYTES
+ # define __DARWIN_ALIGNBYTES (sizeof(__darwin_size_t) - 1)
+ # endif
+@@ -45,7 +45,7 @@
+ # endif
+ # undef CMSG_SPACE
+ # define CMSG_SPACE(l) (ALIGN(sizeof(struct cmsghdr)) + ALIGN(l))
+-#endif
++#endif */
+
+ namespace KGGZMod
+ {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090203/40d3c90a/attachment.html>
More information about the macports-changes
mailing list