From fernan@pi.iib.unsam.edu.ar  Mon Dec  5 16:09:17 2005
Return-Path: <fernan@pi.iib.unsam.edu.ar>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 51CA016A41F
	for <FreeBSD-gnats-submit@freebsd.org>; Mon,  5 Dec 2005 16:09:17 +0000 (GMT)
	(envelope-from fernan@pi.iib.unsam.edu.ar)
Received: from smtp.unsam.edu.ar (smtp.unsam.edu.ar [170.210.48.3])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 1585843D62
	for <FreeBSD-gnats-submit@freebsd.org>; Mon,  5 Dec 2005 16:09:08 +0000 (GMT)
	(envelope-from fernan@pi.iib.unsam.edu.ar)
Received: from pi.iib.unsam.edu.ar (pi.iib.unsam.edu.ar [192.168.10.11])
	by smtp.unsam.edu.ar (8.12.6/8.12.6) with ESMTP id jB5G8c1N031026
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 5 Dec 2005 13:08:38 -0300 (ART)
	(envelope-from fernan@pi.iib.unsam.edu.ar)
Received: from pi.iib.unsam.edu.ar (localhost [127.0.0.1])
	by pi.iib.unsam.edu.ar (8.13.1/8.13.1) with ESMTP id jB5G8f9v069365
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 5 Dec 2005 13:08:41 -0300 (ART)
	(envelope-from fernan@pi.iib.unsam.edu.ar)
Received: (from fernan@localhost)
	by pi.iib.unsam.edu.ar (8.13.1/8.13.1/Submit) id jB5G8f3O069364;
	Mon, 5 Dec 2005 13:08:41 -0300 (ART)
	(envelope-from fernan)
Message-Id: <200512051608.jB5G8f3O069364@pi.iib.unsam.edu.ar>
Date: Mon, 5 Dec 2005 13:08:41 -0300 (ART)
From: Fernan Aguero <fernan@iib.unsam.edu.ar>
Reply-To: Fernan Aguero <fernan@iib.unsam.edu.ar>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: update and unbreak biology/treeviewx 
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         89980
>Category:       ports
>Synopsis:       update and unbreak biology/treeviewx
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    mnag
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Dec 05 16:10:02 GMT 2005
>Closed-Date:    Tue Dec 06 02:02:00 GMT 2005
>Last-Modified:  Tue Dec 06 02:02:00 GMT 2005
>Originator:     Fernan Aguero
>Release:        FreeBSD 4.10-RELEASE i386
>Organization:
IIB-UNSAM
>Environment:

FreeBSD pi.iib.unsam.edu.ar 4.10-RELEASE FreeBSD 4.10-RELEASE #0: Wed May 26 12:56:43 ART 2004 fernan@pi.iib.unsam.edu.ar:/usr/obj/usr/src/sys/PI  i386

	
>Description:
	
	
	treeviewx is broken in FreeBSD-5.x
	
	I haven't access to a FreeBSD-5.x box, but according to the
	author, the build errors seem to be caused by a newer gcc.
	The updated treeviewx 0.5.1 should fix this. Building of
	treeviewx-0.5.1 in FreeBSD-5 was tested by Sam Lawrance
	(thanks!)

	The attached patch brings treeviewx to v0.5.1 and should fix the
	build errors on FreeBSD-5.x

>How-To-Repeat:
	
	
>Fix:

	



--- treeviewx.diff begins here ---
diff -ruN /usr/ports/biology/treeviewx/Makefile treeviewx/Makefile
--- /usr/ports/biology/treeviewx/Makefile	Sun Dec  4 09:56:10 2005
+++ treeviewx/Makefile	Mon Dec  5 10:05:02 2005
@@ -7,10 +7,9 @@
 #
 
 PORTNAME=	treeviewx
-PORTVERSION=	0.5
-PORTREVISION=	1
+PORTVERSION=	0.5.1
 CATEGORIES=	biology
-MASTER_SITES=	http://darwin.zoology.gla.ac.uk/~rpage/treeviewx/download/${PORTVERSION}/
+MASTER_SITES=	http://darwin.zoology.gla.ac.uk/~rpage/treeviewx/download/${PORTVERSION:S/.1//}/
 DISTNAME=	tv-${PORTVERSION}
 
 MAINTAINER=	fernan@iib.unsam.edu.ar
@@ -25,10 +24,4 @@
 
 PLIST_FILES=	bin/tv
 
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} >= 502126
-BROKEN=		"Does not compile on FreeBSD >= 5.x"
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff -ruN /usr/ports/biology/treeviewx/distinfo treeviewx/distinfo
--- /usr/ports/biology/treeviewx/distinfo	Wed Apr 13 10:45:08 2005
+++ treeviewx/distinfo	Wed Oct 12 11:20:22 2005
@@ -1,2 +1,2 @@
-MD5 (tv-0.5.tar.gz) = 6c8bf75667184943f4d3f047a4e7538d
-SIZE (tv-0.5.tar.gz) = 394811
+MD5 (tv-0.5.1.tar.gz) = 07e1ed8873c5f19ded7294668233bae1
+SIZE (tv-0.5.1.tar.gz) = 426745
diff -ruN /usr/ports/biology/treeviewx/files/patch-Makefile.in treeviewx/files/patch-Makefile.in
--- /usr/ports/biology/treeviewx/files/patch-Makefile.in	Fri Apr  8 19:45:42 2005
+++ treeviewx/files/patch-Makefile.in	Wed Dec 31 21:00:00 1969
@@ -1,11 +0,0 @@
---- Makefile.in.orig	Thu Mar 24 19:41:44 2005
-+++ Makefile.in	Thu Mar 24 19:42:32 2005
-@@ -91,7 +91,7 @@
- NCLDIR = ncl-2.0/src
- #LIBDIRS	= -L$(NCLDIR) 
- #-L$(XMLPARSEDIR)
--LIBS = @LIBS@ -lwx_gtk_dcsvg-2.4 -L$(NCLDIR) -lncl -L$(TREELIBDIR) -ltreelib
-+LIBS = @LIBS@ -lwx_gtk2_dcsvg-2.4 -L$(NCLDIR) -lncl -L$(TREELIBDIR) -ltreelib
- #-lexpat
- INCLUDES = -I$(NCLDIR) -I$(TREELIBDIR) -I$(GPORTDIR) 
- #-I$(EXPATPPDIR) -I$(XMLPARSEDIR) -I$(EXPATPPDIR)/xmltok
--- treeviewx.diff ends here ---

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->mnag 
Responsible-Changed-By: mnag 
Responsible-Changed-When: Mon Dec 5 18:17:03 GMT 2005 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=89980 
State-Changed-From-To: open->closed 
State-Changed-By: mnag 
State-Changed-When: Tue Dec 6 02:01:56 GMT 2005 
State-Changed-Why:  
Committed. Thanks! 

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