ports/54556: ports/news/nget broken due to GCC 3.2 compiler issue

Chris Larsen darth at vader.dk
Wed Jul 16 21:30:17 UTC 2003


>Number:         54556
>Category:       ports
>Synopsis:       ports/news/nget broken due to GCC 3.2 compiler issue
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jul 16 14:30:14 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Chris Larsen
>Release:        FreeBSD 5.1-RELEASE i386
>Organization:
The Empire
>Environment:
System: FreeBSD endor1.vader.dk 5.1-RELEASE FreeBSD 5.1-RELEASE #0: Mon Jun 23 23:00:43 CEST 2003 vader at endor1.vader.dk:/usr/obj/usr/src/sys/PixieOS-SMP i386


>Description:
nget in /usr/ports/news/nget is marked broken due to compiler issue with GCC 3.2 on FreeBSD 5.x
A missing int template is missing in the original source
Also there is a later version than the present in ports.
Tried contacting maintainer of port but apparently the domain of maintainer has been left 
in limbo for the last 3 weeks.

>How-To-Repeat:
	compile current nget port
>Fix:

The following patch will update the port to 0.23 and fix the compiler issue with GCC 3.2

-- cut -- cut --
diff -urN ./Makefile /usr/local/src/nget/Makefile
--- ./Makefile	Thu Jun  5 00:43:34 2003
+++ /usr/local/src/nget/Makefile	Wed Jul 16 21:57:09 2003
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	nget
-PORTVERSION=	0.21
+PORTVERSION=	0.23
 CATEGORIES=	news
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	nget
@@ -21,10 +21,6 @@
 USE_GMAKE=	yes
 
 .include <bsd.port.pre.mk>
-
-.if ${OSVERSION} >= 500113
-BROKEN=         "Fails to link"
-.endif
 
 post-extract:
 	${LN} -s nget-${PORTVERSION} ${WRKDIR}/${DISTNAME}
diff -urN ./distinfo /usr/local/src/nget/distinfo
--- ./distinfo	Thu Sep  5 07:23:04 2002
+++ /usr/local/src/nget/distinfo	Wed Jul 16 21:54:38 2003
@@ -1 +1 @@
-MD5 (nget-0.21+uulib.tar.gz) = 17de7da058e925ec334dbe00df757e87
+MD5 (nget-0.23+uulib.tar.gz) = 11d4d44f67447dd442177aeaf73e69c9
diff -urN ./files/patch-aa /usr/local/src/nget/files/patch-aa
--- ./files/patch-aa	Thu Jan  1 01:00:00 1970
+++ /usr/local/src/nget/files/patch-aa	Wed Jul 16 21:54:38 2003
@@ -0,0 +1,12 @@
+*** misc.cc.org	Thu Jun 26 17:04:21 2003
+--- misc.cc	Thu Jun 26 17:04:35 2003
+***************
+*** 162,167 ****
+--- 162,168 ----
+  #endif
+  template string durationstr(ulong);
+  template string durationstr(long);
++ template string durationstr(int);
+  
+  char *text_month[13]={"Jan", "Feb", "Mar", "Apr",
+  	"May", "Jun", "Jul", "Aug",
-- cut -- cut --
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list