ports/144766: [patch] emulators/mupen64-rice fix build with gcc42
Andrius Morkunas
hinokind at gmail.com
Mon Mar 15 17:10:09 UTC 2010
>Number: 144766
>Category: ports
>Synopsis: [patch] emulators/mupen64-rice fix build with gcc42
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Mon Mar 15 17:10:04 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Andrius Morkunas
>Release:
>Organization:
>Environment:
>Description:
Get rid of USE_GCC=3.4
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
diff -ruN emulators/mupen64-rice.orig/Makefile emulators/mupen64-rice/Makefile
--- emulators/mupen64-rice.orig/Makefile 2009-05-29 03:19:50.000000000 +0000
+++ emulators/mupen64-rice/Makefile 2010-03-15 15:48:31.842723914 +0000
@@ -23,7 +23,6 @@
USE_SDL= sdl
USE_GL= gl
USE_GNOME= gtk12
-USE_GCC= 3.4
ONLY_FOR_ARCHS= i386
PLUGIN_NAME= ricedaedalus
@@ -34,6 +33,12 @@
FIXME2= glh_genext.h
+post-patch:
+ @${REINPLACE_CMD} -e 's|CDaedalusRender::IsTextureEnabled|IsTextureEnabled|' \
+ ${WRKSRC}/DaedalusRender.h
+ @${REINPLACE_CMD} -e 's|^HRESULT|template<> HRESULT|' \
+ ${WRKSRC}/Profiler.cpp
+
do-configure:
.for i in ${FIXME2}
${REINPLACE_CMD} -e 's|SDL/SDL.h|SDL.h|' ${WRKSRC}/${i}
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list