summaryrefslogtreecommitdiff
path: root/sci-libs/libdspau/files
diff options
context:
space:
mode:
Diffstat (limited to 'sci-libs/libdspau/files')
-rw-r--r--sci-libs/libdspau/files/libdspau-1.6.2_fix_cmake_libdir.patch9
-rw-r--r--sci-libs/libdspau/files/libdspau-9999_fix_cmake_libdir.patch10
2 files changed, 9 insertions, 10 deletions
diff --git a/sci-libs/libdspau/files/libdspau-1.6.2_fix_cmake_libdir.patch b/sci-libs/libdspau/files/libdspau-1.6.2_fix_cmake_libdir.patch
new file mode 100644
index 0000000..e3233c5
--- /dev/null
+++ b/sci-libs/libdspau/files/libdspau-1.6.2_fix_cmake_libdir.patch
@@ -0,0 +1,9 @@
+diff -urN indi-1.6.2/3rdparty/libdspau/CMakeLists.txt indi-1.6.2.new/3rdparty/libdspau/CMakeLists.txt
+--- indi-1.6.2/3rdparty/libdspau/CMakeLists.txt 2018-01-08 14:45:25.000000000 +0100
++++ indi-1.6.2.new/3rdparty/libdspau/CMakeLists.txt 2018-01-31 19:44:34.890982701 +0100
+@@ -35,4 +35,4 @@
+ #add an install target here
+ INSTALL(FILES libdspau.h DESTINATION include)
+
+-INSTALL(TARGETS dspau LIBRARY DESTINATION lib)
++INSTALL(TARGETS dspau LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR})
diff --git a/sci-libs/libdspau/files/libdspau-9999_fix_cmake_libdir.patch b/sci-libs/libdspau/files/libdspau-9999_fix_cmake_libdir.patch
deleted file mode 100644
index b821e14..0000000
--- a/sci-libs/libdspau/files/libdspau-9999_fix_cmake_libdir.patch
+++ /dev/null
@@ -1,10 +0,0 @@
-diff --git a/3rdparty/libdspau/CMakeLists.txt b/3rdparty/libdspau/CMakeLists.txt
-index f994466f..71507e2a 100644
---- a/3rdparty/libdspau/CMakeLists.txt
-+++ b/3rdparty/libdspau/CMakeLists.txt
-@@ -35,4 +35,4 @@ TARGET_LINK_LIBRARIES(dspau ${FFTW3_LIBRARIES} ${M_LIB})
- #add an install target here
- INSTALL(FILES libdspau.h DESTINATION include)
-
--INSTALL(TARGETS dspau LIBRARY DESTINATION lib)
-+INSTALL(TARGETS dspau LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR})