[79698] trunk/dports/multimedia/mplayer-devel

jeremyhu at macports.org jeremyhu at macports.org
Thu Jun 23 13:02:17 PDT 2011


Revision: 79698
          http://trac.macports.org/changeset/79698
Author:   jeremyhu at macports.org
Date:     2011-06-23 13:02:17 -0700 (Thu, 23 Jun 2011)
Log Message:
-----------
mplayer-dev: Fix yadif inline asm

Modified Paths:
--------------
    trunk/dports/multimedia/mplayer-devel/Portfile

Added Paths:
-----------
    trunk/dports/multimedia/mplayer-devel/files/yadif.patch

Modified: trunk/dports/multimedia/mplayer-devel/Portfile
===================================================================
--- trunk/dports/multimedia/mplayer-devel/Portfile	2011-06-23 19:53:19 UTC (rev 79697)
+++ trunk/dports/multimedia/mplayer-devel/Portfile	2011-06-23 20:02:17 UTC (rev 79698)
@@ -81,7 +81,7 @@
     --disable-libschroedinger-lavc --disable-liba52  \
     --disable-gif
 
-patchfiles configure.x11.patch 
+patchfiles configure.x11.patch yadif.patch
 
 post-destroot {
     xinstall -d -m 0755 ${destroot}${prefix}/share/doc/${name}

Added: trunk/dports/multimedia/mplayer-devel/files/yadif.patch
===================================================================
--- trunk/dports/multimedia/mplayer-devel/files/yadif.patch	                        (rev 0)
+++ trunk/dports/multimedia/mplayer-devel/files/yadif.patch	2011-06-23 20:02:17 UTC (rev 79698)
@@ -0,0 +1,11 @@
+--- libmpcodecs/vf_yadif.c.orig	2011-06-23 12:54:15.000000000 -0700
++++ libmpcodecs/vf_yadif.c	2011-06-23 12:53:19.000000000 -0700
+@@ -196,7 +196,7 @@ static void filter_line_mmx2(struct vf_p
+ \
+             /* if(p->mode<2) ... */\
+             "movq    %[tmp3], %%mm6 \n\t" /* diff */\
+-            "cmp       $2, %[mode] \n\t"\
++            "cmpl      $2, %[mode] \n\t"\
+             "jge       1f \n\t"\
+             LOAD4("(%["prev2"],%[mrefs],2)", %%mm2) /* prev2[x-2*refs] */\
+             LOAD4("(%["next2"],%[mrefs],2)", %%mm4) /* next2[x-2*refs] */\
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110623/e8bcd9e3/attachment.html>


More information about the macports-changes mailing list