summaryrefslogtreecommitdiff
path: root/comms
diff options
context:
space:
mode:
authorjnemeth <jnemeth@pkgsrc.org>2011-09-01 09:22:30 +0000
committerjnemeth <jnemeth@pkgsrc.org>2011-09-01 09:22:30 +0000
commitbb963cae7608448f49a314d9f2d17f072ea7fc1b (patch)
tree917e5d2a136b681a773485b332eedace6c14b48c /comms
parent1bc4ce478995d0953e37c5992b8c6a8fd9238b2b (diff)
downloadpkgsrc-bb963cae7608448f49a314d9f2d17f072ea7fc1b.tar.gz
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.
Diffstat (limited to 'comms')
-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..3477b90bfbe 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.2 2011/09/01 09:22:30 jnemeth 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..b0f50850e18
--- /dev/null
+++ b/comms/spandsp/patches/patch-src_gsm0610__rpe.c
@@ -0,0 +1,13 @@
+$NetBSD: patch-src_gsm0610__rpe.c,v 1.1 2011/09/01 09:22:30 jnemeth 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"