summaryrefslogtreecommitdiffstats
path: root/meta-multimedia
diff options
context:
space:
mode:
authoralperak <alperyasinak1@gmail.com>2023-11-12 11:17:48 +0300
committerKhem Raj <raj.khem@gmail.com>2023-11-12 12:18:47 -0800
commit6908f7fcb825b896fcea102ae75dab2a6122b42a (patch)
treeb71d42c041828537cb97729a91a7cf70919b16cd /meta-multimedia
parent99579c5906a99ae948a077262510d3af06b3e465 (diff)
downloadmeta-openembedded-6908f7fcb825b896fcea102ae75dab2a6122b42a.tar.gz
libupnp: upgrade 1.14.6 -> 1.14.18
Changelog: github.com/pupnp/pupnp/blob/branch-1.14.x/ChangeLog Signed-off-by: alperak <alperyasinak1@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-multimedia')
-rw-r--r--meta-multimedia/recipes-connectivity/libupnp/libupnp/0001-ithread-Use-pthread_mutexattr_gettype-pthread_mutexa.patch42
-rw-r--r--meta-multimedia/recipes-connectivity/libupnp/libupnp_1.14.18.bb (renamed from meta-multimedia/recipes-connectivity/libupnp/libupnp_1.14.6.bb)3
2 files changed, 1 insertions, 44 deletions
diff --git a/meta-multimedia/recipes-connectivity/libupnp/libupnp/0001-ithread-Use-pthread_mutexattr_gettype-pthread_mutexa.patch b/meta-multimedia/recipes-connectivity/libupnp/libupnp/0001-ithread-Use-pthread_mutexattr_gettype-pthread_mutexa.patch
deleted file mode 100644
index ee7819677..000000000
--- a/meta-multimedia/recipes-connectivity/libupnp/libupnp/0001-ithread-Use-pthread_mutexattr_gettype-pthread_mutexa.patch
+++ /dev/null
@@ -1,42 +0,0 @@
1From 343a3b724225d3c87af0b268da14d3acb7a5b9a1 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Sun, 9 May 2021 15:38:43 -0700
4Subject: [PATCH] ithread: Use
5 pthread_mutexattr_gettype/pthread_mutexattr_settype on linux
6
7_np variants are not recommended anymore, and glibc 2.34+ will have
8these removed
9
10Upstream-Status: Pending
11Signed-off-by: Khem Raj <raj.khem@gmail.com>
12---
13 upnp/inc/ithread.h | 6 ++++--
14 1 file changed, 4 insertions(+), 2 deletions(-)
15
16diff --git a/upnp/inc/ithread.h b/upnp/inc/ithread.h
17index f6800ea9..1d0f9dba 100644
18--- a/upnp/inc/ithread.h
19+++ b/upnp/inc/ithread.h
20@@ -304,7 +304,8 @@ static UPNP_INLINE int ithread_cleanup_thread(void)
21 * Returns EINVAL if the kind is not supported.
22 * See man page for pthread_mutexattr_setkind_np
23 *****************************************************************************/
24-#if defined(PTHREAD_MUTEX_RECURSIVE) || defined(__DragonFly__)
25+#if defined(PTHREAD_MUTEX_RECURSIVE) || defined(__DragonFly__) \
26+ || defined (__linux__)
27 #define ithread_mutexattr_setkind_np pthread_mutexattr_settype
28 #else
29 #define ithread_mutexattr_setkind_np pthread_mutexattr_setkind_np
30@@ -329,7 +330,8 @@ static UPNP_INLINE int ithread_cleanup_thread(void)
31 * Always returns 0.
32 * See man page for pthread_mutexattr_getkind_np
33 *****************************************************************************/
34-#if defined(PTHREAD_MUTEX_RECURSIVE) || defined(__DragonFly__)
35+#if defined(PTHREAD_MUTEX_RECURSIVE) || defined(__DragonFly__) \
36+ || defined (__linux__)
37 #define ithread_mutexattr_getkind_np pthread_mutexattr_gettype
38 #else
39 #define ithread_mutexattr_getkind_np pthread_mutexattr_getkind_np
40--
412.31.1
42
diff --git a/meta-multimedia/recipes-connectivity/libupnp/libupnp_1.14.6.bb b/meta-multimedia/recipes-connectivity/libupnp/libupnp_1.14.18.bb
index 81b42da41..5b15d1809 100644
--- a/meta-multimedia/recipes-connectivity/libupnp/libupnp_1.14.6.bb
+++ b/meta-multimedia/recipes-connectivity/libupnp/libupnp_1.14.18.bb
@@ -8,9 +8,8 @@ HOMEPAGE = "http://pupnp.sourceforge.net/"
8LICENSE = "BSD-3-Clause" 8LICENSE = "BSD-3-Clause"
9LIC_FILES_CHKSUM = "file://COPYING;md5=394a0f17b97f33426275571e15920434" 9LIC_FILES_CHKSUM = "file://COPYING;md5=394a0f17b97f33426275571e15920434"
10 10
11SRCREV = "cef2b23fb36baac091b0c7d41136b4c1d9549c6d" 11SRCREV = "c540ce2431bdeac73359029d4592b45790e1d154"
12SRC_URI = "git://github.com/pupnp/pupnp.git;protocol=https;branch=branch-1.14.x \ 12SRC_URI = "git://github.com/pupnp/pupnp.git;protocol=https;branch=branch-1.14.x \
13 file://0001-ithread-Use-pthread_mutexattr_gettype-pthread_mutexa.patch \
14 " 13 "
15 14
16S="${WORKDIR}/git" 15S="${WORKDIR}/git"