ports/58062: Fix Broken: gnu-finger marked BROKEN on 5.1-
Cheng-Lung Sung
clsung at dragon2.net
Wed Oct 15 09:40:15 UTC 2003
>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 at 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:
More information about the freebsd-ports-bugs
mailing list