mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 06:48:18 -07:00
net-libs/libupnp: remove unused patch
Closes: https://github.com/gentoo/gentoo/pull/24161 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at> Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
This commit is contained in:
committed by
Conrad Kostecki
parent
563d27f218
commit
11a779dd9f
@@ -1,32 +0,0 @@
|
||||
--- a/upnp/inc/ithread.h
|
||||
+++ b/upnp/inc/ithread.h
|
||||
@@ -304,12 +304,8 @@
|
||||
* Returns EINVAL if the kind is not supported.
|
||||
* See man page for pthread_mutexattr_setkind_np
|
||||
*****************************************************************************/
|
||||
-#if defined(PTHREAD_MUTEX_RECURSIVE) || defined(__DragonFly__)
|
||||
- #define ithread_mutexattr_setkind_np pthread_mutexattr_settype
|
||||
-#else
|
||||
- #define ithread_mutexattr_setkind_np pthread_mutexattr_setkind_np
|
||||
-#endif /* UPNP_USE_RWLOCK */
|
||||
-
|
||||
+#define ithread_mutexattr_setkind_np pthread_mutexattr_settype
|
||||
+#define ithread_mutexattr_settype pthread_mutexattr_settype
|
||||
/****************************************************************************
|
||||
* Function: ithread_mutexattr_getkind_np
|
||||
*
|
||||
@@ -329,12 +325,8 @@
|
||||
* Always returns 0.
|
||||
* See man page for pthread_mutexattr_getkind_np
|
||||
*****************************************************************************/
|
||||
-#if defined(PTHREAD_MUTEX_RECURSIVE) || defined(__DragonFly__)
|
||||
- #define ithread_mutexattr_getkind_np pthread_mutexattr_gettype
|
||||
-#else
|
||||
- #define ithread_mutexattr_getkind_np pthread_mutexattr_getkind_np
|
||||
-#endif /* UPNP_USE_RWLOCK */
|
||||
-
|
||||
+#define ithread_mutexattr_getkind_np pthread_mutexattr_gettype
|
||||
+#define ithread_mutexattr_gettype pthread_mutexattr_gettype
|
||||
/****************************************************************************
|
||||
* Function: ithread_mutex_init
|
||||
*
|
||||
Reference in New Issue
Block a user