aboutsummaryrefslogtreecommitdiff
path: root/libs/libsoxr/patches
diff options
context:
space:
mode:
authorTed Hess <thess@kitschensync.net>2018-03-07 13:32:43 -0500
committerTed Hess <thess@kitschensync.net>2018-03-07 13:33:59 -0500
commit00de391b66d6e56c7310fa882fc81b82ec20d0a4 (patch)
treef6ebf573e742ecfe33be11665cb5cf9f2beab3b2 /libs/libsoxr/patches
parentac5b0f1996db8236d35157b2125724e69a899f82 (diff)
libsoxr: Build cleanup.
Remove automatic inclusion of avutil if ffmpeg libraries present in build. Signed-off-by: Ted Hess <thess@kitschensync.net>
Diffstat (limited to 'libs/libsoxr/patches')
-rw-r--r--libs/libsoxr/patches/010-Remove_automatic_avutil_inclusion.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/libs/libsoxr/patches/010-Remove_automatic_avutil_inclusion.patch b/libs/libsoxr/patches/010-Remove_automatic_avutil_inclusion.patch
new file mode 100644
index 000000000..db66a149c
--- /dev/null
+++ b/libs/libsoxr/patches/010-Remove_automatic_avutil_inclusion.patch
@@ -0,0 +1,11 @@
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -134,7 +134,7 @@ if (WITH_AVFFT)
+ endif ()
+ endif ()
+
+-if (WITH_AVFFT OR (CMAKE_SYSTEM_PROCESSOR MATCHES "^arm" AND SIMD32_FOUND AND WITH_CR32))
++if (WITH_AVFFT)
+ find_package (LibAVUtil)
+ if (AVUTIL_FOUND)
+ include_directories (${AVUTIL_INCLUDE_DIRS})