[60199] trunk/dports/www/firefox-x11/files

jeremyhu at macports.org jeremyhu at macports.org
Wed Nov 4 16:57:18 PST 2009


Revision: 60199
          http://trac.macports.org/changeset/60199
Author:   jeremyhu at macports.org
Date:     2009-11-04 16:57:18 -0800 (Wed, 04 Nov 2009)
Log Message:
-----------
firefox-x11: Add missing patches

Added Paths:
-----------
    trunk/dports/www/firefox-x11/files/gdk-Status.patch
    trunk/dports/www/firefox-x11/files/netwerk-wifi-src-Makefile.patch
    trunk/dports/www/firefox-x11/files/sydneyaudio.patch

Added: trunk/dports/www/firefox-x11/files/gdk-Status.patch
===================================================================
--- trunk/dports/www/firefox-x11/files/gdk-Status.patch	                        (rev 0)
+++ trunk/dports/www/firefox-x11/files/gdk-Status.patch	2009-11-05 00:57:18 UTC (rev 60199)
@@ -0,0 +1,15 @@
+--- gfx/thebes/src/gfxPlatformGtk.cpp.orig	2009-04-07 16:13:18.000000000 -0700
++++ gfx/thebes/src/gfxPlatformGtk.cpp	2009-04-07 16:14:29.000000000 -0700
+@@ -63,6 +63,12 @@
+ #include <gdk/gdkx.h>
+ #include "gfxXlibSurface.h"
+ #include "cairo-xlib.h"
++
++/* Undefine the Status from Xlib since it will conflict with system headers on OSX */
++#if defined(__APPLE__) && defined(Status)
++#undef Status
++#endif
++
+ #endif /* MOZ_X11 */
+ 
+ #ifdef MOZ_DFB

Added: trunk/dports/www/firefox-x11/files/netwerk-wifi-src-Makefile.patch
===================================================================
--- trunk/dports/www/firefox-x11/files/netwerk-wifi-src-Makefile.patch	                        (rev 0)
+++ trunk/dports/www/firefox-x11/files/netwerk-wifi-src-Makefile.patch	2009-11-05 00:57:18 UTC (rev 60199)
@@ -0,0 +1,11 @@
+--- netwerk/wifi/src/Makefile.in	2009-11-03 16:51:19.000000000 -0800
++++ netwerk/wifi/src/Makefile.in	2009-11-03 16:56:34.000000000 -0800
+@@ -57,7 +57,7 @@ CPPSRCS	=	nsWifiMonitor.cpp \
+ 		nsWifiAccessPoint.cpp \
+ 		$(NULL)
+ 
+-ifeq ($(MOZ_WIDGET_TOOLKIT),cocoa)
++ifeq ($(OS_ARCH),Darwin)
+ CPPSRCS += nsWifiScannerMac.cpp
+ CMMSRCS = osx_corewlan.mm
+ else

Added: trunk/dports/www/firefox-x11/files/sydneyaudio.patch
===================================================================
--- trunk/dports/www/firefox-x11/files/sydneyaudio.patch	                        (rev 0)
+++ trunk/dports/www/firefox-x11/files/sydneyaudio.patch	2009-11-05 00:57:18 UTC (rev 60199)
@@ -0,0 +1,13 @@
+--- toolkit/library/Makefile.in.orig	2009-04-04 19:40:25.000000000 -0700
++++ toolkit/library/Makefile.in	2009-04-04 19:47:10.000000000 -0700
+@@ -205,7 +205,10 @@ EXTRA_DSO_LDOPTS += \
+ 	-lcrypto \
+ 	$(TK_LIBS) \
+ 	$(NULL)
++endif
+ 
++ifeq ($(OS_ARCH),Darwin)
+ ifdef MOZ_SYDNEYAUDIO
+ EXTRA_DSO_LDOPTS += \
++	-framework Carbon \
+ 	-framework CoreAudio \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20091104/76614c3b/attachment.html>


More information about the macports-changes mailing list