Date: Tue, 15 Aug 2006 14:45:54 +0800 (CST) From: Gea-Suan Lin <gslin@gslin.org> To: FreeBSD-gnats-submit@FreeBSD.org Cc: gslin@gslin.org Subject: ports/102054: [MAINTAINER] textproc/msort: Fix build on GCC 2.95 Message-ID: <20060815064554.5241D1F9@netnews.NCTU.edu.tw> Resent-Message-ID: <200608150650.k7F6oGt1082705@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 102054 >Category: ports >Synopsis: [MAINTAINER] textproc/msort: Fix build on GCC 2.95 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Tue Aug 15 06:50:15 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Gea-Suan Lin >Release: FreeBSD 6.1-RELEASE i386 >Organization: >Environment: System: FreeBSD netnews.NCTU.edu.tw 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sat May 13 03:43:48 CST 2006 >Description: - Fix build on GCC 2.95 Generated with FreeBSD Port Tools 0.77 >How-To-Repeat: >Fix: --- msort-8.27.patch begins here --- diff -ruN --exclude=CVS /usr/ports/textproc/msort/Makefile /home/staff/gslin/work/msort/Makefile --- /usr/ports/textproc/msort/Makefile Fri Aug 11 16:18:00 2006 +++ /home/staff/gslin/work/msort/Makefile Tue Aug 15 14:40:01 2006 @@ -26,7 +26,12 @@ MAN1= msort.1 +.include <bsd.port.pre.mk> + post-patch: ${REINPLACE_CMD} -e 's,^#include <alloca.h>,,g' ${WRKSRC}/msort.c +.if ${OSVERSION} < 500035 + ${REINPLACE_CMD} -e 's,-std=gnu99,,g' ${WRKSRC}/Makefile.in +.endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> --- msort-8.27.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060815064554.5241D1F9>