ports/78363: www/larbin: Fix for compilation on FreeBSD >= 5.x

Johan van Selst johans at stack.nl
Thu Mar 3 15:20:21 UTC 2005


>Number:         78363
>Category:       ports
>Synopsis:       www/larbin: Fix for compilation on FreeBSD >= 5.x
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Mar 03 15:20:20 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Johan van Selst
>Release:        FreeBSD 5.3-STABLE i386
>Organization:
>Environment:
System: FreeBSD mud.stack.nl 5.3-STABLE FreeBSD 5.3-STABLE #0: Mon Jan 31 22:31:14 CET 2005 root at mud.stack.nl:/usr/obj/usr/src/sys/mud i386


	
>Description:
	
	Fix wrong function prototype.
	Fix MASTER_SITES.

>How-To-Repeat:
	
>Fix:

	

	This introduces files/patch-adns_internal.h

diff -uNr larbin/Makefile larbin/Makefile
--- larbin/Makefile	Wed Mar  2 04:02:34 2005
+++ larbin/Makefile	Thu Mar  3 16:06:45 2005
@@ -9,7 +9,8 @@
 PORTVERSION=	2.6.3
 PORTREVISION=	1
 CATEGORIES=	www
-MASTER_SITES=	ftp://ftp.sourceforge.net/pub/sourceforge/larbin/
+MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR=	${PORTNAME}
 
 MAINTAINER=	ports at FreeBSD.org
 COMMENT=	A powerful HTTP crawler with an easy interface
@@ -17,19 +18,12 @@
 BUILD_DEPENDS=	bash:${PORTSDIR}/shells/bash2 \
 		makedepend:${X_IMAKE_PORT}
 
-BROKEN=		Unfetchable
-
 USE_GMAKE=	yes
 GNU_CONFIGURE=	yes
 USE_REINPLACE=	yes
-PATCH_WRKSRC=	${WRKSRC}/src
 MAKE_ARGS=	CXX=${CXX}
 
 .include <bsd.port.pre.mk>
-
-.if ${OSVERSION} >= 502126
-BROKEN=		"Does not compile on FreeBSD >= 5.x"
-.endif
 
 post-patch:
 	@${SED} -e 's,CC=,CC?=,' -e 's,CFLAGS=-O3,CFLAGS+=,' < \
diff -uNr larbin/files/patch-adns_internal.h larbin/files/patch-adns_internal.h
--- larbin/files/patch-adns_internal.h	Thu Jan  1 01:00:00 1970
+++ larbin/files/patch-adns_internal.h	Thu Mar  3 16:04:00 2005
@@ -0,0 +1,11 @@
+--- adns/internal.h.orig	Thu Mar  3 16:00:32 2005
++++ adns/internal.h	Thu Mar  3 16:02:10 2005
+@@ -567,7 +567,7 @@
+ } parsedomain_flags;
+ 
+ adns_status adns__parse_domain(adns_state ads, int serv, adns_query qu,
+-			       vbuf *vb, parsedomain_flags flags,
++			       vbuf *vb, adns_queryflags flags,
+ 			       const byte *dgram, int dglen, int *cbyte_io, int max);
+ /* vb must already have been initialised; it will be reset if necessary.
+  * If there is truncation, vb->used will be set to 0; otherwise
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list