miniupnpd: Fix compilation under glibc 8813/head
authorRosen Penev <rosenp@gmail.com>
Sat, 27 Apr 2019 19:01:45 +0000 (12:01 -0700)
committerRosen Penev <rosenp@gmail.com>
Sat, 27 Apr 2019 19:01:45 +0000 (12:01 -0700)
Signed-off-by: Rosen Penev <rosenp@gmail.com>
net/miniupnpd/Makefile
net/miniupnpd/patches/200-remove-default-cflags.patch

index be7f4343ec26b32cda70e4a67b4bd6f64f19e71d..822a297dab552a797f6b340be98526a7c08f05f6 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=miniupnpd
 PKG_VERSION:=2.1.20190408
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_SOURCE_URL:=https://miniupnp.tuxfamily.org/files
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
index 9efa8bb35d8a9203a5ead9b5542def7d21145e45..8ee8bf9504c072264f349eb20e1acaeb352cd282 100644 (file)
@@ -8,16 +8,13 @@
 -CFLAGS += -fno-common
 -CFLAGS += -fstack-protector -fPIE
 -CFLAGS += -D_FORTIFY_SOURCE=2
--CPPFLAGS += -D_GNU_SOURCE
--CFLAGS += -Wall
--CFLAGS += -Wextra -Wstrict-prototypes -Wdeclaration-after-statement
 +#CFLAGS += -fno-strict-aliasing
 +#CFLAGS += -fno-common
 +#CFLAGS += -fstack-protector -fPIE
 +#CFLAGS += -D_FORTIFY_SOURCE=2
-+#CPPFLAGS += -D_GNU_SOURCE
-+#CFLAGS += -Wall
-+#CFLAGS += -Wextra -Wstrict-prototypes -Wdeclaration-after-statement
+ CPPFLAGS += -D_GNU_SOURCE
+ CFLAGS += -Wall
+ CFLAGS += -Wextra -Wstrict-prototypes -Wdeclaration-after-statement
  #CFLAGS += -Wno-missing-field-initializers
  #CFLAGS += -ansi      # iptables headers does use typeof which is a gcc extension
 -LDFLAGS += -Wl,-z,now -Wl,-z,relro -pie