[79398] trunk/dports/gnome/gst-plugins-good

jeremyhu at macports.org jeremyhu at macports.org
Sun Jun 12 15:49:47 PDT 2011


Revision: 79398
          http://trac.macports.org/changeset/79398
Author:   jeremyhu at macports.org
Date:     2011-06-12 15:49:45 -0700 (Sun, 12 Jun 2011)
Log Message:
-----------
gst-plugins-good: Disable mmx when building the goom plugin to fix a build failure

Modified Paths:
--------------
    trunk/dports/gnome/gst-plugins-good/Portfile

Added Paths:
-----------
    trunk/dports/gnome/gst-plugins-good/files/goom-nommx.patch

Modified: trunk/dports/gnome/gst-plugins-good/Portfile
===================================================================
--- trunk/dports/gnome/gst-plugins-good/Portfile	2011-06-12 22:03:11 UTC (rev 79397)
+++ trunk/dports/gnome/gst-plugins-good/Portfile	2011-06-12 22:49:45 UTC (rev 79398)
@@ -41,7 +41,7 @@
 use_bzip2   yes
 
 # https://bugzilla.gnome.org/show_bug.cgi?id=636134
-patchfiles universal.patch
+patchfiles universal.patch goom-nommx.patch
 patch.pre_args  -p1
 
 pre-configure {

Added: trunk/dports/gnome/gst-plugins-good/files/goom-nommx.patch
===================================================================
--- trunk/dports/gnome/gst-plugins-good/files/goom-nommx.patch	                        (rev 0)
+++ trunk/dports/gnome/gst-plugins-good/files/goom-nommx.patch	2011-06-12 22:49:45 UTC (rev 79398)
@@ -0,0 +1,23 @@
+--- a/gst/goom/Makefile.am	2011-06-12 15:35:19.000000000 -0700
++++ b/gst/goom/Makefile.am	2011-06-12 15:37:03.000000000 -0700
+@@ -4,8 +4,8 @@ plugin_LTLIBRARIES = libgstgoom.la
+ PPC_FILES=ppc_zoom_ultimate.s ppc_drawings.s ppc_drawings.h ppc_zoom_ultimate.h
+ MMX_FILES=mmx.c xmmx.c mmx.h xmmx.h
+ 
+-# disable until someone figures out how to build these correctly on ppc
+-ARCH_FILES = $(MMX_FILES)
++# disable until someone figures out how to build these correctly on ppc and x86_64
++#ARCH_FILES = $(MMX_FILES)
+ #ARCH_FILES += $(PPC_FILES)
+ 				
+ libgstgoom_la_SOURCES =						\
+@@ -31,6 +31,9 @@ libgstgoom_la_LIBADD = $(GST_BASE_LIBS) 
+ libgstgoom_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
+ libgstgoom_la_LIBTOOLFLAGS = --tag=disable-static
+ 
++# mmx code doesn't build on x86_64, so disable it
++libgstgoom_la_CFLAGS += -mno-mmx
++
+ EXTRA_DIST = $(PPC_FILES) $(MMX_FILES)
+ 
+ .NOTPARALLEL:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110612/129fdb49/attachment.html>


More information about the macports-changes mailing list