[61755] trunk/dports/x11/wine-crossover-games

jeremyhu at macports.org jeremyhu at macports.org
Sun Dec 20 17:25:19 PST 2009


Revision: 61755
          http://trac.macports.org/changeset/61755
Author:   jeremyhu at macports.org
Date:     2009-12-20 17:25:15 -0800 (Sun, 20 Dec 2009)
Log Message:
-----------
wine-crossover-games: Buildfix for SnowLeopard... see #22342

Modified Paths:
--------------
    trunk/dports/x11/wine-crossover-games/Portfile

Added Paths:
-----------
    trunk/dports/x11/wine-crossover-games/files/sl-audio.patch

Modified: trunk/dports/x11/wine-crossover-games/Portfile
===================================================================
--- trunk/dports/x11/wine-crossover-games/Portfile	2009-12-21 01:01:42 UTC (rev 61754)
+++ trunk/dports/x11/wine-crossover-games/Portfile	2009-12-21 01:25:15 UTC (rev 61755)
@@ -76,6 +76,8 @@
 # interferes with the wine build (which uses parts of them if present).
 extract.post_args-append wine
 
+patchfiles sl-audio.patch
+
 configure.ldflags-append \
     -framework CoreServices \
     -lz

Added: trunk/dports/x11/wine-crossover-games/files/sl-audio.patch
===================================================================
--- trunk/dports/x11/wine-crossover-games/files/sl-audio.patch	                        (rev 0)
+++ trunk/dports/x11/wine-crossover-games/files/sl-audio.patch	2009-12-21 01:25:15 UTC (rev 61755)
@@ -0,0 +1,23 @@
+--- dlls/winecoreaudio.drv/audio.c.orig	2009-12-20 16:38:10.000000000 -0800
++++ dlls/winecoreaudio.drv/audio.c	2009-12-20 16:39:54.000000000 -0800
+@@ -50,7 +50,6 @@
+ #include "wine/unicode.h"
+ #include "wine/library.h"
+ #include "wine/debug.h"
+-#include "wine/list.h"
+ 
+ WINE_DEFAULT_DEBUG_CHANNEL(wave);
+ 
+@@ -61,6 +60,12 @@ WINE_DEFAULT_DEBUG_CHANNEL(wave);
+ 
+ WINE_DECLARE_DEBUG_CHANNEL(coreaudio);
+ 
++/* This needs to be after CoreAudio/CoreAudio.h because
++ * CoreAudio includes sys/queue.h which has namespace conflicts
++ * with wine/list.h
++ */
++#include "wine/list.h"
++
+ /*
+     Due to AudioUnit headers conflict define some needed types.
+ */
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20091220/3f7c31b8/attachment.html>


More information about the macports-changes mailing list