Date: Thu, 3 Mar 2005 16:16:19 +0100 (CET) From: Johan van Selst <johans@stack.nl> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/78363: www/larbin: Fix for compilation on FreeBSD >= 5.x Message-ID: <20050303151619.71D7217221@mud.stack.nl> Resent-Message-ID: <200503031520.j23FKKFx097017@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050303151619.71D7217221>