diff options
author | rillig <rillig@pkgsrc.org> | 2006-04-26 07:41:17 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2006-04-26 07:41:17 +0000 |
commit | 26b7cc49754245e98dbdb30e1000a59332b401b5 (patch) | |
tree | 59911e8017066531f695fb4b8e1b835ab5fe49af /audio | |
parent | 4f20999125a3385265c026dc2f00cb87338f1233 (diff) | |
download | pkgsrc-26b7cc49754245e98dbdb30e1000a59332b401b5.tar.gz |
Added a patch to support SunPro.
Diffstat (limited to 'audio')
-rw-r--r-- | audio/sox/distinfo | 3 | ||||
-rw-r--r-- | audio/sox/patches/patch-ab | 23 |
2 files changed, 25 insertions, 1 deletions
diff --git a/audio/sox/distinfo b/audio/sox/distinfo index 2e9a95b5eac..ae7e17c0d96 100644 --- a/audio/sox/distinfo +++ b/audio/sox/distinfo @@ -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 --git a/audio/sox/patches/patch-ab b/audio/sox/patches/patch-ab new file mode 100644 index 00000000000..836b582a881 --- /dev/null +++ b/audio/sox/patches/patch-ab @@ -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 */ |