pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/multimedia/x264-devel add a patch from upstream git to...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f68a44de61aa
branches:  trunk
changeset: 394028:f68a44de61aa
user:      drochner <drochner%pkgsrc.org@localhost>
date:      Wed Jun 03 09:08:31 2009 +0000

description:
add a patch from upstream git to fix build error on ppc reported
by Erik Bertelsen

diffstat:

 multimedia/x264-devel/distinfo         |   3 ++-
 multimedia/x264-devel/patches/patch-ao |  22 ++++++++++++++++++++++
 2 files changed, 24 insertions(+), 1 deletions(-)

diffs (40 lines):

diff -r 9cbeacd5c596 -r f68a44de61aa multimedia/x264-devel/distinfo
--- a/multimedia/x264-devel/distinfo    Wed Jun 03 08:49:31 2009 +0000
+++ b/multimedia/x264-devel/distinfo    Wed Jun 03 09:08:31 2009 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.17 2009/05/25 20:56:38 drochner Exp $
+$NetBSD: distinfo,v 1.18 2009/06/03 09:08:31 drochner Exp $
 
 SHA1 (x264-snapshot-20090326-2245.tar.bz2) = 4d28a02db4586986162368c18e607ca3b10b3453
 RMD160 (x264-snapshot-20090326-2245.tar.bz2) = fc6581a33970f012c660489eb2ae48f8ac9c151d
@@ -9,3 +9,4 @@
 SHA1 (patch-ak) = d8362f3beadcc5cc19684a12b3794d542f502f14
 SHA1 (patch-am) = 07418547d05fd6c6e1703725a4cc5f1ddc36dca1
 SHA1 (patch-an) = 69e2a8f6167fd2410c69e4df3e3a071c8c0c835f
+SHA1 (patch-ao) = 27866ab362625c090d40fbea423c24852cdd3598
diff -r 9cbeacd5c596 -r f68a44de61aa multimedia/x264-devel/patches/patch-ao
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/x264-devel/patches/patch-ao    Wed Jun 03 09:08:31 2009 +0000
@@ -0,0 +1,22 @@
+$NetBSD: patch-ao,v 1.1 2009/06/03 09:08:31 drochner Exp $
+
+--- common/ppc/pixel.c.orig    2009-03-26 22:45:08.000000000 +0100
++++ common/ppc/pixel.c
+@@ -1905,7 +1905,7 @@ static uint64_t pixel_hadamard_ac_altive
+     vec_u16_t addabs67 = vec_add( VEC_ABSOLUTE(pix16_d6), VEC_ABSOLUTE(pix16_d7) );
+ 
+     vec_u16_t sum4_v = vec_add(vec_add(addabs01, addabs23), vec_add(addabs45, addabs67));
+-    vec_ste(vec_sums(vec_sum4s(sum4_v, zero_s32v), zero_s32v), 12, sum4_tab);
++    vec_ste(vec_sums(vec_sum4s((vec_s16_t)sum4_v, zero_s32v), zero_s32v), 12, sum4_tab);
+ 
+     vec_s16_t tmpi0 = vec_add(pix16_d0, pix16_d4);
+     vec_s16_t tmpi4 = vec_sub(pix16_d0, pix16_d4);
+@@ -1933,7 +1933,7 @@ static uint64_t pixel_hadamard_ac_altive
+                                   VEC_ABSOLUTE( vec_sub(pix16_d3, pix16_d7) ) );
+ 
+     vec_u16_t sum8_v = vec_add( vec_add(addsum04, addsum15), vec_add(addsum26, addsum37) );
+-    vec_ste(vec_sums( vec_sum4s(sum8_v, zero_s32v), zero_s32v), 12, sum8_tab);
++    vec_ste(vec_sums(vec_sum4s((vec_s16_t)sum8_v, zero_s32v), zero_s32v), 12, sum8_tab);
+ 
+     int sum8 = sum8_tab[3];
+ 



Home | Main Index | Thread Index | Old Index