ports/114787: PATCH for graphics/glexcess: Fixed port compilation on GCC 4.x
Hernan Di Pietro
hernan.di.pietro at gmail.com
Sat Jul 21 08:10:03 UTC 2007
>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 at 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:
More information about the freebsd-ports-bugs
mailing list