- apply patch to prevent from segfault

PR:		131450
Submitted by:	maintainer
This commit is contained in:
Yen-Ming Lee 2009-03-11 21:16:49 +00:00
parent 24f56b1028
commit d4f2f7c589
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=229911
2 changed files with 13 additions and 0 deletions

View file

@ -7,6 +7,7 @@
PORTNAME= mod_geoip
PORTVERSION= 1.3.4
PORTREVISION= 1
CATEGORIES= www geography
MASTER_SITES= http://www.maxmind.com/download/geoip/api/mod_geoip/
DISTNAME= ${PORTNAME}_${PORTVERSION}

View file

@ -0,0 +1,12 @@
--- mod_geoip.c 2008/09/16 10:31:43 1.39
+++ mod_geoip.c 2009/02/06 00:33:10 1.40
@@ -317,8 +317,7 @@
if ( !cfg )
continue;
- if ( !cfg->GeoIPEnable )
- continue;
+
if (cfg->gips)
continue;