* [gentoo-commits] repo/gentoo:master commit in: net-libs/libupnp/files/
@ 2017-02-13 20:28 Mike Frysinger
0 siblings, 0 replies; 5+ messages in thread
From: Mike Frysinger @ 2017-02-13 20:28 UTC (permalink / raw
To: gentoo-commits
commit: 180385176a0d090749aa60a607082f0620716fb5
Author: Mike Frysinger <vapier <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 13 20:26:46 2017 +0000
Commit: Mike Frysinger <vapier <AT> gentoo <DOT> org>
CommitDate: Mon Feb 13 20:27:32 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=18038517
net-libs/libupnp: drop unused patches
net-libs/libupnp/files/CVE-2016-6255.patch | 65 -----------
net-libs/libupnp/files/libupnp-1.6.18-suse.patch | 132 -----------------------
net-libs/libupnp/files/libupnp-1.6.19-suse.patch | 132 -----------------------
3 files changed, 329 deletions(-)
diff --git a/net-libs/libupnp/files/CVE-2016-6255.patch b/net-libs/libupnp/files/CVE-2016-6255.patch
deleted file mode 100644
index 1448ab3081..0000000000
--- a/net-libs/libupnp/files/CVE-2016-6255.patch
+++ /dev/null
@@ -1,65 +0,0 @@
-From be0a01bdb83395d9f3a5ea09c1308a4f1a972cbd Mon Sep 17 00:00:00 2001
-From: Matthew Garrett <mjg59@srcf.ucam.org>
-Date: Tue, 23 Feb 2016 13:53:20 -0800
-Subject: [PATCH] Don't allow unhandled POSTs to write to the filesystem by
- default
-
-If there's no registered handler for a POST request, the default behaviour
-is to write it to the filesystem. Several million deployed devices appear
-to have this behaviour, making it possible to (at least) store arbitrary
-data on them. Add a configure option that enables this behaviour, and change
-the default to just drop POSTs that aren't directly handled.
----
- configure.ac | 4 ++++
- upnp/inc/upnpconfig.h.in | 5 +++++
- upnp/src/genlib/net/http/webserver.c | 4 ++++
- 3 files changed, 13 insertions(+)
-
-diff --git a/configure.ac b/configure.ac
-index dd88734..ea2bc09 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -482,6 +482,10 @@ if test "x$enable_scriptsupport" = xyes ; then
- AC_DEFINE(IXML_HAVE_SCRIPTSUPPORT, 1, [see upnpconfig.h])
- fi
-
-+RT_BOOL_ARG_ENABLE([postwrite], [no], [write to the filesystem on otherwise unhandled POST requests])
-+if test "x$enable_postwrite" = xyes ; then
-+ AC_DEFINE(UPNP_ENABLE_POST_WRITE, 1, [see upnpconfig.h])
-+fi
-
- RT_BOOL_ARG_ENABLE([samples], [yes], [compilation of upnp/sample/ code])
-
-diff --git a/upnp/inc/upnpconfig.h.in b/upnp/inc/upnpconfig.h.in
-index 46ddc6e..5df8c5a 100644
---- a/upnp/inc/upnpconfig.h.in
-+++ b/upnp/inc/upnpconfig.h.in
-@@ -135,5 +135,10 @@
- * (i.e. configure --enable-open_ssl) */
- #undef UPNP_ENABLE_OPEN_SSL
-
-+/** Defined to 1 if the library has been compiled to support filesystem writes on POST
-+ * (i.e. configure --enable-postwrite) */
-+#undef UPNP_ENABLE_POST_WRITE
-+
-+
- #endif /* UPNP_CONFIG_H */
-
-diff --git a/upnp/src/genlib/net/http/webserver.c b/upnp/src/genlib/net/http/webserver.c
-index 8991c16..8b2ecf2 100644
---- a/upnp/src/genlib/net/http/webserver.c
-+++ b/upnp/src/genlib/net/http/webserver.c
-@@ -1369,9 +1369,13 @@ static int http_RecvPostMessage(
- if (Fp == NULL)
- return HTTP_INTERNAL_SERVER_ERROR;
- } else {
-+#ifdef UPNP_ENABLE_POST_WRITE
- Fp = fopen(filename, "wb");
- if (Fp == NULL)
- return HTTP_UNAUTHORIZED;
-+#else
-+ return HTTP_NOT_FOUND;
-+#endif
- }
- parser->position = POS_ENTITY;
- do {
diff --git a/net-libs/libupnp/files/libupnp-1.6.18-suse.patch b/net-libs/libupnp/files/libupnp-1.6.18-suse.patch
deleted file mode 100644
index 2e91990c02..0000000000
--- a/net-libs/libupnp/files/libupnp-1.6.18-suse.patch
+++ /dev/null
@@ -1,132 +0,0 @@
---- configure.ac 2013-01-29 16:39:56.000000000 +0100
-+++ configure.ac 2013-02-17 10:40:53.680021913 +0100
-@@ -7,9 +7,9 @@
- # (C) Copyright 2005-2007 Rémi Turboult <r3mi@users.sourceforge.net>
- #
-
--AC_PREREQ(2.60)
-+AC_PREREQ([2.60])
-
--AC_INIT([libupnp], [1.6.18], [mroberto@users.sourceforge.net])
-+AC_INIT([libupnp],[1.6.18],[mroberto@users.sourceforge.net])
- dnl ############################################################################
- dnl # *Independently* of the above libupnp package version, the libtool version
- dnl # of the 3 libraries need to be updated whenever there is a change released:
-@@ -366,7 +366,6 @@
- # installed libraries.
- #
- AC_CONFIG_HEADERS([autoconfig.h upnp/inc/upnpconfig.h])
--#AC_SYS_LARGEFILE_SENSITIVE
-
- AC_REVISION([$Revision: 1.1 $])
-
-@@ -506,9 +505,12 @@
- #
- # Checks for programs
- #
--AC_PROG_CC
-+AC_PROG_CC_STDC
-+AC_USE_SYSTEM_EXTENSIONS
-+AC_SYS_LARGEFILE
- AM_PROG_CC_C_O
--AC_PROG_LIBTOOL
-+m4_ifdef([AM_PROG_AR], [AM_PROG_AR])
-+LT_INIT
- AC_PROG_INSTALL
- AC_PROG_MAKE_SET
- AC_PROG_EGREP
-@@ -532,9 +534,7 @@
- #:
- # Use -O0 in debug so that variables do not get optimized out
- AX_CFLAGS_GCC_OPTION([-O0, -g])
-- else
-- # add optimise for size
-- AX_CFLAGS_GCC_OPTION([-Os])
-+
- fi
- ;;
- esac
-@@ -548,8 +548,7 @@
- #
- AC_TYPE_SIZE_T
- AC_TYPE_OFF_T
--AC_DEFINE([_LARGE_FILE_SOURCE], [], [Large files support])
--AC_DEFINE([_FILE_OFFSET_BITS], [64], [File Offset size])
-+
-
-
- #
---- ixml/Makefile.am.orig
-+++ ixml/Makefile.am
-@@ -7,7 +7,7 @@
-
- SUBDIRS = doc
-
--AM_CPPFLAGS = -I$(srcdir)/inc -I$(srcdir)/src/inc
-+AM_CPPFLAGS = -include $(top_builddir)/autoconfig.h -I$(srcdir)/inc -I$(srcdir)/src/inc
- AM_CFLAGS =
-
- LDADD = libixml.la
---- threadutil/Makefile.am.orig
-+++ threadutil/Makefile.am
-@@ -4,7 +4,7 @@
- # (C) Copyright 2005 Remi Turboult <r3mi@users.sourceforge.net>
- #
-
--AM_CPPFLAGS = -I$(srcdir)/inc -I$(srcdir)/src/inc
-+AM_CPPFLAGS = -include $(top_builddir)/autoconfig.h -I$(srcdir)/inc -I$(srcdir)/src/inc
-
- if ENABLE_DEBUG
- AM_CPPFLAGS += -DDEBUG -DSTATS
---- upnp/src/api/UpnpString.c.orig
-+++ upnp/src/api/UpnpString.c
-@@ -28,38 +28,6 @@
- /* Other systems have strncasecmp */
- #endif
-
--#ifndef UPNP_USE_MSVCPP
-- /* VC has strnlen which is already included but with (potentially) different linkage */
-- /* strnlen() is a GNU extension. */
-- #if HAVE_STRNLEN
-- extern size_t strnlen(const char *s, size_t maxlen);
-- #else /* HAVE_STRNLEN */
-- static size_t strnlen(const char *s, size_t n)
-- {
-- const char *p = (const char *)memchr(s, 0, n);
-- return p ? p - s : n;
-- }
-- #endif /* HAVE_STRNLEN */
--#endif /* WIN32 */
--
--/* strndup() is a GNU extension. */
--#if HAVE_STRNDUP && !defined(WIN32)
-- extern char *strndup(__const char *__string, size_t __n);
--#else /* HAVE_STRNDUP && !defined(WIN32) */
-- static char *strndup(const char *__string, size_t __n)
-- {
-- size_t strsize = strnlen(__string, __n);
-- char *newstr = (char *)malloc(strsize + 1);
-- if (newstr == NULL)
-- return NULL;
--
-- strncpy(newstr, __string, strsize);
-- newstr[strsize] = 0;
--
-- return newstr;
-- }
--#endif /* HAVE_STRNDUP && !defined(WIN32) */
--
- /*!
- * \brief Internal implementation of the class UpnpString.
- *
---- upnp/Makefile.am.orig
-+++ upnp/Makefile.am
-@@ -6,7 +6,7 @@
-
- SUBDIRS = doc . sample
-
--AM_CPPFLAGS = \
-+AM_CPPFLAGS = -include $(top_builddir)/autoconfig.h \
- -I$(srcdir)/inc \
- -I$(top_srcdir)/threadutil/inc \
- -I$(top_srcdir)/ixml/inc
diff --git a/net-libs/libupnp/files/libupnp-1.6.19-suse.patch b/net-libs/libupnp/files/libupnp-1.6.19-suse.patch
deleted file mode 100644
index 75a7f0dac7..0000000000
--- a/net-libs/libupnp/files/libupnp-1.6.19-suse.patch
+++ /dev/null
@@ -1,132 +0,0 @@
---- configure.ac 2013-01-29 16:39:56.000000000 +0100
-+++ configure.ac 2013-02-17 10:40:53.680021913 +0100
-@@ -7,9 +7,9 @@
- # (C) Copyright 2005-2007 Rémi Turboult <r3mi@users.sourceforge.net>
- #
-
--AC_PREREQ(2.60)
-+AC_PREREQ([2.60])
-
--AC_INIT([libupnp], [1.6.19], [mroberto@users.sourceforge.net])
-+AC_INIT([libupnp],[1.6.19],[mroberto@users.sourceforge.net])
- dnl ############################################################################
- dnl # *Independently* of the above libupnp package version, the libtool version
- dnl # of the 3 libraries need to be updated whenever there is a change released:
-@@ -366,7 +366,6 @@
- # installed libraries.
- #
- AC_CONFIG_HEADERS([autoconfig.h upnp/inc/upnpconfig.h])
--#AC_SYS_LARGEFILE_SENSITIVE
-
- AC_REVISION([$Revision: 1.1 $])
-
-@@ -519,10 +519,12 @@
- #
- # Checks for programs
- #
--AC_PROG_CC
-+AC_PROG_CC_STDC
-+AC_USE_SYSTEM_EXTENSIONS
-+AC_SYS_LARGEFILE
- AM_PROG_CC_C_O
- m4_ifdef([AM_PROG_AR], [AM_PROG_AR])
--AC_PROG_LIBTOOL
-+LT_INIT
- AC_PROG_INSTALL
- AC_PROG_MAKE_SET
- AC_PROG_EGREP
-@@ -532,9 +534,7 @@
- #:
- # Use -O0 in debug so that variables do not get optimized out
- AX_CFLAGS_GCC_OPTION([-O0, -g])
-- else
-- # add optimise for size
-- AX_CFLAGS_GCC_OPTION([-Os])
-+
- fi
- ;;
- esac
-@@ -548,8 +548,7 @@
- #
- AC_TYPE_SIZE_T
- AC_TYPE_OFF_T
--AC_DEFINE([_LARGE_FILE_SOURCE], [], [Large files support])
--AC_DEFINE([_FILE_OFFSET_BITS], [64], [File Offset size])
-+
-
-
- #
---- ixml/Makefile.am.orig
-+++ ixml/Makefile.am
-@@ -7,7 +7,7 @@
-
- SUBDIRS = doc
-
--AM_CPPFLAGS = -I$(srcdir)/inc -I$(srcdir)/src/inc
-+AM_CPPFLAGS = -include $(top_builddir)/autoconfig.h -I$(srcdir)/inc -I$(srcdir)/src/inc
- AM_CFLAGS =
-
- LDADD = libixml.la
---- threadutil/Makefile.am.orig
-+++ threadutil/Makefile.am
-@@ -4,7 +4,7 @@
- # (C) Copyright 2005 Remi Turboult <r3mi@users.sourceforge.net>
- #
-
--AM_CPPFLAGS = -I$(srcdir)/inc -I$(srcdir)/src/inc
-+AM_CPPFLAGS = -include $(top_builddir)/autoconfig.h -I$(srcdir)/inc -I$(srcdir)/src/inc
-
- if ENABLE_DEBUG
- AM_CPPFLAGS += -DDEBUG -DSTATS
---- upnp/src/api/UpnpString.c.orig
-+++ upnp/src/api/UpnpString.c
-@@ -28,38 +28,6 @@
- /* Other systems have strncasecmp */
- #endif
-
--#ifndef UPNP_USE_MSVCPP
-- /* VC has strnlen which is already included but with (potentially) different linkage */
-- /* strnlen() is a GNU extension. */
-- #if HAVE_STRNLEN
-- extern size_t strnlen(const char *s, size_t maxlen);
-- #else /* HAVE_STRNLEN */
-- static size_t strnlen(const char *s, size_t n)
-- {
-- const char *p = (const char *)memchr(s, 0, n);
-- return p ? p - s : n;
-- }
-- #endif /* HAVE_STRNLEN */
--#endif /* WIN32 */
--
--/* strndup() is a GNU extension. */
--#if HAVE_STRNDUP && !defined(WIN32)
-- extern char *strndup(__const char *__string, size_t __n);
--#else /* HAVE_STRNDUP && !defined(WIN32) */
-- static char *strndup(const char *__string, size_t __n)
-- {
-- size_t strsize = strnlen(__string, __n);
-- char *newstr = (char *)malloc(strsize + 1);
-- if (newstr == NULL)
-- return NULL;
--
-- strncpy(newstr, __string, strsize);
-- newstr[strsize] = 0;
--
-- return newstr;
-- }
--#endif /* HAVE_STRNDUP && !defined(WIN32) */
--
- /*!
- * \brief Internal implementation of the class UpnpString.
- *
---- upnp/Makefile.am.orig
-+++ upnp/Makefile.am
-@@ -6,7 +6,7 @@
-
- SUBDIRS = doc . sample
-
--AM_CPPFLAGS = \
-+AM_CPPFLAGS = -include $(top_builddir)/autoconfig.h \
- -I$(srcdir)/inc \
- -I$(top_srcdir)/threadutil/inc \
- -I$(top_srcdir)/ixml/inc
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-libs/libupnp/files/
@ 2017-12-06 11:59 Michael Palimaka
0 siblings, 0 replies; 5+ messages in thread
From: Michael Palimaka @ 2017-12-06 11:59 UTC (permalink / raw
To: gentoo-commits
commit: 2c04860bf9d510e6006b3bc76087503374f45743
Author: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com>
AuthorDate: Tue Dec 5 17:32:28 2017 +0000
Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Wed Dec 6 11:59:48 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c04860b
net-libs/libupnp: remove unused patch
Closes: https://github.com/gentoo/gentoo/pull/6454
net-libs/libupnp/files/libupnp-1.8.0-docs-install.patch | 13 -------------
1 file changed, 13 deletions(-)
diff --git a/net-libs/libupnp/files/libupnp-1.8.0-docs-install.patch b/net-libs/libupnp/files/libupnp-1.8.0-docs-install.patch
deleted file mode 100644
index f0fbd04fc35..00000000000
--- a/net-libs/libupnp/files/libupnp-1.8.0-docs-install.patch
+++ /dev/null
@@ -1,13 +0,0 @@
---- libupnp-1.6.19/upnp/sample/Makefile.am.orig 2013-11-15 19:50:02.000000000 +0400
-+++ libupnp-1.6.19/upnp/sample/Makefile.am 2016-06-03 20:30:43.545081667 +0300
-@@ -65,8 +65,8 @@
- if WITH_DOCUMENTATION
- examplesdir = $(docdir)/examples
- examples_DATA = \
-- $(tv_ctrlpt_1_8_SOURCES) \
-- $(tv_device_1_8_SOURCES)
-+ $(sort $(tv_ctrlpt_1_8_SOURCES) \
-+ $(tv_device_1_8_SOURCES) )
- endif
-
- EXTRA_DIST = \
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-libs/libupnp/files/
@ 2020-06-19 22:48 Conrad Kostecki
0 siblings, 0 replies; 5+ messages in thread
From: Conrad Kostecki @ 2020-06-19 22:48 UTC (permalink / raw
To: gentoo-commits
commit: b45a880f836a37d72b6ca0d7f3eb4fcf0e8ec2ac
Author: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com>
AuthorDate: Thu Jun 18 18:22:56 2020 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Fri Jun 19 22:48:09 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b45a880f
net-libs/libupnp: remove unused patch
Closes: https://github.com/gentoo/gentoo/pull/16314
Package-Manager: Portage-2.3.100, Repoman-2.3.22
Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail.com>
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
.../libupnp/files/libupnp-1.12.0-cxx-compat.patch | 33 ----------------------
1 file changed, 33 deletions(-)
diff --git a/net-libs/libupnp/files/libupnp-1.12.0-cxx-compat.patch b/net-libs/libupnp/files/libupnp-1.12.0-cxx-compat.patch
deleted file mode 100644
index cbb844952be..00000000000
--- a/net-libs/libupnp/files/libupnp-1.12.0-cxx-compat.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-From 5a8e93f1a57cce5cead5c8c566a75f7c7c294c97 Mon Sep 17 00:00:00 2001
-From: Ian Whyman <v00d00@v00d00.net>
-Date: Mon, 27 Jan 2020 21:46:47 +0000
-Subject: [PATCH] List: Add extern C for C++ users
-
----
- upnp/inc/list.h | 8 ++++++++
- 1 file changed, 8 insertions(+)
-
-diff --git a/upnp/inc/list.h b/upnp/inc/list.h
-index 214a53e5..0fbe7efc 100644
---- a/upnp/inc/list.h
-+++ b/upnp/inc/list.h
-@@ -40,6 +40,10 @@
-
- #include "UpnpGlobal.h"
-
-+#ifdef __cplusplus
-+extern "C" {
-+#endif /* __cplusplus */
-+
- /** List anchor structure. This should be the *first* entry in list
- * member objects, except if you want to do member offset arithmetic
- * instead of simple casts (look up "containerof"). The list code itself
-@@ -71,4 +75,8 @@ EXPORT_SPEC UpnpListIter UpnpListInsert(UpnpListHead *list, UpnpListIter pos,
- /** Erase element at pos, return next one, or end()*/
- EXPORT_SPEC UpnpListIter UpnpListErase(UpnpListHead *list, UpnpListIter pos);
-
-+#ifdef __cplusplus
-+}
-+#endif /* __cplusplus */
-+
- #endif /* _UPNPLISTH_ */
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-libs/libupnp/files/
@ 2021-03-20 16:11 Conrad Kostecki
0 siblings, 0 replies; 5+ messages in thread
From: Conrad Kostecki @ 2021-03-20 16:11 UTC (permalink / raw
To: gentoo-commits
commit: 8edee7a32f9989594582e7a6a5571c98e3c4cfbf
Author: Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at>
AuthorDate: Thu Mar 18 19:18:42 2021 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Sat Mar 20 16:11:27 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8edee7a3
net-libs/libupnp: remove unused patch(es)
Closes: https://github.com/gentoo/gentoo/pull/19992
Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at>
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
.../files/libupnp-1.6.19-docs-install.patch | 13 ----------
net-libs/libupnp/files/libupnp-1.6.21-cflags.patch | 30 ----------------------
2 files changed, 43 deletions(-)
diff --git a/net-libs/libupnp/files/libupnp-1.6.19-docs-install.patch b/net-libs/libupnp/files/libupnp-1.6.19-docs-install.patch
deleted file mode 100644
index 622f58a9003..00000000000
--- a/net-libs/libupnp/files/libupnp-1.6.19-docs-install.patch
+++ /dev/null
@@ -1,13 +0,0 @@
---- libupnp-1.6.19/upnp/sample/Makefile.am.orig 2013-11-15 19:50:02.000000000 +0400
-+++ libupnp-1.6.19/upnp/sample/Makefile.am 2016-06-03 20:30:43.545081667 +0300
-@@ -65,8 +65,8 @@
- if WITH_DOCUMENTATION
- examplesdir = $(docdir)/examples
- examples_DATA = \
-- $(tv_ctrlpt_SOURCES) \
-- $(tv_device_SOURCES)
-+ $(sort $(tv_ctrlpt_SOURCES) \
-+ $(tv_device_SOURCES) )
- endif
-
- EXTRA_DIST = \
diff --git a/net-libs/libupnp/files/libupnp-1.6.21-cflags.patch b/net-libs/libupnp/files/libupnp-1.6.21-cflags.patch
deleted file mode 100644
index 3eaf66e8041..00000000000
--- a/net-libs/libupnp/files/libupnp-1.6.21-cflags.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-don't append flags like -O0/-Os which clobber the user's settings
-
---- a/configure.ac
-+++ b/configure.ac
-@@ -539,25 +539,6 @@ AC_PROG_EGREP
- echo "--------------------- Default compilation flags -------------------------------"
- echo host is $host
- echo host_os is $host_os
--case $host_os in
--freebsd*)
-- echo "Using FreeBSD specific compiler settings"
-- # Put FreeBSD specific compiler flags here
-- ;;
--*)
-- echo "Using non-specific system compiler settings"
-- if test x"$enable_debug" = xyes; then
-- # AC_PROG_CC already sets CFLAGS to "-g -O2" by default,
-- # but only if CFLAGS was not previously set.
-- #:
-- # Use -O0 in debug so that variables do not get optimized out
-- AX_CFLAGS_GCC_OPTION([-O0, -g])
-- else
-- # add optimise for size
-- AX_CFLAGS_GCC_OPTION([-Os])
-- fi
-- ;;
--esac
-
- AX_CFLAGS_WARN_ALL
- echo "-------------------------------------------------------------------------------"
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-libs/libupnp/files/
@ 2022-02-11 17:29 Conrad Kostecki
0 siblings, 0 replies; 5+ messages in thread
From: Conrad Kostecki @ 2022-02-11 17:29 UTC (permalink / raw
To: gentoo-commits
commit: 11a779dd9fc9b2c7b0a06bb29a4f29a7c72d897d
Author: Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at>
AuthorDate: Fri Feb 11 15:51:39 2022 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Fri Feb 11 17:28:40 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=11a779dd
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 <AT> levelnine.at>
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
.../libupnp/files/libupnp-1.14.7-glibc-2.34.patch | 32 ----------------------
1 file changed, 32 deletions(-)
diff --git a/net-libs/libupnp/files/libupnp-1.14.7-glibc-2.34.patch b/net-libs/libupnp/files/libupnp-1.14.7-glibc-2.34.patch
deleted file mode 100644
index dbcfd5e2cc20..000000000000
--- a/net-libs/libupnp/files/libupnp-1.14.7-glibc-2.34.patch
+++ /dev/null
@@ -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
- *
^ permalink raw reply related [flat|nested] 5+ messages in thread
end of thread, other threads:[~2022-02-11 17:29 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-06-19 22:48 [gentoo-commits] repo/gentoo:master commit in: net-libs/libupnp/files/ Conrad Kostecki
-- strict thread matches above, loose matches on Subject: below --
2022-02-11 17:29 Conrad Kostecki
2021-03-20 16:11 Conrad Kostecki
2017-12-06 11:59 Michael Palimaka
2017-02-13 20:28 Mike Frysinger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox