diff options
author | leeym <leeym@FreeBSD.org> | 2009-03-12 05:16:49 +0800 |
---|---|---|
committer | leeym <leeym@FreeBSD.org> | 2009-03-12 05:16:49 +0800 |
commit | 05f137f20afed5123f9ddf775fa4a8ce6c59f259 (patch) | |
tree | bd8355049c7c2c5c0fc7b79b7059260012eb6b16 /www/mod_geoip | |
parent | dfd30af1d203950087e04342a3145f961921ac76 (diff) | |
download | freebsd-ports-gnome-05f137f20afed5123f9ddf775fa4a8ce6c59f259.tar.gz freebsd-ports-gnome-05f137f20afed5123f9ddf775fa4a8ce6c59f259.tar.zst freebsd-ports-gnome-05f137f20afed5123f9ddf775fa4a8ce6c59f259.zip |
- apply patch to prevent from segfault
PR: 131450
Submitted by: maintainer
Diffstat (limited to 'www/mod_geoip')
-rw-r--r-- | www/mod_geoip/Makefile | 1 | ||||
-rw-r--r-- | www/mod_geoip/files/patch-mod_geoip.c | 12 |
2 files changed, 13 insertions, 0 deletions
diff --git a/www/mod_geoip/Makefile b/www/mod_geoip/Makefile index 57951fc12171..ddcaadf88a9e 100644 --- a/www/mod_geoip/Makefile +++ b/www/mod_geoip/Makefile @@ -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} diff --git a/www/mod_geoip/files/patch-mod_geoip.c b/www/mod_geoip/files/patch-mod_geoip.c new file mode 100644 index 000000000000..031c3bd3124c --- /dev/null +++ b/www/mod_geoip/files/patch-mod_geoip.c @@ -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; + |