Date: Mon, 15 Mar 2010 17:09:10 GMT From: Andrius Morkunas <hinokind@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/144766: [patch] emulators/mupen64-rice fix build with gcc42 Message-ID: <201003151709.o2FH9AdI091558@www.freebsd.org> Resent-Message-ID: <201003151710.o2FHA4LL039457@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201003151709.o2FH9AdI091558>