diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-06-29 12:04:12 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-06-29 12:04:12 +0100 |
commit | 0f558761aa2dee1017b4751e4017205e015a9560 (patch) | |
tree | 037df795519468a25d9362b4e95cdaeb84eb1cf9 /net-libs/miniupnpc/files | |
parent | 752d6256e5204b958b0ef7905675a940b5e9172f (diff) |
gentoo resync : 29.12.2022
Diffstat (limited to 'net-libs/miniupnpc/files')
-rw-r--r-- | net-libs/miniupnpc/files/miniupnpc-2.2.3-drop-which.patch | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/net-libs/miniupnpc/files/miniupnpc-2.2.3-drop-which.patch b/net-libs/miniupnpc/files/miniupnpc-2.2.3-drop-which.patch new file mode 100644 index 000000000000..fc578e5e6147 --- /dev/null +++ b/net-libs/miniupnpc/files/miniupnpc-2.2.3-drop-which.patch @@ -0,0 +1,38 @@ +Not upstream b/c already done in 2.3.0: +https://github.com/miniupnp/miniupnp/commit/c88178650e2551226a88cbc87084014781f81184 +https://github.com/miniupnp/miniupnp/commit/d2f558f659da923144f591be418380a7ff8a8677 +--- a/Makefile ++++ b/Makefile +@@ -15,7 +15,7 @@ VERSION = $(shell cat VERSION) + + ifneq (, $(findstring darwin, $(OS))) + JARSUFFIX=mac +-LIBTOOL ?= $(shell which libtool) ++LIBTOOL ?= $(shell command -v libtool) + endif + ifneq (, $(findstring linux, $(OS))) + JARSUFFIX=linux +--- a/testminiwget.sh ++++ b/testminiwget.sh +@@ -24,8 +24,8 @@ EXPECTEDFILE="${TMPD}/expectedfile" + DOWNLOADEDFILE="${TMPD}/downloadedfile" + PORT= + RET=0 +-IPCONFIG=$(which ifconfig) +-IP=$(which ip) ++IPCONFIG=$(command -v ifconfig) ++IP=$(command -v ip) + if [ "$IP" ] ; then + if ! $IP addr | grep inet6 ; then + HAVE_IPV6=no +--- a/updateminiupnpcstrings.sh ++++ b/updateminiupnpcstrings.sh +@@ -26,7 +26,7 @@ if [ -f /etc/debian_version ]; then + OS_VERSION=`cat /etc/debian_version` + fi + # use lsb_release (Linux Standard Base) when available +-LSB_RELEASE=`which lsb_release` ++LSB_RELEASE=`command -v lsb_release` + if [ 0 -eq $? -a -x "${LSB_RELEASE}" ]; then + OS_NAME=`${LSB_RELEASE} -i -s` + OS_VERSION=`${LSB_RELEASE} -r -s` |