From 649d8f696bd7a2824c8211ce4766573f47c76dc9 Mon Sep 17 00:00:00 2001 From: DENG Qingfang Date: Thu, 8 Aug 2019 14:11:14 +0800 Subject: [PATCH] miniupnpc: update to 2.1.20190625 Signed-off-by: DENG Qingfang --- net/miniupnpc/Makefile | 6 +++--- net/miniupnpc/patches/100-no-fPIC.patch | 2 +- .../300-add-listdevices-to-cmake.patch | 21 ------------------- 3 files changed, 4 insertions(+), 25 deletions(-) delete mode 100644 net/miniupnpc/patches/300-add-listdevices-to-cmake.patch diff --git a/net/miniupnpc/Makefile b/net/miniupnpc/Makefile index 7e7fddab5..7ad1a284b 100644 --- a/net/miniupnpc/Makefile +++ b/net/miniupnpc/Makefile @@ -8,12 +8,12 @@ include $(TOPDIR)/rules.mk PKG_NAME:=miniupnpc -PKG_VERSION:=2.1.20190408 -PKG_RELEASE:=2 +PKG_VERSION:=2.1.20190625 +PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://miniupnp.tuxfamily.org/files -PKG_HASH:=a0c46bcf6065d6351a8fa6a0a18dc57d10a16908dbb470908fd2e423511514ec +PKG_HASH:=8723f5d7fd7970de23635547700878cd29a5c2bb708b5e5475b2d1d2510317fb PKG_MAINTAINER:=Steven Barth PKG_LICENSE:=BSD-3c diff --git a/net/miniupnpc/patches/100-no-fPIC.patch b/net/miniupnpc/patches/100-no-fPIC.patch index 1e8b96487..ce4c6752c 100644 --- a/net/miniupnpc/patches/100-no-fPIC.patch +++ b/net/miniupnpc/patches/100-no-fPIC.patch @@ -1,6 +1,6 @@ --- a/CMakeLists.txt +++ b/CMakeLists.txt -@@ -38,12 +38,6 @@ if (CMAKE_SYSTEM_NAME STREQUAL "Darwin") +@@ -39,12 +39,6 @@ if (CMAKE_SYSTEM_NAME STREQUAL "Darwin") target_compile_definitions(miniupnpc-private INTERFACE _DARWIN_C_SOURCE) endif () diff --git a/net/miniupnpc/patches/300-add-listdevices-to-cmake.patch b/net/miniupnpc/patches/300-add-listdevices-to-cmake.patch deleted file mode 100644 index e8d790058..000000000 --- a/net/miniupnpc/patches/300-add-listdevices-to-cmake.patch +++ /dev/null @@ -1,21 +0,0 @@ ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -66,6 +66,7 @@ set (MINIUPNPC_SOURCES - connecthostport.c - portlistingparse.c - receivedata.c -+ listdevices.c - connecthostport.h - igd_desc_parse.h - minisoap.h -@@ -142,6 +143,10 @@ if (UPNPC_BUILD_SHARED) - add_executable (upnpc-shared upnpc.c) - target_link_libraries (upnpc-shared PRIVATE libminiupnpc-shared) - target_include_directories(upnpc-shared PRIVATE ${CMAKE_CURRENT_BINARY_DIR}) -+ -+ add_executable (listdevices listdevices.c) -+ target_link_libraries (listdevices PRIVATE libminiupnpc-shared) -+ target_include_directories(listdevices PRIVATE ${CMAKE_CURRENT_BINARY_DIR}) - endif () - endif () -