aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordhn <dhn@FreeBSD.org>2010-10-03 21:07:57 +0800
committerdhn <dhn@FreeBSD.org>2010-10-03 21:07:57 +0800
commit4dba312a2843a529ac1cefcbdcaf59a46e9bdbd7 (patch)
treee5137a3efca9d5f0630379f7c6f1a6395eeba120
parent0c4dd9a5c1cd5e834f3d5ce8567e4ca3ac938e57 (diff)
downloadfreebsd-ports-gnome-4dba312a2843a529ac1cefcbdcaf59a46e9bdbd7.tar.gz
freebsd-ports-gnome-4dba312a2843a529ac1cefcbdcaf59a46e9bdbd7.tar.zst
freebsd-ports-gnome-4dba312a2843a529ac1cefcbdcaf59a46e9bdbd7.zip
- Fix Build on 8.x
- Bump PORTREVISION Submitted by: xpahos@gmail.com (via mail)
-rw-r--r--www/zerowait-httpd/Makefile11
-rw-r--r--www/zerowait-httpd/files/patch-src__httpd__core.c12
2 files changed, 15 insertions, 8 deletions
diff --git a/www/zerowait-httpd/Makefile b/www/zerowait-httpd/Makefile
index af2d2c181f74..6a0e6ad60257 100644
--- a/www/zerowait-httpd/Makefile
+++ b/www/zerowait-httpd/Makefile
@@ -7,9 +7,10 @@
PORTNAME= zerowait
PORTVERSION= 0.8d
+PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= http://www.0w.ru/httpd/ \
- http://mirror.mcx2.org/
+ http://mirror.mcx2.org/
PKGNAMESUFFIX= -httpd
DISTNAME= 0W-httpd-${PORTVERSION}
@@ -25,10 +26,4 @@ HAS_CONFIGURE= yes
CONFIGURE_ARGS= --prefix=${PREFIX} --owner=${WWWOWN} --group=${WWWGRP}
PLIST_SUB= WWWOWN=${WWWOWN} WWWGRP=${WWWGRP}
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} >= 800108
-BROKEN= does not build
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/www/zerowait-httpd/files/patch-src__httpd__core.c b/www/zerowait-httpd/files/patch-src__httpd__core.c
new file mode 100644
index 000000000000..72e0ff2e8c2b
--- /dev/null
+++ b/www/zerowait-httpd/files/patch-src__httpd__core.c
@@ -0,0 +1,12 @@
+--- ./src/httpd/core.c.orig 2010-09-29 18:21:00.000000000 +0200
++++ ./src/httpd/core.c 2010-09-29 18:21:49.000000000 +0200
+@@ -1529,8 +1529,7 @@
+ (filter == EVFILT_VNODE) ? "EVFILT_VNODE" :
+ (filter == EVFILT_PROC) ? "EVFILT_PROC" :
+ (filter == EVFILT_SIGNAL) ? "EVFILT_SIGNAL" :
+- (filter == EVFILT_TIMER) ? "EVFILT_TIMER" :
+- (filter == EVFILT_NETDEV) ? "EVFILT_NETDEV" : "???");
++ (filter == EVFILT_TIMER) ? "EVFILT_TIMER" : "???");
+
+ return str;
+ }