summaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2015-01-09 14:33:10 +0000
committerjoerg <joerg@pkgsrc.org>2015-01-09 14:33:10 +0000
commited78ed275d2162b2ab6413c2481f76a4f979f163 (patch)
tree41ada9ed59646a7efcb7d90021417848037799e2 /multimedia
parent1d4f8a79b27326651ba717a770e1a8b8559d28a0 (diff)
downloadpkgsrc-ed78ed275d2162b2ab6413c2481f76a4f979f163.tar.gz
The 'g' constraint allows a memory operand, but assembler dereference on
that again is unsupported. Request a memory operand instead and drop the dereference.
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/xine-lib/distinfo4
-rw-r--r--multimedia/xine-lib/patches/patch-src-post-planar-eq2.c21
2 files changed, 20 insertions, 5 deletions
diff --git a/multimedia/xine-lib/distinfo b/multimedia/xine-lib/distinfo
index e64d529ac9a..20c76648d50 100644
--- a/multimedia/xine-lib/distinfo
+++ b/multimedia/xine-lib/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.98 2014/12/30 13:34:59 wiz Exp $
+$NetBSD: distinfo,v 1.99 2015/01/09 14:33:10 joerg Exp $
SHA1 (xine-lib-1.2.6.tar.xz) = ac929eef2b7bf5c27699bbed612b953a01fccba5
RMD160 (xine-lib-1.2.6.tar.xz) = 05edcd9a36e93d2fc9d1bf13cae3b32d4bd996da
@@ -17,7 +17,7 @@ SHA1 (patch-src-post-mosaico-switch.c) = ff46e13acfbcaf0167943b536b12cb95ec7591d
SHA1 (patch-src-post-planar-boxblur.c) = 191ce5819fce39a247adaefe07e3302870c3d1c3
SHA1 (patch-src-post-planar-denoise3d.c) = e140ff0b7867fd850099ff073f67201b4649dcad
SHA1 (patch-src-post-planar-eq.c) = 2c81fdb839456affa6882577479cea7934121619
-SHA1 (patch-src-post-planar-eq2.c) = 7f33e001294e3933a7aad8ed817b678fa4379924
+SHA1 (patch-src-post-planar-eq2.c) = 98455d83caf02c450aa55a5b7d9662805e4cb41d
SHA1 (patch-src-post-planar-expand.c) = 9d9ec1f5619f9a3d832bcace54d23011371f2067
SHA1 (patch-src-post-planar-noise.c) = 2deabf5d80e2c45959a4f89bbf2528f7e1c9e1f5
SHA1 (patch-src-post-planar-pp.c) = f5bea421785132c5f1422ae9f0d468974fb0ae5d
diff --git a/multimedia/xine-lib/patches/patch-src-post-planar-eq2.c b/multimedia/xine-lib/patches/patch-src-post-planar-eq2.c
index b50c218857e..37e8630eb8a 100644
--- a/multimedia/xine-lib/patches/patch-src-post-planar-eq2.c
+++ b/multimedia/xine-lib/patches/patch-src-post-planar-eq2.c
@@ -1,10 +1,25 @@
-$NetBSD: patch-src-post-planar-eq2.c,v 1.5 2014/12/30 13:34:59 wiz Exp $
+$NetBSD: patch-src-post-planar-eq2.c,v 1.6 2015/01/09 14:33:10 joerg Exp $
https://bugs.xine-project.org/show_bug.cgi?id=524
---- src/post/planar/eq2.c.orig 2012-02-05 19:17:02.000000000 +0000
+--- src/post/planar/eq2.c.orig 2014-06-09 16:08:42.000000000 +0000
+++ src/post/planar/eq2.c
-@@ -288,19 +292,26 @@ typedef struct eq2_parameters_s {
+@@ -125,11 +125,11 @@ void affine_1d_MMX (eq2_param_t *par, un
+ dstep = dstride - w;
+
+ asm volatile (
+- "movq (%0), %%mm3 \n\t"
+- "movq (%1), %%mm4 \n\t"
++ "movq %0, %%mm3 \n\t"
++ "movq %1, %%mm4 \n\t"
+ "pxor %%mm0, %%mm0 \n\t"
+ :
+- : "g" (brvec), "g" (contvec)
++ : "m" (brvec), "m" (contvec)
+ );
+
+ while (h-- > 0) {
+@@ -293,19 +293,26 @@ typedef struct eq2_parameters_s {
* description of params struct
*/
START_PARAM_DESCR( eq2_parameters_t )