pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/multimedia/xine-lib Older GCC releases don't like to u...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c4d5eaa59ef6
branches:  trunk
changeset: 646143:c4d5eaa59ef6
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Wed Feb 04 20:50:16 2015 +0000

description:
Older GCC releases don't like to use to pointers to fulfill the "g"
constraint, so use "r".

diffstat:

 multimedia/xine-lib/distinfo                            |   4 ++--
 multimedia/xine-lib/patches/patch-src-post-planar-eq2.c |  14 ++++----------
 2 files changed, 6 insertions(+), 12 deletions(-)

diffs (49 lines):

diff -r 0f8af67ffd10 -r c4d5eaa59ef6 multimedia/xine-lib/distinfo
--- a/multimedia/xine-lib/distinfo      Wed Feb 04 20:49:06 2015 +0000
+++ b/multimedia/xine-lib/distinfo      Wed Feb 04 20:50:16 2015 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.100 2015/01/09 22:59:43 wiz Exp $
+$NetBSD: distinfo,v 1.101 2015/02/04 20:50:16 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-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) = 8b90439bcfacc0b260ad0f4d0a85b70de16b7c06
+SHA1 (patch-src-post-planar-eq2.c) = 3a99bf71d43d17628fd21a261974e7a854eb70aa
 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 -r 0f8af67ffd10 -r c4d5eaa59ef6 multimedia/xine-lib/patches/patch-src-post-planar-eq2.c
--- a/multimedia/xine-lib/patches/patch-src-post-planar-eq2.c   Wed Feb 04 20:49:06 2015 +0000
+++ b/multimedia/xine-lib/patches/patch-src-post-planar-eq2.c   Wed Feb 04 20:50:16 2015 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-src-post-planar-eq2.c,v 1.7 2015/01/09 22:59:43 wiz Exp $
+$NetBSD: patch-src-post-planar-eq2.c,v 1.8 2015/02/04 20:50:16 joerg Exp $
 
 First chunk:
 https://bugs.xine-project.org/show_bug.cgi?id=556
@@ -8,18 +8,12 @@
 
 --- src/post/planar/eq2.c.orig 2014-06-09 16:08:42.000000000 +0000
 +++ src/post/planar/eq2.c
-@@ -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"
+@@ -129,7 +129,7 @@ void affine_1d_MMX (eq2_param_t *par, un
+     "movq (%1), %%mm4 \n\t"
      "pxor %%mm0, %%mm0 \n\t"
      :
 -    : "g" (brvec), "g" (contvec)
-+    : "m" (brvec), "m" (contvec)
++    : "r" (brvec), "r" (contvec)
    );
  
    while (h-- > 0) {



Home | Main Index | Thread Index | Old Index