diff options
author | Olivier Cochard <olivier@FreeBSD.org> | 2021-09-26 09:57:30 +0000 |
---|---|---|
committer | Olivier Cochard <olivier@FreeBSD.org> | 2021-09-26 10:00:45 +0000 |
commit | edecfedd29e45e6fab5198041610b3a9e230ed8b (patch) | |
tree | dceb3a515b7d5f18cdd30c978819b1f05721d280 /www/mohawk/files | |
parent | 611dc06831c89f2164ca6f1fc0b33aff22cc0c7d (diff) | |
download | ports-edecfedd29e45e6fab5198041610b3a9e230ed8b.tar.gz ports-edecfedd29e45e6fab5198041610b3a9e230ed8b.zip |
www/mohawk: Update to 2.0.21
PR: 258713
Reported by: Freddy Dissaux <dsx@bsdsx.fr> (maintainer)
Diffstat (limited to 'www/mohawk/files')
-rw-r--r-- | www/mohawk/files/patch-Makefile.inc | 16 | ||||
-rw-r--r-- | www/mohawk/files/patch-main.c | 29 |
2 files changed, 0 insertions, 45 deletions
diff --git a/www/mohawk/files/patch-Makefile.inc b/www/mohawk/files/patch-Makefile.inc deleted file mode 100644 index 8869e0fabd01..000000000000 --- a/www/mohawk/files/patch-Makefile.inc +++ /dev/null @@ -1,16 +0,0 @@ ---- Makefile.inc.orig 2014-09-15 17:40:01 UTC -+++ Makefile.inc -@@ -16,13 +16,8 @@ OSVERSION!= sysctl -n kern.osreldate - YFLAGS+= -i - CLEANFILES+= parse.i - .endif --.if ${OPSYS} == "DragonFly" --LDFLAGS+= -L${PREFIX}/lib/event2 --LDADD+= -levent-2.0 --.else - LDFLAGS+= -L${PREFIX}/lib - LDADD+= -levent --.endif - - .elif ${OPSYS} == "NetBSD" - PREFIX?= /usr/pkg diff --git a/www/mohawk/files/patch-main.c b/www/mohawk/files/patch-main.c deleted file mode 100644 index 8d3baeb0b747..000000000000 --- a/www/mohawk/files/patch-main.c +++ /dev/null @@ -1,29 +0,0 @@ -main.c:387:2: error: misleading indentation; statement is not part of the previous 'if' [-Werror,-Wmisleading-indentation] - if (network->not) - ^ - ---- main.c.orig 2020-03-22 05:37:24 UTC -+++ main.c -@@ -384,9 +384,7 @@ access_granted_inet(struct addrinfo *ai, struct mohawk - if ((sa->sin_addr.s_addr & network->mask) != network->prefix) - return -1; - -- if (network->not) -- return 0; -- return 1; -+ return !network->not; - } - - static inline int -@@ -400,9 +398,8 @@ access_granted_inet6(struct addrinfo *ai, struct mohaw - if ((sa6->sin6_addr.s6_addr[i] & network->mask[i]) != network->prefix[i]) - return -1; - } -- if (network->not) -- return 0; -- return 1; -+ -+ return !network->not; - } - - |