Date: Wed, 5 Apr 2006 17:38:49 +0200 (CEST) From: Antoine Brodin <antoine.brodin@laposte.net> To: FreeBSD-gnats-submit@FreeBSD.org Cc: demon@FreeBSD.org Subject: ports/95352: [patch] unbreak www/links1 on recent -current Message-ID: <200604051538.k35FcncZ055944@barton.dreadbsd.org> Resent-Message-ID: <200604051540.k35FeHqV032509@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 95352 >Category: ports >Synopsis: [patch] unbreak www/links1 on recent -current >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 Apr 05 15:40:17 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Antoine Brodin >Release: FreeBSD 7.0-CURRENT i386 >Organization: none >Environment: System: FreeBSD barton.dreadbsd.org 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Sat Apr 1 14:12:04 CEST 2006 root@barton.dreadbsd.org:/usr/obj/usr/src/sys/BARTON i386 >Description: www/links1 is broken after strtonum import maintainer is CCed >How-To-Repeat: On a recent -current: cd /usr/ports/www/links1 && make ... cc -DHAVE_CONFIG_H -I. -I. -I. -O2 -fno-strict-aliasing -pipe -march=athlon-xp -c kbdbind.c kbdbind.c:78: error: conflicting types for 'strtonum' /usr/include/stdlib.h:275: error: previous declaration of 'strtonum' was here kbdbind.c:78: error: conflicting types for 'strtonum' /usr/include/stdlib.h:275: error: previous declaration of 'strtonum' was here *** Error code 1 >Fix: from OpenBSD ( http://www.openbsd.org/cgi-bin/cvsweb/ports/www/links/patches/patch-kbdbind_c?rev=1.1&content-type=text/x-cvsweb-markup ) --- links1.diff begins here --- Index: Makefile =================================================================== RCS file: /home/ncvs/ports/www/links1/Makefile,v retrieving revision 1.4 diff -u -p -r1.4 Makefile --- Makefile 6 Feb 2004 11:37:57 -0000 1.4 +++ Makefile 5 Apr 2006 15:24:19 -0000 @@ -24,4 +24,7 @@ NO_LATEST_LINK= yes MAN1= links.1 +post-patch: + @${REINPLACE_CMD} -e 's|strtonum(|str_to_num(|g' ${WRKSRC}/kbdbind.c + .include <bsd.port.mk> --- links1.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200604051538.k35FcncZ055944>