pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/audio/sox Added a patch to support SunPro.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1a4e602e7106
branches:  trunk
changeset: 511912:1a4e602e7106
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Wed Apr 26 07:41:17 2006 +0000

description:
Added a patch to support SunPro.

diffstat:

 audio/sox/distinfo         |   3 ++-
 audio/sox/patches/patch-ab |  23 +++++++++++++++++++++++
 2 files changed, 25 insertions(+), 1 deletions(-)

diffs (39 lines):

diff -r 3f39f1c08b36 -r 1a4e602e7106 audio/sox/distinfo
--- a/audio/sox/distinfo        Wed Apr 26 07:31:11 2006 +0000
+++ b/audio/sox/distinfo        Wed Apr 26 07:41:17 2006 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.11 2006/04/04 18:19:13 wiz Exp $
+$NetBSD: distinfo,v 1.12 2006/04/26 07:41:17 rillig Exp $
 
 SHA1 (sox-12.17.9.tar.gz) = 1c20f73a38cc5dfe15102df0565c7f2cea7e0bd8
 RMD160 (sox-12.17.9.tar.gz) = 1ba76bf5329daafe75158757b7074f8385788353
 Size (sox-12.17.9.tar.gz) = 468174 bytes
 SHA1 (patch-aa) = a1e3d17b0f674dd55405879337754c16846e5b03
+SHA1 (patch-ab) = 52157b6875ca4ca1b116ae898e26a99652bdb55b
diff -r 3f39f1c08b36 -r 1a4e602e7106 audio/sox/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/sox/patches/patch-ab        Wed Apr 26 07:41:17 2006 +0000
@@ -0,0 +1,23 @@
+$NetBSD: patch-ab,v 1.10 2006/04/26 07:41:17 rillig Exp $
+
+SunPro does not like extern inline functions that reference static
+functions.
+
+--- src/adpcm.c.orig   Tue Nov 23 00:07:37 2004
++++ src/adpcm.c        Wed Apr 26 09:29:21 2006
+@@ -72,6 +72,7 @@ const short iCoef[7][2] = {
+                         { 392,-232}
+ };
+ 
++static
+ inline st_sample_t AdpcmDecode(st_sample_t c, MsState_t *state,
+                                st_sample_t sample1, st_sample_t sample2)
+ {
+@@ -303,6 +304,7 @@ static long ReAvgDelta(int ch, int chans
+ 
+ #endif
+ 
++static
+ inline void AdpcmMashChannel(
+         int ch,             /* channel number to encode, REQUIRE 0 <= ch < chans  */
+         int chans,          /* total channels */



Home | Main Index | Thread Index | Old Index