summaryrefslogtreecommitdiff
path: root/audio/libsndfile/patches
diff options
context:
space:
mode:
Diffstat (limited to 'audio/libsndfile/patches')
-rw-r--r--audio/libsndfile/patches/patch-ab13
-rw-r--r--audio/libsndfile/patches/patch-ae13
-rw-r--r--audio/libsndfile/patches/patch-af13
-rw-r--r--audio/libsndfile/patches/patch-ag13
4 files changed, 52 insertions, 0 deletions
diff --git a/audio/libsndfile/patches/patch-ab b/audio/libsndfile/patches/patch-ab
new file mode 100644
index 00000000000..fdd13738cc0
--- /dev/null
+++ b/audio/libsndfile/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.3 2004/04/02 09:37:56 jmmv Exp $
+
+--- src/common.h.orig 2004-03-09 14:02:41.000000000 +0100
++++ src/common.h
+@@ -117,7 +117,7 @@ typedef struct
+ typedef struct
+ { unsigned int version ; /* version of the PEAK chunk */
+ unsigned int timestamp ; /* secs since 1/1/1970 */
+- PEAK_POS peaks [] ; /* the per channel peak info */
++ PEAK_POS *peaks ; /* the per channel peak info */
+ } PEAK_CHUNK ;
+
+ typedef struct
diff --git a/audio/libsndfile/patches/patch-ae b/audio/libsndfile/patches/patch-ae
new file mode 100644
index 00000000000..7f304e17fa1
--- /dev/null
+++ b/audio/libsndfile/patches/patch-ae
@@ -0,0 +1,13 @@
+$NetBSD: patch-ae,v 1.1 2004/04/02 09:37:56 jmmv Exp $
+
+--- src/ima_adpcm.c.orig 2004-03-03 09:23:12.000000000 +0100
++++ src/ima_adpcm.c
+@@ -36,7 +36,7 @@ typedef struct IMA_ADPCM_PRIVATE_tag
+ int stepindx [2] ;
+ unsigned char *block ;
+ short *samples ;
+- unsigned short data [] ; /* ISO C99 struct hack */
++ unsigned short *data ; /* ISO C99 struct hack */
+ } IMA_ADPCM_PRIVATE ;
+
+ /*============================================================================================
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 ;
+
+ /*============================================================================================
diff --git a/audio/libsndfile/patches/patch-ag b/audio/libsndfile/patches/patch-ag
new file mode 100644
index 00000000000..062f5b74dca
--- /dev/null
+++ b/audio/libsndfile/patches/patch-ag
@@ -0,0 +1,13 @@
+$NetBSD: patch-ag,v 1.1 2004/04/02 09:37:56 jmmv Exp $
+
+--- src/paf.c.orig 2004-03-03 09:23:12.000000000 +0100
++++ src/paf.c
+@@ -64,7 +64,7 @@ typedef struct
+ sf_count_t sample_count ;
+ int *samples ;
+ unsigned char *block ;
+- int data [] ; /* ISO C99 struct hack */
++ int *data ; /* ISO C99 struct hack */
+ } PAF24_PRIVATE ;
+
+ /*------------------------------------------------------------------------------