summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2016-07-26 11:27:26 +0200
committerAlexis Ballier <aballier@gentoo.org>2016-07-26 11:27:26 +0200
commit1e8eabbec0137a89a74eee87c42354db095460ef (patch)
treee80af2560314aef9f3923b5271f944b5af30b149 /media-libs/kvazaar/files
parentmedia-libs/kvazaar: remove old (diff)
downloadgentoo-1e8eabbec0137a89a74eee87c42354db095460ef.tar.gz
gentoo-1e8eabbec0137a89a74eee87c42354db095460ef.tar.bz2
gentoo-1e8eabbec0137a89a74eee87c42354db095460ef.zip
media-libs/kvazaar: backport upstream patch to fix build on ppc, bug #589688
Package-Manager: portage-2.3.0
Diffstat (limited to 'media-libs/kvazaar/files')
-rw-r--r--media-libs/kvazaar/files/ppc.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/media-libs/kvazaar/files/ppc.patch b/media-libs/kvazaar/files/ppc.patch
new file mode 100644
index 000000000000..9ee9f70e49f1
--- /dev/null
+++ b/media-libs/kvazaar/files/ppc.patch
@@ -0,0 +1,19 @@
+commit 99e37ec23532a247b9e306ef87e9879385c625d8
+Author: Ari Lemmetti <ari.lemmetti@gmail.com>
+Date: Sat Jan 30 19:33:09 2016 +0200
+
+ Update old pixel type to the current one
+
+diff --git a/src/strategies/altivec/picture-altivec.c b/src/strategies/altivec/picture-altivec.c
+index 7c9d1fb..28e86e8 100644
+--- a/src/strategies/altivec/picture-altivec.c
++++ b/src/strategies/altivec/picture-altivec.c
+@@ -28,7 +28,7 @@
+ #include <stdlib.h>
+
+
+-static unsigned reg_sad_altivec(const pixel * const data1, const pixel * const data2,
++static unsigned reg_sad_altivec(const kvz_pixel * const data1, const kvz_pixel * const data2,
+ const int width, const int height, const unsigned stride1, const unsigned stride2)
+ {
+ vector unsigned int vsad = {0,0,0,0}, vzero = {0,0,0,0};