- apply patch to prevent from segfault
PR: 131450 Submitted by: maintainer
This commit is contained in:
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
|
@ -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}
|
||||
|
|
12
www/mod_geoip/files/patch-mod_geoip.c
Normal file
12
www/mod_geoip/files/patch-mod_geoip.c
Normal 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;
|
||||
|
Loading…
Reference in a new issue