miniupnpc/miniupnpc-kernelversion.patch
Dirk Mueller 36f2545ff2 Accepting request 1166002 from home:amanzini:branches:devel:libraries:c_c++
- update to 2.2.6:
  * includes charset="utf-8" in Content-Type
  * fix memory allocation error in minissdpc.c
  * Make User-Agent compliant.
  * add new binary listdevices => upnp-listdevices
- added %check section to run unit tests

OBS-URL: https://build.opensuse.org/request/show/1166002
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/miniupnpc?expand=0&rev=46
2024-04-11 12:03:52 +00:00

16 lines
484 B
Diff

Index: miniupnpc-2.2.6/updateminiupnpcstrings.sh
===================================================================
--- miniupnpc-2.2.6.orig/updateminiupnpcstrings.sh
+++ miniupnpc-2.2.6/updateminiupnpcstrings.sh
@@ -19,8 +19,8 @@ if [ ! -f "$TMPFILE" ] ; then
fi
# detecting the OS name and version
-OS_NAME=`uname -s`
-OS_VERSION=`uname -r`
+OS_NAME=openSUSE
+OS_VERSION=Distribution
if [ -f /etc/debian_version ]; then
OS_NAME=Debian
OS_VERSION=`cat /etc/debian_version`