diff options
author | ohauer <ohauer@FreeBSD.org> | 2013-06-22 20:24:57 +0000 |
---|---|---|
committer | ohauer <ohauer@FreeBSD.org> | 2013-06-22 20:24:57 +0000 |
commit | 545ed6d833e98a5c6b732618fc354e92bc0217f9 (patch) | |
tree | 8fa40e689a76f9ecd3a3568c3e61b25e73ea9138 | |
parent | b41d78c87f0f3ae0a5375f1b8cfaa0297d56c3e1 (diff) | |
download | FreeBSD-ports-545ed6d833e98a5c6b732618fc354e92bc0217f9.zip FreeBSD-ports-545ed6d833e98a5c6b732618fc354e92bc0217f9.tar.gz |
- Extract Last-Modified from the right place
PR: ports/178668
Submitted by: Hung-Yi Chen <gaod@hychen.org>
Approved by: Andrew Bennet <potatosaladx@gmail.com> (maintainer)
-rw-r--r-- | www/mod_xsendfile/Makefile | 8 | ||||
-rw-r--r-- | www/mod_xsendfile/files/patch-mod_xsendfile.c | 11 |
2 files changed, 13 insertions, 6 deletions
diff --git a/www/mod_xsendfile/Makefile b/www/mod_xsendfile/Makefile index e0a21a6..6702a59 100644 --- a/www/mod_xsendfile/Makefile +++ b/www/mod_xsendfile/Makefile @@ -1,13 +1,9 @@ -# New ports collection makefile for: mod_xsendfile Apache module -# Date created: 2006-11-23 -# Whom: Andrew T. Bennett <potatosaladx@gmail.com> -# +# Created by: Andrew T. Bennett <potatosaladx@gmail.com> # $FreeBSD$ -# PORTNAME= mod_xsendfile PORTVERSION= 0.12 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= www MASTER_SITES= https://tn123.org/mod_xsendfile/ \ http://cloud.github.com/downloads/potatosalad/mod_xsendfile/ diff --git a/www/mod_xsendfile/files/patch-mod_xsendfile.c b/www/mod_xsendfile/files/patch-mod_xsendfile.c new file mode 100644 index 0000000..b9adca6 --- /dev/null +++ b/www/mod_xsendfile/files/patch-mod_xsendfile.c @@ -0,0 +1,11 @@ +--- mod_xsendfile.c.orig 2013-05-16 02:15:41.000000000 +0800 ++++ mod_xsendfile.c 2013-05-16 02:15:48.000000000 +0800 +@@ -439,7 +439,7 @@ + conf->ignoreLM == XSENDFILE_ENABLED + || ( + !apr_table_get(r->headers_out, "last-modified") +- && !apr_table_get(r->headers_out, "last-modified") ++ && !apr_table_get(r->err_headers_out, "last-modified") + ) + ) { + apr_table_unset(r->err_headers_out, "last-modified"); |