summaryrefslogtreecommitdiff
path: root/audio/sox/patches/patch-ab
diff options
context:
space:
mode:
Diffstat (limited to 'audio/sox/patches/patch-ab')
-rw-r--r--audio/sox/patches/patch-ab33
1 files changed, 11 insertions, 22 deletions
diff --git a/audio/sox/patches/patch-ab b/audio/sox/patches/patch-ab
index 836b582a881..c9fd9805b7e 100644
--- a/audio/sox/patches/patch-ab
+++ b/audio/sox/patches/patch-ab
@@ -1,23 +1,12 @@
-$NetBSD: patch-ab,v 1.10 2006/04/26 07:41:17 rillig Exp $
+$NetBSD: patch-ab,v 1.11 2007/02/22 23:23:04 wiz 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 */
+--- src/Makefile.in.orig 2007-02-11 19:49:58.000000000 +0000
++++ src/Makefile.in
+@@ -164,6 +164,7 @@ PACKAGE_VERSION = @PACKAGE_VERSION@
+ PATH_SEPARATOR = @PATH_SEPARATOR@
+ PKG_CONFIG = @PKG_CONFIG@
+ RANLIB = @RANLIB@
++RM = rm -f
+ SAMPLERATE_CFLAGS = @SAMPLERATE_CFLAGS@
+ SAMPLERATE_LIBS = @SAMPLERATE_LIBS@
+ SED = @SED@