aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2009-09-21 17:03:41 +0800
committerpav <pav@FreeBSD.org>2009-09-21 17:03:41 +0800
commite88def4c0c5508631c35aad136132376afe1fe98 (patch)
tree1b0ab312212fe239035ca4823f01b08a38cdb53b /multimedia
parent7cb53e75162f5ef2613bd3e75735c5c69094ff15 (diff)
downloadfreebsd-ports-gnome-e88def4c0c5508631c35aad136132376afe1fe98.tar.gz
freebsd-ports-gnome-e88def4c0c5508631c35aad136132376afe1fe98.tar.zst
freebsd-ports-gnome-e88def4c0c5508631c35aad136132376afe1fe98.zip
- Fix build with new sox
Submitted by: Dan Nelson <dnelson@allantgroup.com> Feature safe: yes
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/mlt/files/patch-filter_sox.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/multimedia/mlt/files/patch-filter_sox.c b/multimedia/mlt/files/patch-filter_sox.c
new file mode 100644
index 000000000000..5d615be3a44c
--- /dev/null
+++ b/multimedia/mlt/files/patch-filter_sox.c
@@ -0,0 +1,14 @@
+The ST_SAMPLE_TO_SIGNED_WORD macro in sox 14.3.0 uses a temporary variable
+that it doesn't declare itself, and requires you to declare it yourself with
+an undocumented macro.
+
+--- src/modules/sox/filter_sox.c 2009-06-30 17:24:23.000000000 -0500
++++ src/modules/sox/filter_sox.c 2009-09-20 19:30:21.230804810 -0500
+@@ -49,6 +49,7 @@
+ # define ST_SSIZE_MIN SOX_SSIZE_MIN
+ # endif
+ # define ST_SAMPLE_TO_SIGNED_WORD(d,clips) SOX_SAMPLE_TO_SIGNED_16BIT(d,clips)
++ SOX_SAMPLE_LOCALS;
+ #else
+ # include <st.h>
+ #endif