Date: Sat, 21 Jul 2007 08:07:53 GMT From: Hernan Di Pietro <hernan.di.pietro@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/114787: PATCH for graphics/glexcess: Fixed port compilation on GCC 4.x Message-ID: <200707210807.l6L87rJE031730@www.freebsd.org> Resent-Message-ID: <200707210810.l6L8A2Id055262@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 114787 >Category: ports >Synopsis: PATCH for graphics/glexcess: Fixed port compilation on GCC 4.x >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: Sat Jul 21 08:10:02 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Hernan Di Pietro >Release: 6.2-STABLE >Organization: >Environment: FreeBSD vmbsd.localdomain 6.2-STABLE-200706 FreeBSD 6.2-STABLE-200706 #0: Sun Jun 3 14:20:02 UTC 2007 root@dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/SMP i386 >Description: Previous revision of port did not compile on GCC 4. Now builds OK. >How-To-Repeat: >Fix: Makefile diff attached. Patch attached with submission follows: diff -ruN /usr/ports/graphics/glexcess/Makefile /home/hernandp/ports/glexcess/Makefile --- /usr/ports/graphics/glexcess/Makefile Sat May 19 17:09:16 2007 +++ /home/hernandp/ports/glexcess/Makefile Sat Jul 21 04:40:16 2007 @@ -7,7 +7,7 @@ PORTNAME= glexcess PORTVERSION= 1.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= graphics MASTER_SITES= http://www.glexcess.com/files/ DISTNAME= ${PORTNAME} @@ -25,6 +25,9 @@ post-patch: @${REINPLACE_CMD} -e 's|data/|${DATADIR}/|' ${WRKSRC}/scene*.cpp + @${REINPLACE_CMD} -e 's|k_InitGL(GLvoid)|k_InitGL(void)|' ${WRKSRC}/scene12.cpp + @${REINPLACE_CMD} -e 's|Load(char\*|Load(const char* |g' ${WRKSRC}/Texture.* + @${REINPLACE_CMD} -e 's|Create(char\*|Create(const char* |g' ${WRKSRC}/Texture.* do-install: ${INSTALL_PROGRAM} ${WRKSRC}/glxs ${PREFIX}/bin >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200707210807.l6L87rJE031730>