diff options
author | mnag <mnag@FreeBSD.org> | 2009-02-24 22:32:40 +0800 |
---|---|---|
committer | mnag <mnag@FreeBSD.org> | 2009-02-24 22:32:40 +0800 |
commit | 4033096791d1b06d1a370b76e28ea943ddb0fea1 (patch) | |
tree | ca27be92d475b22bfeda8f733029b44d79b1b0d0 /www/lighttpd | |
parent | c13580af6467d2c8c81b0b0ea08055c465a5f47d (diff) | |
download | freebsd-ports-gnome-4033096791d1b06d1a370b76e28ea943ddb0fea1.tar.gz freebsd-ports-gnome-4033096791d1b06d1a370b76e28ea943ddb0fea1.tar.zst freebsd-ports-gnome-4033096791d1b06d1a370b76e28ea943ddb0fea1.zip |
- Backport r2403 to fix sendfile backend.
- Bump PORTREVISION
Notified by: Albert Vernon <aev__vernon.nu>
Diffstat (limited to 'www/lighttpd')
-rw-r--r-- | www/lighttpd/Makefile | 1 | ||||
-rw-r--r-- | www/lighttpd/files/patch-src__network_freebsd_sendfile.c | 14 |
2 files changed, 15 insertions, 0 deletions
diff --git a/www/lighttpd/Makefile b/www/lighttpd/Makefile index 0598c871906b..7c5260380ea0 100644 --- a/www/lighttpd/Makefile +++ b/www/lighttpd/Makefile @@ -7,6 +7,7 @@ PORTNAME= lighttpd PORTVERSION= 1.4.21 +PORTREVISION= 1 CATEGORIES= www MASTER_SITES= http://www.lighttpd.net/download/ \ http://mirrors.cat.pdx.edu/lighttpd/ diff --git a/www/lighttpd/files/patch-src__network_freebsd_sendfile.c b/www/lighttpd/files/patch-src__network_freebsd_sendfile.c new file mode 100644 index 000000000000..f823657de4c1 --- /dev/null +++ b/www/lighttpd/files/patch-src__network_freebsd_sendfile.c @@ -0,0 +1,14 @@ +# +# Backport http://redmine.lighttpd.net/projects/lighttpd/repository/revisions/2403 +# +--- src/network_freebsd_sendfile.c.orig 2009-02-24 11:05:06.000000000 -0300 ++++ src/network_freebsd_sendfile.c 2009-02-24 11:12:15.000000000 -0300 +@@ -167,7 +167,7 @@ + switch(errno) { + case EAGAIN: + case EINTR: +- r = 0; /* try again later */ ++ /* for EAGAIN and EINTR r still contains the sent bytes */ + break; + case ENOTCONN: + return -2; |