aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2023-08-17 05:38:04 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2023-08-17 05:38:04 +0000
commitf6a15156b78084c6a1157900410c808ed228133f (patch)
tree33962dc49f3e518f42b6535006cf67eaf5b19bde
parent219d517c10a165d4775af09d14fe9f850bb24863 (diff)
downloadports-f6a15156b78084c6a1157900410c808ed228133f.tar.gz
ports-f6a15156b78084c6a1157900410c808ed228133f.zip
-rw-r--r--audio/noise-suppression-for-voice-lv2/files/patch-src_common_CMakeLists.txt15
1 files changed, 15 insertions, 0 deletions
diff --git a/audio/noise-suppression-for-voice-lv2/files/patch-src_common_CMakeLists.txt b/audio/noise-suppression-for-voice-lv2/files/patch-src_common_CMakeLists.txt
new file mode 100644
index 000000000000..79042b6a7a1a
--- /dev/null
+++ b/audio/noise-suppression-for-voice-lv2/files/patch-src_common_CMakeLists.txt
@@ -0,0 +1,15 @@
+- fix build on platforms where sanitizer isn't available: armv7, aarch64, ...
+
+--- src/common/CMakeLists.txt.orig 2023-08-17 05:30:38 UTC
++++ src/common/CMakeLists.txt
+@@ -33,8 +33,8 @@ if (BUILD_TESTS)
+ $<BUILD_INTERFACE:${CMAKE_SOURCE_DIR}/external/catch2>
+ $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>)
+ target_link_libraries(common_plugin_tests PRIVATE ${LIBRARIES})
+- target_compile_options(common_plugin_tests PRIVATE -fsanitize=undefined)
+- target_link_options(common_plugin_tests PRIVATE -fsanitize=undefined)
++ #target_compile_options(common_plugin_tests PRIVATE -fsanitize=undefined)
++ #target_link_options(common_plugin_tests PRIVATE -fsanitize=undefined)
+
+ include(CTest)
+ include(Catch)