summaryrefslogtreecommitdiff
path: root/audio/sox/patches/patch-ac
diff options
context:
space:
mode:
Diffstat (limited to 'audio/sox/patches/patch-ac')
-rw-r--r--audio/sox/patches/patch-ac11
1 files changed, 11 insertions, 0 deletions
diff --git a/audio/sox/patches/patch-ac b/audio/sox/patches/patch-ac
new file mode 100644
index 00000000000..3cbfe90b75f
--- /dev/null
+++ b/audio/sox/patches/patch-ac
@@ -0,0 +1,11 @@
+--- au.c.orig Wed Aug 3 22:13:29 1994
++++ au.c Thu Apr 24 13:37:59 1997
+@@ -299,6 +299,8 @@
+ wblong(ft, magic);
+
+ /* hdr_size = SUN_HDRSIZE; /* + strlen(ft->comment); */
++ if (ft->comment == NULL)
++ ft->comment = "";
+ hdr_size = SUN_HDRSIZE + strlen(ft->comment);
+ wblong(ft, hdr_size);
+