diff options
author | Matt A. Tobin <mattatobin@localhost.localdomain> | 2018-02-02 04:16:08 -0500 |
---|---|---|
committer | Matt A. Tobin <mattatobin@localhost.localdomain> | 2018-02-02 04:16:08 -0500 |
commit | 5f8de423f190bbb79a62f804151bc24824fa32d8 (patch) | |
tree | 10027f336435511475e392454359edea8e25895d /gfx/cairo/pixman-enable-altivec-acceleration.patch | |
parent | 49ee0794b5d912db1f95dce6eb52d781dc210db5 (diff) | |
download | UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.gz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.lz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.xz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.zip |
Add m-esr52 at 52.6.0
Diffstat (limited to 'gfx/cairo/pixman-enable-altivec-acceleration.patch')
-rw-r--r-- | gfx/cairo/pixman-enable-altivec-acceleration.patch | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/gfx/cairo/pixman-enable-altivec-acceleration.patch b/gfx/cairo/pixman-enable-altivec-acceleration.patch new file mode 100644 index 000000000..d0685cce1 --- /dev/null +++ b/gfx/cairo/pixman-enable-altivec-acceleration.patch @@ -0,0 +1,38 @@ +# HG changeset patch +# Parent d0b3d7af190b3c62397ece2bc33b429d903e455d + +diff -r d0b3d7af190b gfx/cairo/libpixman/src/Makefile.in +--- a/gfx/cairo/libpixman/src/Makefile.in Sat Nov 24 14:26:11 2012 +0100 ++++ b/gfx/cairo/libpixman/src/Makefile.in Thu Nov 29 22:20:59 2012 +0100 +@@ -42,6 +42,10 @@ + endif + + ifdef GNU_CC ++ifeq (ppc,$(findstring ppc,$(OS_TEST))) ++USE_VMX=1 ++VMX_CFLAGS=-maltivec ++endif + ifeq (86,$(findstring 86,$(OS_TEST))) + USE_MMX=1 + MMX_CFLAGS=-mmmx -Winline +@@ -156,3 +160,6 @@ + pixman-sse2.$(OBJ_SUFFIX): COMPILE_CFLAGS += $(SSE2_CFLAGS) + + pixman-arm-neon.$(OBJ_SUFFIX): COMPILE_CFLAGS += $(ARM_NEON_CFLAGS) ++ ++pixman-vmx.$(OBJ_SUFFIX): COMPILE_CFLAGS += $(VMX_CFLAGS) ++ +diff -r d0b3d7af190b gfx/cairo/libpixman/src/pixman-vmx.c +--- a/gfx/cairo/libpixman/src/pixman-vmx.c Sat Nov 24 14:26:11 2012 +0100 ++++ b/gfx/cairo/libpixman/src/pixman-vmx.c Thu Nov 29 22:20:59 2012 +0100 +@@ -25,7 +25,10 @@ + * Based on fbmmx.c by Owen Taylor, Søren Sandmann and Nicholas Miell + */ + ++#ifdef HAVE_CONFIG_H + #include <config.h> ++#endif ++ + #include "pixman-private.h" + #include "pixman-combine32.h" + #include <altivec.h> |