From xaa@dohd.org  Mon Jun  9 04:02:47 2003
Return-Path: <xaa@dohd.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id B0B1337B404
	for <FreeBSD-gnats-submit@freebsd.org>; Mon,  9 Jun 2003 04:02:47 -0700 (PDT)
Received: from nala.dohd.org (d110155.upc-d.chello.nl [213.46.110.155])
	by mx1.FreeBSD.org (Postfix) with ESMTP id E32F043FCB
	for <FreeBSD-gnats-submit@freebsd.org>; Mon,  9 Jun 2003 04:02:45 -0700 (PDT)
	(envelope-from xaa@dohd.org)
Received: by nala.dohd.org (Postfix, from userid 49)
	id D5378612C; Mon,  9 Jun 2003 13:02:43 +0200 (MET DST)
Received: from piglet.local.dohd.org (piglet.ipv6.stack.nl [2001:610:1108:5201:202:b3ff:fe48:5143])
	by nala.dohd.org (Postfix) with ESMTP id 6A9096087
	for <FreeBSD-gnats-submit@freebsd.org>; Mon,  9 Jun 2003 13:02:40 +0200 (MET DST)
Received: by piglet.local.dohd.org (Postfix, from userid 1002)
	id D2FA26A; Mon,  9 Jun 2003 13:02:43 +0000 (GMT)
Message-Id: <20030609130243.D2FA26A@piglet.local.dohd.org>
Date: Mon,  9 Jun 2003 13:02:43 +0000 (GMT)
From: Xaa <xaa+ports@timewasters.nl>
Reply-To: Xaa <xaa+ports@timewasters.nl>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: Fix logtools port
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         53084
>Category:       ports
>Synopsis:       Fix logtools port
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jun 09 04:10:13 PDT 2003
>Closed-Date:    Mon Jun 09 17:43:35 PDT 2003
>Last-Modified:  Mon Jun 09 17:43:35 PDT 2003
>Originator:     Xaa
>Release:        FreeBSD 5.1-CURRENT i386
>Organization:
>Environment:
System: FreeBSD piglet.local.dohd.org 5.1-CURRENT FreeBSD 5.1-CURRENT #4: Mon Jun 2 21:08:11 GMT 2003 xaa@piglet.local.dohd.org:/usr/obj/sources/src/sys/piglet i386


>Description:

port was broken on bento

>How-To-Repeat:
	
>Fix:

apply patch below, creating new file files/patch-ac
Further cleaning up of all the warnings and 'deprecated' include files
hopefully somewhere in the future

diff -udr --new-file ../../www/logtools/Makefile ./Makefile
--- ../../www/logtools/Makefile	Fri Jun  6 18:30:27 2003
+++ ./Makefile	Mon Jun  9 11:00:09 2003
@@ -19,8 +19,4 @@
 
 .include <bsd.port.pre.mk>
 
-.if ${OSVERSION} >= 500113
-BROKEN=         "Does not compile (bad C++ code)"
-.endif
-
 .include <bsd.port.post.mk>
diff -udr --new-file ../../www/logtools/files/patch-ac ./files/patch-ac
--- ../../www/logtools/files/patch-ac	Thu Jan  1 00:00:00 1970
+++ ./files/patch-ac	Mon Jun  9 10:57:13 2003
@@ -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>
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: leeym 
State-Changed-When: Mon Jun 9 17:40:40 PDT 2003 
State-Changed-Why:  
Committed, thanks. 

Please use a good description in the synopsis of the PR next time. 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/porting-submitting.html 


http://www.freebsd.org/cgi/query-pr.cgi?pr=53084 
>Unformatted:
