summaryrefslogtreecommitdiff
path: root/extra/libsrt
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-05-04 23:52:30 +0100
committerdavidovski <david@davidovski.xyz>2022-05-04 23:52:30 +0100
commit739c65c54cb0e957df5e9b76f93fb02554e5cac3 (patch)
tree09ddfa0a342f3ea9de136cb50abdd79821bf1b53 /extra/libsrt
parent4c585ad54388285500fd18a6aaa516894e0f2c16 (diff)
moved everything to new file formatting
Diffstat (limited to 'extra/libsrt')
-rw-r--r--extra/libsrt/fix-cmake.patch39
1 files changed, 0 insertions, 39 deletions
diff --git a/extra/libsrt/fix-cmake.patch b/extra/libsrt/fix-cmake.patch
deleted file mode 100644
index 6193da2..0000000
--- a/extra/libsrt/fix-cmake.patch
+++ /dev/null
@@ -1,39 +0,0 @@
-Upstream: Should be, and they should fix it
-Reason: Fixes a few issues
-
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index ed6e603..5f899c1 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -34,14 +34,8 @@ set_if(GNU ${CMAKE_SYSTEM_NAME} MATCHES "GNU")
- set_if(POSIX LINUX OR DARWIN OR BSD OR (CYGWIN AND CYGWIN_USE_POSIX))
- set_if(SYMLINKABLE LINUX OR DARWIN OR BSD OR CYGWIN OR GNU)
-
--# Not sure what to do in case of compiling by MSVC.
--# This will make installdir in C:\Program Files\SRT then
--# inside "bin" and "lib64" directories. At least this maintains
--# the current status. Shall this be not desired, override values
--# of CMAKE_INSTALL_BINDIR, CMAKE_INSTALL_LIBDIR and CMAKE_INSTALL_INCLUDEDIR.
--if (NOT DEFINED CMAKE_INSTALL_LIBDIR)
-- include(GNUInstallDirs)
--endif()
-+
-+include(GNUInstallDirs)
-
- set (SRT_VERSION 1.4.2)
- set_version_variables(SRT_VERSION ${SRT_VERSION})
-@@ -59,14 +53,6 @@ endif()
- # Set CMAKE_BUILD_TYPE properly, now that you know
- # that ENABLE_DEBUG is set as it should.
-
--if (ENABLE_DEBUG EQUAL 2)
-- set (CMAKE_BUILD_TYPE "RelWithDebInfo")
--elseif (ENABLE_DEBUG) # 1, ON, YES, TRUE, Y, or any other non-zero number
-- set (CMAKE_BUILD_TYPE "Debug")
--else()
-- set (CMAKE_BUILD_TYPE "Release")
--endif()
--
- message(STATUS "BUILD TYPE: ${CMAKE_BUILD_TYPE}")
-
- getVarsWith(ENFORCE_ enforcers)