aboutsummaryrefslogtreecommitdiffstats
path: root/net/GeoIP
diff options
context:
space:
mode:
authorseanc <seanc@FreeBSD.org>2002-10-09 12:33:08 +0800
committerseanc <seanc@FreeBSD.org>2002-10-09 12:33:08 +0800
commit61c15c2e04468dd2454d7691b3919f9c77835a99 (patch)
tree3e7ae1d09965b4b80d4fa92b7fc3dda0ab85a4a5 /net/GeoIP
parent5b491da80df7f54040e893f7c8a129ad3f5e9ceb (diff)
downloadfreebsd-ports-gnome-61c15c2e04468dd2454d7691b3919f9c77835a99.tar.gz
freebsd-ports-gnome-61c15c2e04468dd2454d7691b3919f9c77835a99.tar.zst
freebsd-ports-gnome-61c15c2e04468dd2454d7691b3919f9c77835a99.zip
Moved misc/GeoIP and misc/p5-Geo-IP to the more fitting net directory[1].
Fixed build of net/GeoIP on -STABLE[2]. PR: ports/43807 Submitted by: Kimura Fuyuki <fuyuki@hadaly.org> [2] Submitted by: seanc [1] Reviewed by: knu (mentor/portmgr)
Diffstat (limited to 'net/GeoIP')
-rw-r--r--net/GeoIP/Makefile2
-rw-r--r--net/GeoIP/files/patch-libGeoIP::GeoIPUpdate.c13
2 files changed, 13 insertions, 2 deletions
diff --git a/net/GeoIP/Makefile b/net/GeoIP/Makefile
index 7e42e06656f0..84a4fe673fa8 100644
--- a/net/GeoIP/Makefile
+++ b/net/GeoIP/Makefile
@@ -12,8 +12,6 @@ MASTER_SITES= http://maxmind.com/download/geoip/api/c/
MAINTAINER= seanc@FreeBSD.org
-LIB_DEPENDS= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
-
USE_LIBTOOL= yes
CONFIGURE_ARGS= --with-gnu-ld=yes
INSTALLS_SHLIB= yes
diff --git a/net/GeoIP/files/patch-libGeoIP::GeoIPUpdate.c b/net/GeoIP/files/patch-libGeoIP::GeoIPUpdate.c
new file mode 100644
index 000000000000..7b1771ff911b
--- /dev/null
+++ b/net/GeoIP/files/patch-libGeoIP::GeoIPUpdate.c
@@ -0,0 +1,13 @@
+--- libGeoIP/GeoIPUpdate.c.orig Tue Oct 8 11:12:17 2002
++++ libGeoIP/GeoIPUpdate.c Tue Oct 8 11:12:41 2002
+@@ -21,9 +21,9 @@
+ #include "global.h"
+ #include "md5.h"
+ #include "GeoIP.h"
++#include <sys/types.h>
+ #include <netinet/in.h>
+ #include <arpa/inet.h>
+-#include <sys/types.h>
+ #include <sys/socket.h>
+ #include "zlib.h"
+ #include "time.h"