summaryrefslogtreecommitdiff
path: root/audio/libsndfile/patches/patch-af
diff options
context:
space:
mode:
authorjmmv <jmmv>2004-04-02 09:37:56 +0000
committerjmmv <jmmv>2004-04-02 09:37:56 +0000
commit89d20c3ea14fe902c75ea2a5c0a96b728cfd461d (patch)
tree4bf538c1748cf99429b197d9e226cde78bc04ff9 /audio/libsndfile/patches/patch-af
parent1fd80683854aa5f242eba8c671e6583fb3f08a81 (diff)
downloadpkgsrc-89d20c3ea14fe902c75ea2a5c0a96b728cfd461d.tar.gz
Fix build under NetBSD 1.6 (gcc2).
Diffstat (limited to 'audio/libsndfile/patches/patch-af')
-rw-r--r--audio/libsndfile/patches/patch-af13
1 files changed, 13 insertions, 0 deletions
diff --git a/audio/libsndfile/patches/patch-af b/audio/libsndfile/patches/patch-af
new file mode 100644
index 00000000000..888f67413cd
--- /dev/null
+++ b/audio/libsndfile/patches/patch-af
@@ -0,0 +1,13 @@
+$NetBSD: patch-af,v 1.1 2004/04/02 09:37:56 jmmv Exp $
+
+--- src/ms_adpcm.c.orig 2004-03-03 09:23:12.000000000 +0100
++++ src/ms_adpcm.c
+@@ -43,7 +43,7 @@ typedef struct
+ sf_count_t samplecount ;
+ short *samples ;
+ unsigned char *block ;
+- unsigned short dummydata [] ; /* ISO C99 struct hack */
++ unsigned short *dummydata ; /* ISO C99 struct hack */
+ } MSADPCM_PRIVATE ;
+
+ /*============================================================================================