1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

- 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)
This commit is contained in:
Olli Hauer 2013-06-22 20:24:57 +00:00
parent 0080fcfaf8
commit 1051985534
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=321590
2 changed files with 13 additions and 6 deletions

View File

@ -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/

View File

@ -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");