update debian patches

This commit is contained in:
Carl Fürstenberg 2015-02-06 15:52:45 +01:00 committed by Sebastian Ramacher
parent 3abadf588c
commit 25f4f74cd6
3 changed files with 0 additions and 50 deletions

View file

@ -1,22 +0,0 @@
From: =?utf-8?q?Carl_F=C3=BCrstenberg?= <azatoth@gmail.com>
Date: Tue, 6 Jan 2015 23:43:30 +0100
Subject: use multiarch compatible plugin lib path
use OBS_PLUGIN_DESTINATION instead of hardcoded path for module_bin
---
libobs/obs-nix.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libobs/obs-nix.c b/libobs/obs-nix.c
index f7f2af3..ea425d5 100644
--- a/libobs/obs-nix.c
+++ b/libobs/obs-nix.c
@@ -38,7 +38,7 @@ const char *get_module_extension(void)
static const char *module_bin[] = {
"../../obs-plugins/" BIT_STRING,
- OBS_INSTALL_PREFIX "lib/obs-plugins",
+ OBS_INSTALL_PREFIX "/" OBS_PLUGIN_DESTINATION
};
static const char *module_data[] = {

View file

@ -1,26 +0,0 @@
From: =?utf-8?q?Carl_F=C3=BCrstenberg?= <azatoth@gmail.com>
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

View file

@ -1,3 +1 @@
0001-Use-common-license.patch
0002-use-multiarch-compatible-plugin-lib-path.patch
0003-add-SOVERSION-to-libobs-opengl.patch