Date: Wed, 15 Oct 2003 16:38:25 +0800 (CST) From: Cheng-Lung Sung <clsung@dragon2.net> To: FreeBSD-gnats-submit@FreeBSD.org Cc: clsung@tiger2.net Subject: ports/58062: Fix Broken: gnu-finger marked BROKEN on 5.1- Message-ID: <20031015083825.EFB84155D6@mail.dragon2.net> Resent-Message-ID: <200310150940.h9F9eDgB079715@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 58062 >Category: ports >Synopsis: Fix Broken: gnu-finger marked BROKEN on 5.1- >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Oct 15 02:40:13 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Cheng-Lung Sung >Release: FreeBSD 5.1-RELEASE i386 >Organization: FreeBSD @ Taiwan >Environment: System: FreeBSD going04.iis.sinica.edu.tw 5.1-RELEASE FreeBSD 5.1-RELEASE #2: Thu Jun 12 21:26:05 CST 2003 root@going04.iis.sinica.edu.tw:/usr/obj/usr/src/sys/GOING04 i386 >Description: - make a dirty patch (Makefile) to go through compilation. This patch just made me can use this software. Haven't think too much about 5.X system dependency...... >How-To-Repeat: >Fix: diff -ruN -ruN /usr/ports/net/gnu-finger/Makefile ./gnu-finger/Makefile --- /usr/ports/net/gnu-finger/Makefile Sun Oct 12 22:54:37 2003 +++ ./gnu-finger/Makefile Wed Oct 15 16:34:02 2003 @@ -20,7 +20,19 @@ CONFLICTS= pfinger-0.* .if ${OSVERSION} >= 500000 -BROKEN= does not compile on 5.x +#BROKEN= does not compile on 5.x +USE_REINPLACE= yes +post-patch: + ${REINPLACE_CMD} -e 's,DEFS="$$DEFS -D_ANSI_SOURCE",,' \ + ${WRKSRC}/configure + ${REINPLACE_CMD} -e 's,extern char \*sys_errlist,//extern char \*sys_errlist,' \ + ${WRKSRC}/lib/os.c ${WRKSRC}/lib/error.c + ${REINPLACE_CMD} -e 's,longjmperror (),void longjmperror (void),' \ + ${WRKSRC}/lib/error.c + ${REINPLACE_CMD} -e 's,\, sys_nerr,,' \ + ${WRKSRC}/lib/error.c + ${REINPLACE_CMD} -e 's,char \*source,const char \*source,' \ + ${WRKSRC}/lib/savedir.c .endif HAS_CONFIGURE= yes >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031015083825.EFB84155D6>