From a995c19f903874ccb8e04e3401e41367c4a120eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carl=20F=C3=BCrstenberg?= Date: Fri, 9 Jan 2015 20:20:10 +0100 Subject: [PATCH] Adding patch for libobs-opengl --- .../0003-add-SOVERSION-to-libobs-opengl.patch | 26 +++++++++++++++++++ debian/patches/series | 1 + 2 files changed, 27 insertions(+) create mode 100644 debian/patches/0003-add-SOVERSION-to-libobs-opengl.patch diff --git a/debian/patches/0003-add-SOVERSION-to-libobs-opengl.patch b/debian/patches/0003-add-SOVERSION-to-libobs-opengl.patch new file mode 100644 index 0000000..c4d7d3f --- /dev/null +++ b/debian/patches/0003-add-SOVERSION-to-libobs-opengl.patch @@ -0,0 +1,26 @@ +From: =?utf-8?q?Carl_F=C3=BCrstenberg?= +Date: Fri, 9 Jan 2015 20:19:22 +0100 +Subject: add SOVERSION to libobs-opengl + +a public shared library should have a proper SONAME +--- + libobs-opengl/CMakeLists.txt | 6 ++++-- + 1 file changed, 4 insertions(+), 2 deletions(-) + +diff --git a/libobs-opengl/CMakeLists.txt b/libobs-opengl/CMakeLists.txt +index 9dea564..63be3e4 100644 +--- a/libobs-opengl/CMakeLists.txt ++++ b/libobs-opengl/CMakeLists.txt +@@ -73,8 +73,10 @@ add_library(libobs-opengl MODULE + ${libobs-opengl_HEADERS}) + set_target_properties(libobs-opengl + PROPERTIES +- OUTPUT_NAME libobs-opengl +- PREFIX "") ++ OUTPUT_NAME obs-opengl ++ VERSION "0" ++ SOVERSION "0" ++ ) + target_link_libraries(libobs-opengl + libobs + glad diff --git a/debian/patches/series b/debian/patches/series index 74e3f9a..429f60e 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1,2 +1,3 @@ 0001-Use-common-license.patch 0002-use-multiarch-compatible-plugin-lib-path.patch +0003-add-SOVERSION-to-libobs-opengl.patch