summaryrefslogtreecommitdiffstats
path: root/audio/cmt/fix_sine.diff
diff options
context:
space:
mode:
author B. Watson <yalhcru@gmail.com>2011-07-04 10:56:41 -0300
committer Niels Horn <niels.horn@slackbuilds.org>2011-07-04 10:56:41 -0300
commitb935c77f30255e9387e2227a30929a26a31f35a0 (patch)
tree6e76ee2e5e449bbd3889da7cee3fdb9ccbb672be /audio/cmt/fix_sine.diff
parent2bcc79b2d7bdeb474a8a3cc8ee19beda1852dbbf (diff)
downloadslackbuilds-b935c77f30255e9387e2227a30929a26a31f35a0.tar.gz
slackbuilds-b935c77f30255e9387e2227a30929a26a31f35a0.tar.xz
audio/cmt: Added patch to avoid double-free aborts.
Diffstat (limited to 'audio/cmt/fix_sine.diff')
-rw-r--r--audio/cmt/fix_sine.diff14
1 files changed, 14 insertions, 0 deletions
diff --git a/audio/cmt/fix_sine.diff b/audio/cmt/fix_sine.diff
new file mode 100644
index 0000000000..441f9fc9b7
--- /dev/null
+++ b/audio/cmt/fix_sine.diff
@@ -0,0 +1,14 @@
+diff -Naur cmt/src/sine.cpp cmt.patched//src/sine.cpp
+--- cmt/src/sine.cpp 2002-08-07 17:42:41.000000000 -0400
++++ cmt.patched//src/sine.cpp 2011-06-21 12:07:36.000000000 -0400
+@@ -36,8 +36,8 @@
+
+ /*****************************************************************************/
+
+-LADSPA_Data * g_pfSineTable = NULL;
+-LADSPA_Data g_fPhaseStepBase = 0;
++static LADSPA_Data * g_pfSineTable = NULL;
++static LADSPA_Data g_fPhaseStepBase = 0;
+
+ /*****************************************************************************/
+