lede-packages-rs

git clone git://archive.git.mtrnord.blog/MTRNord/lede-packages-rs.git
Log | Files | Refs | README | LICENSE

commit 5325329b53abc5709b36db6c89e2a2960088db3e
parent f0cb183834280eb9c2ba5ec5e594a2e77be23605
Author: Jo-Philipp Wich <jow@openwrt.org>
Date:   Wed, 24 Jun 2015 13:50:57 +0200

Merge pull request #1407 from jow-/wifidog-musl-compat

wifidog: fix musl compatibility
Diffstat:
Mnet/wifidog/Makefile | 2+-
Anet/wifidog/patches/100-musl-compat.patch | 47+++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 48 insertions(+), 1 deletion(-)

diff --git a/net/wifidog/Makefile b/net/wifidog/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=wifidog PKG_VERSION:=1.2.1 -PKG_RELEASE=1 +PKG_RELEASE=2 PKG_LICENSE:=GPL-2.0 diff --git a/net/wifidog/patches/100-musl-compat.patch b/net/wifidog/patches/100-musl-compat.patch @@ -0,0 +1,47 @@ +--- a/libhttpd/protocol.c ++++ b/libhttpd/protocol.c +@@ -28,6 +28,7 @@ + + #if defined(_WIN32) + #else ++#include <fcntl.h> + #include <unistd.h> + #include <sys/file.h> + #endif +--- a/src/firewall.c ++++ b/src/firewall.c +@@ -35,7 +35,6 @@ + #include <pthread.h> + #include <sys/wait.h> + #include <sys/types.h> +-#include <sys/unistd.h> + + #include <string.h> + +--- a/src/client_list.c ++++ b/src/client_list.c +@@ -31,9 +31,9 @@ + #include <syslog.h> + #include <errno.h> + #include <pthread.h> ++#include <unistd.h> + #include <sys/wait.h> + #include <sys/types.h> +-#include <sys/unistd.h> + + #include <string.h> + +--- a/src/util.c ++++ b/src/util.c +@@ -33,10 +33,10 @@ + #include <syslog.h> + #include <errno.h> + #include <pthread.h> ++#include <unistd.h> + #include <sys/wait.h> + #include <sys/types.h> + #include <sys/time.h> +-#include <sys/unistd.h> + #include <netinet/in.h> + #include <sys/ioctl.h> + #include <arpa/inet.h>