[packages/mediastreamer-plugin-mswebrtc] - added link patch (fix missing linking with libpthread)
qboosh
qboosh at pld-linux.org
Sun Jul 18 09:28:57 CEST 2021
commit 24f86a8580e038e5fc6d755b6a3e3997464b8d3f
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sun Jul 18 09:32:10 2021 +0200
- added link patch (fix missing linking with libpthread)
mediastreamer-plugin-mswebrtc-link.patch | 12 ++++++++++++
mediastreamer-plugin-mswebrtc.spec | 6 +++++-
2 files changed, 17 insertions(+), 1 deletion(-)
---
diff --git a/mediastreamer-plugin-mswebrtc.spec b/mediastreamer-plugin-mswebrtc.spec
index 8000748..d7843c2 100644
--- a/mediastreamer-plugin-mswebrtc.spec
+++ b/mediastreamer-plugin-mswebrtc.spec
@@ -6,9 +6,12 @@ Version: 1.1.1
Release: 2
License: GPL v2
Group: Libraries
-Source0: https://linphone.org/releases/sources/plugins/mswebrtc/mswebrtc-%{version}.tar.gz
+#Source0Download: https://gitlab.linphone.org/BC/public/mswebrtc/-/tags
+#Source0: https://gitlab.linphone.org/BC/public/mswebrtc/-/archive/%{version}/mswebrtc-%{version}.tar.bz2
+Source0: https://linphone.org/releases/old/sources/plugins/mswebrtc/mswebrtc-%{version}.tar.gz
# Source0-md5: 9f70eb5e5448dc8eaaaf72be13fe740c
Patch0: %{name}-make.patch
+Patch1: %{name}-link.patch
URL: https://gitlab.linphone.org/BC/public/mswebrtc
BuildRequires: autoconf >= 2.63
BuildRequires: automake
@@ -29,6 +32,7 @@ iSAC, AECM...).
%prep
%setup -q -n mswebrtc-%{version}
%patch0 -p1
+%patch1 -p1
%build
%{__libtoolize}
diff --git a/mediastreamer-plugin-mswebrtc-link.patch b/mediastreamer-plugin-mswebrtc-link.patch
new file mode 100644
index 0000000..2e7323c
--- /dev/null
+++ b/mediastreamer-plugin-mswebrtc-link.patch
@@ -0,0 +1,12 @@
+--- mswebrtc-1.1.1/Makefile.am.orig 2021-07-18 09:16:19.619909300 +0200
++++ mswebrtc-1.1.1/Makefile.am 2021-07-18 09:21:24.214925834 +0200
+@@ -227,7 +227,8 @@ endif
+
+ libmswebrtc_la_LIBADD= \
+ $(ORTP_LIBS) \
+- $(MEDIASTREAMER_LIBS)
++ $(MEDIASTREAMER_LIBS) \
++ -lpthread
+
+ libmswebrtc_la_LDFLAGS=-module -no-undefined
+
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/mediastreamer-plugin-mswebrtc.git/commitdiff/24f86a8580e038e5fc6d755b6a3e3997464b8d3f
More information about the pld-cvs-commit
mailing list