aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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>