svn commit: r478172 - head/emulators/mupen64plus-core

Jose Alonso Cardenas Marquez acm at FreeBSD.org
Mon Aug 27 02:27:01 UTC 2018


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:


More information about the svn-ports-head mailing list