summaryrefslogtreecommitdiff
path: root/media/libsoundtouch/mcp-disableexceptions.patch
diff options
context:
space:
mode:
Diffstat (limited to 'media/libsoundtouch/mcp-disableexceptions.patch')
-rw-r--r--media/libsoundtouch/mcp-disableexceptions.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/media/libsoundtouch/mcp-disableexceptions.patch b/media/libsoundtouch/mcp-disableexceptions.patch
new file mode 100644
index 0000000000..c92d11a86c
--- /dev/null
+++ b/media/libsoundtouch/mcp-disableexceptions.patch
@@ -0,0 +1,13 @@
+diff -u /src/STTypes.h /src/STTypes.h
+--- /src/STTypes.h
++++ /src/STTypes.h
+@@ -174,7 +174,7 @@
+ }
+
+ // define ST_NO_EXCEPTION_HANDLING switch to disable throwing std exceptions:
+-// #define ST_NO_EXCEPTION_HANDLING 1
++#define ST_NO_EXCEPTION_HANDLING 1
+ #ifdef ST_NO_EXCEPTION_HANDLING
+ // Exceptions disabled. Throw asserts instead if enabled.
+ #include <assert.h>
+