Index: head/games/libretro-desmume2015/Makefile =================================================================== --- head/games/libretro-desmume2015/Makefile (revision 565464) +++ head/games/libretro-desmume2015/Makefile (revision 565465) @@ -1,31 +1,37 @@ # $FreeBSD$ PORTNAME= libretro-desmume2015 PORTVERSION= 0.20200504 CATEGORIES= games MAINTAINER= menelkir@itroll.org COMMENT= Port of Desmume to libretro based on Desmume SVN circa 2015 LICENSE= GPLv2 BROKEN_aarch64= fails to compile: invokes x86 assembler USES= compiler:c++11-lib gmake gl USE_LDCONFIG= yes USE_GL= gl USE_GITHUB= yes GH_ACCOUNT= libretro GH_PROJECT= desmume2015 GH_TAGNAME= 93d5789 PLIST_FILES= lib/libretro/desmume2015_libretro.so MAKEFILE= Makefile.freebsd +.include + +.if ${ARCH} != aarch64 || ${ARCH} != amd64 || !${ARCH:Marmv*} || ${ARCH} != i386 +MAKE_ENV+= DESMUME_JIT=0 +.endif + do-install: ${MKDIR} ${STAGEDIR}/${PREFIX}/lib/libretro; ${INSTALL_LIB} ${WRKSRC}/desmume/desmume2015_libretro.so ${STAGEDIR}/${PREFIX}/lib/libretro; .include Index: head/games/libretro-desmume2015/files/patch-desmume_src_libretro-common_features_features__cpu.c =================================================================== --- head/games/libretro-desmume2015/files/patch-desmume_src_libretro-common_features_features__cpu.c (nonexistent) +++ head/games/libretro-desmume2015/files/patch-desmume_src_libretro-common_features_features__cpu.c (revision 565465) @@ -0,0 +1,11 @@ +--- desmume/src/libretro-common/features/features_cpu.c.orig 2021-02-16 18:16:47 UTC ++++ desmume/src/libretro-common/features/features_cpu.c +@@ -144,7 +144,7 @@ retro_perf_tick_t cpu_features_get_perf_counter(void) + tv_sec = (long)((ularge.QuadPart - epoch) / 10000000L); + tv_usec = (long)(system_time.wMilliseconds * 1000); + time_ticks = (1000000 * tv_sec + tv_usec); +-#elif defined(__linux__) || defined(__QNX__) || defined(__MACH__) ++#elif defined(_POSIX_MONOTONIC_CLOCK) || defined(__QNX__) || defined(ANDROID) || defined(__MACH__) || defined(__PSL1GHT__) + struct timespec tv = {0}; + if (ra_clock_gettime(CLOCK_MONOTONIC, &tv) == 0) + time_ticks = (retro_perf_tick_t)tv.tv_sec * 1000000000 + Property changes on: head/games/libretro-desmume2015/files/patch-desmume_src_libretro-common_features_features__cpu.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property