diff options
author | pav <pav@FreeBSD.org> | 2005-05-21 01:53:56 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2005-05-21 01:53:56 +0800 |
commit | 5355573996e3275b6a508e274fa3a1eabc1f6567 (patch) | |
tree | 89478f0d6b870a6898141ffa02600a5b44ca020c /www | |
parent | 17999230a83360e4e850ba80943959fbbbeb9382 (diff) | |
download | freebsd-ports-gnome-5355573996e3275b6a508e274fa3a1eabc1f6567.tar.gz freebsd-ports-gnome-5355573996e3275b6a508e274fa3a1eabc1f6567.tar.zst freebsd-ports-gnome-5355573996e3275b6a508e274fa3a1eabc1f6567.zip |
- Fix: after recent ipfilter update IPL_NAT symbol has disappeared
PR: ports/80934
Submitted by: marck (maintainer)
Diffstat (limited to 'www')
-rw-r--r-- | www/oops/Makefile | 2 | ||||
-rw-r--r-- | www/oops/files/patch-src_modules_transparent.c | 14 |
2 files changed, 15 insertions, 1 deletions
diff --git a/www/oops/Makefile b/www/oops/Makefile index 2a8e89c45e97..dd873155f643 100644 --- a/www/oops/Makefile +++ b/www/oops/Makefile @@ -7,7 +7,7 @@ PORTNAME= oops PORTVERSION= ${OOPSVERSION} -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= www MASTER_SITES= http://oops-cache.org/ DISTNAME= ${PORTNAME}-${OOPSVERSION} diff --git a/www/oops/files/patch-src_modules_transparent.c b/www/oops/files/patch-src_modules_transparent.c new file mode 100644 index 000000000000..658f7ff23385 --- /dev/null +++ b/www/oops/files/patch-src_modules_transparent.c @@ -0,0 +1,14 @@ + +$FreeBSD$ + +--- src/modules/transparent.c.orig ++++ src/modules/transparent.c +@@ -214,7 +214,7 @@ + natLookup.nl_outip = rq->client_sa.sin_addr; + natLookup.nl_flags = IPN_TCP; + if (natfd < 0) { +- natfd = open(IPL_NAT, O_RDONLY, 0); ++ natfd = open(IPNAT_NAME, O_RDONLY, 0); + if (natfd < 0) { + my_xlog(OOPS_LOG_HTTP|OOPS_LOG_DBG|OOPS_LOG_SEVERE, "transparent/redir(): NAT open failed: %m\n"); + goto notdone; |