[150754] trunk/dports/graphics

ryandesign at macports.org ryandesign at macports.org
Wed Jul 27 18:13:52 PDT 2016


Revision: 150754
          https://trac.macports.org/changeset/150754
Author:   ryandesign at macports.org
Date:     2016-07-27 18:13:52 -0700 (Wed, 27 Jul 2016)
Log Message:
-----------
libpixman, libpixman-devel: fix build failure on PowerPC (#51012)

Modified Paths:
--------------
    trunk/dports/graphics/libpixman/Portfile
    trunk/dports/graphics/libpixman-devel/Portfile

Added Paths:
-----------
    trunk/dports/graphics/libpixman/files/
    trunk/dports/graphics/libpixman/files/patch-pixman-pixman-vmx.c.diff
    trunk/dports/graphics/libpixman-devel/files/
    trunk/dports/graphics/libpixman-devel/files/patch-pixman-pixman-vmx.c.diff

Modified: trunk/dports/graphics/libpixman/Portfile
===================================================================
--- trunk/dports/graphics/libpixman/Portfile	2016-07-28 00:18:17 UTC (rev 150753)
+++ trunk/dports/graphics/libpixman/Portfile	2016-07-28 01:13:52 UTC (rev 150754)
@@ -32,6 +32,8 @@
 checksums               rmd160  2e4b79160bc913dc0043f9c1710f91801bcb8734 \
                         sha256  39ba3438f3d17c464b0cb8be006dacbca0ab5aee97ebde69fec7ecdbf85794a0
 
+patchfiles              patch-pixman-pixman-vmx.c.diff
+
 # llvm-gcc-4.2 makes cairo fail to generate PDFs properly
 # clang on Xcode 4.1 cannot build libpixman
 compiler.blacklist      llvm-gcc-4.2 {clang < 211.10.1}

Added: trunk/dports/graphics/libpixman/files/patch-pixman-pixman-vmx.c.diff
===================================================================
--- trunk/dports/graphics/libpixman/files/patch-pixman-pixman-vmx.c.diff	                        (rev 0)
+++ trunk/dports/graphics/libpixman/files/patch-pixman-pixman-vmx.c.diff	2016-07-28 01:13:52 UTC (rev 150754)
@@ -0,0 +1,14 @@
+https://bugs.freedesktop.org/show_bug.cgi?id=94769
+--- pixman/pixman-vmx.c.orig
++++ pixman/pixman-vmx.c
+@@ -2933,10 +2933,7 @@ scaled_nearest_scanline_vmx_8888_8888_OVER (uint32_t*       pd,
+ 	while (vx >= 0)
+ 	    vx -= src_width_fixed;
+ 
+-	tmp[0] = tmp1;
+-	tmp[1] = tmp2;
+-	tmp[2] = tmp3;
+-	tmp[3] = tmp4;
++	tmp = (vector unsigned int){tmp1, tmp2, tmp3, tmp4};
+ 
+ 	vsrc = combine4 ((const uint32_t *) &tmp, pm);

Modified: trunk/dports/graphics/libpixman-devel/Portfile
===================================================================
--- trunk/dports/graphics/libpixman-devel/Portfile	2016-07-28 00:18:17 UTC (rev 150753)
+++ trunk/dports/graphics/libpixman-devel/Portfile	2016-07-28 01:13:52 UTC (rev 150754)
@@ -31,6 +31,8 @@
 checksums               rmd160  2e4b79160bc913dc0043f9c1710f91801bcb8734 \
                         sha256  39ba3438f3d17c464b0cb8be006dacbca0ab5aee97ebde69fec7ecdbf85794a0
 
+patchfiles              patch-pixman-pixman-vmx.c.diff
+
 # llvm-gcc-4.2 makes cairo fail to generate PDFs properly
 # clang on Xcode 4.1 cannot build libpixman
 compiler.blacklist      llvm-gcc-4.2 {clang < 211.10.1}

Added: trunk/dports/graphics/libpixman-devel/files/patch-pixman-pixman-vmx.c.diff
===================================================================
--- trunk/dports/graphics/libpixman-devel/files/patch-pixman-pixman-vmx.c.diff	                        (rev 0)
+++ trunk/dports/graphics/libpixman-devel/files/patch-pixman-pixman-vmx.c.diff	2016-07-28 01:13:52 UTC (rev 150754)
@@ -0,0 +1,14 @@
+https://bugs.freedesktop.org/show_bug.cgi?id=94769
+--- pixman/pixman-vmx.c.orig
++++ pixman/pixman-vmx.c
+@@ -2933,10 +2933,7 @@ scaled_nearest_scanline_vmx_8888_8888_OVER (uint32_t*       pd,
+ 	while (vx >= 0)
+ 	    vx -= src_width_fixed;
+ 
+-	tmp[0] = tmp1;
+-	tmp[1] = tmp2;
+-	tmp[2] = tmp3;
+-	tmp[3] = tmp4;
++	tmp = (vector unsigned int){tmp1, tmp2, tmp3, tmp4};
+ 
+ 	vsrc = combine4 ((const uint32_t *) &tmp, pm);
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160727/7e74d925/attachment.html>


More information about the macports-changes mailing list