aboutsummaryrefslogtreecommitdiffstats
path: root/www/logtools
diff options
context:
space:
mode:
authorleeym <leeym@FreeBSD.org>2003-06-10 08:40:13 +0800
committerleeym <leeym@FreeBSD.org>2003-06-10 08:40:13 +0800
commit017363eae9d7dd9fb41f5853cae94d888a444f86 (patch)
tree145fe9cc077a42e82d1983c12a82b82a6caacc2c /www/logtools
parente3855d7caea0753d76b35f41b4514f4962c44372 (diff)
downloadfreebsd-ports-gnome-017363eae9d7dd9fb41f5853cae94d888a444f86.tar.gz
freebsd-ports-gnome-017363eae9d7dd9fb41f5853cae94d888a444f86.tar.zst
freebsd-ports-gnome-017363eae9d7dd9fb41f5853cae94d888a444f86.zip
unbreak logtools on -5.1
PR: 53084 Submitted by: Xaa <xaa+ports@timewasters.nl>
Diffstat (limited to 'www/logtools')
-rw-r--r--www/logtools/Makefile4
-rw-r--r--www/logtools/files/patch-ac14
2 files changed, 14 insertions, 4 deletions
diff --git a/www/logtools/Makefile b/www/logtools/Makefile
index e88f61debd3f..f68c56550a80 100644
--- a/www/logtools/Makefile
+++ b/www/logtools/Makefile
@@ -19,8 +19,4 @@ MAN1= clfmerge.1 logprn.1 funnel.1 clfsplit.1 clfdomainsplit.1
.include <bsd.port.pre.mk>
-.if ${OSVERSION} >= 500113
-BROKEN= "Does not compile (bad C++ code)"
-.endif
-
.include <bsd.port.post.mk>
diff --git a/www/logtools/files/patch-ac b/www/logtools/files/patch-ac
new file mode 100644
index 000000000000..96ca9b3dd995
--- /dev/null
+++ b/www/logtools/files/patch-ac
@@ -0,0 +1,14 @@
+--- clfdomainsplit.cpp.orig Mon Jun 9 10:56:27 2003
++++ clfdomainsplit.cpp Mon Jun 9 10:56:47 2003
+@@ -1,10 +1,6 @@
+ #include <stdio.h>
+
+-#if (__GNUC__ >= 3)
+-#include <ext/hash_map>
+-#else
+-#include <hash_map>
+-#endif
++#include <hash_map.h>
+
+ #include <unistd.h>
+ #include <string>