From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Apr 5 15:40:41 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0E80816A433 for ; Wed, 5 Apr 2006 15:40:41 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id A9F1643D6D for ; Wed, 5 Apr 2006 15:40:28 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k35FeIf0032516 for ; Wed, 5 Apr 2006 15:40:18 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k35FeHqV032509; Wed, 5 Apr 2006 15:40:18 GMT (envelope-from gnats) Resent-Date: Wed, 5 Apr 2006 15:40:18 GMT Resent-Message-Id: <200604051540.k35FeHqV032509@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Antoine Brodin Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CB72516A424; Wed, 5 Apr 2006 15:39:03 +0000 (UTC) (envelope-from antoine@peanut.dreadbsd.org) Received: from barton.dreadbsd.org (peanut.dreadbsd.org [82.67.196.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id C50B643D5A; Wed, 5 Apr 2006 15:38:51 +0000 (GMT) (envelope-from antoine@peanut.dreadbsd.org) Received: from barton.dreadbsd.org (localhost [127.0.0.1]) by barton.dreadbsd.org (8.13.6/8.13.4) with ESMTP id k35FcnLR055945; Wed, 5 Apr 2006 17:38:49 +0200 (CEST) (envelope-from antoine@peanut.dreadbsd.org) Received: (from antoine@localhost) by barton.dreadbsd.org (8.13.6/8.13.1/Submit) id k35FcncZ055944; Wed, 5 Apr 2006 17:38:49 +0200 (CEST) (envelope-from antoine) Message-Id: <200604051538.k35FcncZ055944@barton.dreadbsd.org> Date: Wed, 5 Apr 2006 17:38:49 +0200 (CEST) From: Antoine Brodin To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: demon@FreeBSD.org Subject: ports/95352: [patch] unbreak www/links1 on recent -current X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Antoine Brodin List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Apr 2006 15:40:41 -0000 >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 --- links1.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: