Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Aug 2018 02:27:00 +0000 (UTC)
From:      Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r478172 - head/emulators/mupen64plus-core
Message-ID:  <201808270227.w7R2R0Kp052208@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: acm
Date: Mon Aug 27 02:27:00 2018
New Revision: 478172
URL: https://svnweb.freebsd.org/changeset/ports/478172

Log:
  - Fix emulators/mupen64plus-video-glide64 and
    emulators/mupen64plus-video-glide64mk2  build
  
  Reported by:	pkg-fallout

Modified:
  head/emulators/mupen64plus-core/Makefile.common

Modified: head/emulators/mupen64plus-core/Makefile.common
==============================================================================
--- head/emulators/mupen64plus-core/Makefile.common	Mon Aug 27 02:22:54 2018	(r478171)
+++ head/emulators/mupen64plus-core/Makefile.common	Mon Aug 27 02:27:00 2018	(r478172)
@@ -32,13 +32,18 @@ post-patch:
 .	if ${PKGNAMESUFFIX} == "-video-glide64mk2"
 		@cd ${WRKSRC}/source/${PORTNAME}${PKGNAMESUFFIX}/src && \
 			${REINPLACE_CMD} -e 's|#include <thread>||g' \
-				GlideHQ/TxQuantize.cpp GlideHQ/TxFilter.cpp
+				GlideHQ/TxQuantize.cpp GlideHQ/TxFilter.cpp && \
+			${REINPLACE_CMD} -e 's|(FxU32)NULL|(uintptr_t)NULL|g' \
+				Glide64/Main.cpp
 .	endif
 .	if ${PKGNAMESUFFIX} == "-video-glide64"
 		@cd ${WRKSRC}/${PORTNAME}${PKGNAMESUFFIX}/src && \
 			${REINPLACE_CMD} -e 's|__builtin_ia32_loadups|_mm_loadu_ps|g' -e \
 				's|__builtin_ia32_storeups|_mm_storeu_ps|g' \
-					3dmath.cpp
+					3dmath.cpp && \
+			${REINPLACE_CMD} -e 's|\"G64_VERSION|\" G64_VERSION|g' -e \
+				's|FxU32|uintptr_t|g' \
+					Main.cpp
 .	endif
 
 pre-install:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201808270227.w7R2R0Kp052208>