[111579] trunk/dports/multimedia/xine-lib/Portfile

ryandesign at macports.org ryandesign at macports.org
Thu Sep 26 06:43:46 PDT 2013


Revision: 111579
          https://trac.macports.org/changeset/111579
Author:   ryandesign at macports.org
Date:     2013-09-26 06:43:46 -0700 (Thu, 26 Sep 2013)
Log Message:
-----------
xine-lib: disable MMX in mmx.c as well to fix new build failure in Xcode 5 (#40589); add URLs for upstream bugs

Modified Paths:
--------------
    trunk/dports/multimedia/xine-lib/Portfile

Modified: trunk/dports/multimedia/xine-lib/Portfile
===================================================================
--- trunk/dports/multimedia/xine-lib/Portfile	2013-09-26 13:38:53 UTC (rev 111578)
+++ trunk/dports/multimedia/xine-lib/Portfile	2013-09-26 13:43:46 UTC (rev 111579)
@@ -36,17 +36,24 @@
             port:xorg-libXvMC \
             port:xorg-xcb-util
 
-# fix "error: empty character constant" and
-# "error: initializer element is not a compile-time constant"
-patchfiles  src_demuxers_demux_qt.c.diff patch-include-xine-post.h
+# fix "error: empty character constant" with clang 3.1 and older
+# https://bugs.xine-project.org/show_bug.cgi?id=504
+patchfiles-append src_demuxers_demux_qt.c.diff
 
+# fix "error: initializer element is not a compile-time constant" with clang 3.0 and older
+# https://bugs.xine-project.org/show_bug.cgi?id=505
+patchfiles-append patch-include-xine-post.h
+
 # fix "make[3]: *** No rule to make target `\', needed by `avcodec_video.list'.  Stop."
+# https://bugs.xine-project.org/show_bug.cgi?id=503
 patchfiles-append patch-src-combined-ffmpeg-Makefile.in.diff
 
 if {[string match "*clang*" ${configure.compiler}]} {
-    # disable use of MMX in this file; workaround for
+    # disable use of MMX in these files; workaround for
     # "error: clobbers must be last on the x87 stack"
+    # https://bugs.xine-project.org/show_bug.cgi?id=502
     patchfiles-append   src_post_goom_ifs.c.diff
+    patchfiles-append   patch-src-post-goom-mmx.c.diff
 }
 
 # bad register name `%rax'
@@ -60,6 +67,7 @@
 
 platform darwin {
     # fix "ar: no archive members specified"
+    # https://bugs.xine-project.org/show_bug.cgi?id=456
     patchfiles-append src_xine-engine_Makefile.in.diff
 }
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130926/c8f3854e/attachment-0001.html>


More information about the macports-changes mailing list