summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortron <tron>2011-09-02 10:32:07 +0000
committertron <tron>2011-09-02 10:32:07 +0000
commit411f16e7570fd3d1078dc0747989640fa8e81457 (patch)
treeceeafb106a123ffd20b5ac2304508009a6eb2f97
parentd15ec503d9beb96fdc42381a99cb3ca92a2dc7d5 (diff)
downloadpkgsrc-411f16e7570fd3d1078dc0747989640fa8e81457.tar.gz
Pullup ticket #3517 - requested by jnemeth
comms/spandsp: build fix Revisions pulled up: - comms/spandsp/distinfo 1.2 - comms/spandsp/patches/patch-src_gsm0610__rpe.c 1.1 --- Module Name: pkgsrc Committed By: jnemeth Date: Thu Sep 1 09:22:30 UTC 2011 Modified Files: pkgsrc/comms/spandsp: distinfo Added Files: pkgsrc/comms/spandsp/patches: patch-src_gsm0610__rpe.c Log Message: Add a patch for PR/44766. The issue was that older versions of gas require you to use movd (instead of movq) when transferring data between reg32/64 and an mmx register. No PKGREVISION bump since it failed to compile on amd64 meaning there was no binary package.
-rw-r--r--comms/spandsp/distinfo3
-rw-r--r--comms/spandsp/patches/patch-src_gsm0610__rpe.c13
2 files changed, 15 insertions, 1 deletions
diff --git a/comms/spandsp/distinfo b/comms/spandsp/distinfo
index 1470dc94df3..2419df6d646 100644
--- a/comms/spandsp/distinfo
+++ b/comms/spandsp/distinfo
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.1.1.1 2011/02/06 08:32:06 jnemeth Exp $
+$NetBSD: distinfo,v 1.1.1.1.4.1 2011/09/02 10:32:07 tron Exp $
SHA1 (spandsp-0.0.6pre18.tgz) = 66d85049ad3942471e0ef5e9d9312c4d0a9dd4f8
RMD160 (spandsp-0.0.6pre18.tgz) = cfbce55ab6fae0b6e433af00f020930f9d0bd300
Size (spandsp-0.0.6pre18.tgz) = 3241122 bytes
SHA1 (patch-aa) = 808f65446ad04343096d7a25aeec0b26047833db
SHA1 (patch-ab) = 547058f6a9983a0b61ce674bac712c1ed8767900
+SHA1 (patch-src_gsm0610__rpe.c) = c35359c79940923e6cb0667df101410c179acc96
diff --git a/comms/spandsp/patches/patch-src_gsm0610__rpe.c b/comms/spandsp/patches/patch-src_gsm0610__rpe.c
new file mode 100644
index 00000000000..0ef79313463
--- /dev/null
+++ b/comms/spandsp/patches/patch-src_gsm0610__rpe.c
@@ -0,0 +1,13 @@
+$NetBSD: patch-src_gsm0610__rpe.c,v 1.1.2.2 2011/09/02 10:32:07 tron Exp $
+
+--- src/gsm0610_rpe.c.orig 2010-07-24 16:28:34.000000000 +0000
++++ src/gsm0610_rpe.c
+@@ -82,7 +82,7 @@ static void weighting_filter(int16_t x[4
+ " movq 8(%%rax),%%mm2;\n"
+ " movq 16(%%rax),%%mm3;\n"
+ " movq $0x1000,%%rax;\n"
+- " movq %%rax,%%mm5;\n" /* For rounding */
++ " movd %%rax,%%mm5;\n" /* For rounding */
+ " xorq %%rsi,%%rsi;\n"
+ " .p2align 2;\n"
+ "1:\n"