FreeBSD Bugzilla – Attachment 226444 Details for
Bug 257170
[NEW PORT] emulators/libretro-flycast: Standalone port of flycast to libretro
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
emulators_libretro-flycast.shar
emulators_libretro-flycast.shar (text/plain), 6.70 KB, created by
Timothy Beyer
on 2021-07-14 06:22:16 UTC
(
hide
)
Description:
emulators_libretro-flycast.shar
Filename:
MIME Type:
Creator:
Timothy Beyer
Created:
2021-07-14 06:22:16 UTC
Size:
6.70 KB
patch
obsolete
># This is a shell archive. Save it in a file, remove anything before ># this line, and then unpack it by entering "sh file". Note, it may ># create directories; files and directories will be owned by you and ># have default permissions. ># ># This archive contains: ># ># emulators ># emulators/libretro-flycast ># emulators/libretro-flycast/files ># emulators/libretro-flycast/files/patch-Makefile ># emulators/libretro-flycast/files/patch-core_hw_aica_dsp__x64.cpp ># emulators/libretro-flycast/files/patch-core_hw_bba_rtl8139c.h ># emulators/libretro-flycast/files/patch-core_libretro-common_rthreads_rthreads.c ># emulators/libretro-flycast/Makefile ># emulators/libretro-flycast/distinfo ># emulators/libretro-flycast/pkg-descr ># emulators/libretro-flycast/pkg-message ># >echo c - emulators >mkdir -p emulators > /dev/null 2>&1 >echo c - emulators/libretro-flycast >mkdir -p emulators/libretro-flycast > /dev/null 2>&1 >echo c - emulators/libretro-flycast/files >mkdir -p emulators/libretro-flycast/files > /dev/null 2>&1 >echo x - emulators/libretro-flycast/files/patch-Makefile >sed 's/^X//' >emulators/libretro-flycast/files/patch-Makefile << 'fbb81b14988aae7ab15946ca5291bef8' >X--- Makefile.orig 2021-05-17 21:23:19 UTC >X+++ Makefile >X@@ -45,12 +45,8 @@ CC_AS ?= ${CC_PREFIX}as >X >X MFLAGS := >X ASFLAGS := >X-LDFLAGS := >X LDFLAGS_END := >X INCFLAGS := >X-LIBS := >X-CFLAGS := >X-CXXFLAGS := >X >X GIT_VERSION := " $(shell git rev-parse --short HEAD || echo unknown)" >X ifneq ($(GIT_VERSION)," unknown") >X@@ -70,7 +66,7 @@ endif >X # Target Dynarec >X WITH_DYNAREC = $(ARCH) >X >X-ifeq ($(ARCH), $(filter $(ARCH), i386 i686)) >X+ifeq ($(ARCH), $(filter $(ARCH), i386 i486 i686)) >X WITH_DYNAREC = x86 >X endif >X >X@@ -145,7 +141,7 @@ ifneq (,$(findstring unix,$(platform))) >X HAVE_CDROM = 1 >X fpic = -fPIC >X >X- ifeq ($(WITH_DYNAREC), $(filter $(WITH_DYNAREC), x86_64 x64)) >X+ ifeq ($(WITH_DYNAREC), $(filter $(WITH_DYNAREC), x86_64 x64 amd64)) >X CFLAGS += -DTARGET_LINUX_x64 >X SINGLE_PREC_FLAGS=1 >X HAVE_GENERIC_JIT = 0 >fbb81b14988aae7ab15946ca5291bef8 >echo x - emulators/libretro-flycast/files/patch-core_hw_aica_dsp__x64.cpp >sed 's/^X//' >emulators/libretro-flycast/files/patch-core_hw_aica_dsp__x64.cpp << 'e8bef680334ab0bd16c52babff63d229' >X--- core/hw/aica/dsp_x64.cpp.orig 2021-05-17 21:23:19 UTC >X+++ core/hw/aica/dsp_x64.cpp >X@@ -37,6 +37,8 @@ DECL_ALIGN(4096) static u8 CodeBuffer[32 * 1024] >X __attribute__((section(".text"))); >X #elif defined(__MACH__) >X __attribute__((section("__TEXT,.text"))); >X+#elif defined(__FreeBSD__) >X+ __attribute__((section(".text"))); >X #else >X #error CodeBuffer code section unknown >X #endif >e8bef680334ab0bd16c52babff63d229 >echo x - emulators/libretro-flycast/files/patch-core_hw_bba_rtl8139c.h >sed 's/^X//' >emulators/libretro-flycast/files/patch-core_hw_bba_rtl8139c.h << 'f045f8d97285604b278afa13fdd90b2e' >X--- core/hw/bba/rtl8139c.h.orig 2021-06-18 06:17:55 UTC >X+++ core/hw/bba/rtl8139c.h >X@@ -58,6 +58,7 @@ struct MemoryRegion { >X /* >X * Byte swapping utilities >X */ >X+/* >X static inline uint16_t bswap16(uint16_t x) >X { >X return (((x & 0x00ff) << 8) | >X@@ -71,6 +72,7 @@ static inline uint32_t bswap32(uint32_t x) >X ((x & 0x00ff0000U) >> 8) | >X ((x & 0xff000000U) >> 24)); >X } >X+*/ >X #define glue(a, b) _glue(a, b) >X #define _glue(a, b) a ## b >X >f045f8d97285604b278afa13fdd90b2e >echo x - emulators/libretro-flycast/files/patch-core_libretro-common_rthreads_rthreads.c >sed 's/^X//' >emulators/libretro-flycast/files/patch-core_libretro-common_rthreads_rthreads.c << '49bb7ed199479bd6d1ab9afc894f2eb1' >X--- core/libretro-common/rthreads/rthreads.c.orig 2021-05-17 21:23:19 UTC >X+++ core/libretro-common/rthreads/rthreads.c >X@@ -55,10 +55,9 @@ >X #include <sys/sys_time.h> >X #else >X #include <pthread.h> >X-#include <time.h> >X #endif >X >X-#if defined(VITA) || defined(BSD) || defined(ORBIS) >X+#if defined(VITA) || defined(__FreeBSD__) || defined(ORBIS) >X #include <sys/time.h> >X #endif >X >49bb7ed199479bd6d1ab9afc894f2eb1 >echo x - emulators/libretro-flycast/Makefile >sed 's/^X//' >emulators/libretro-flycast/Makefile << 'ef5bb9e63cfcf13678cb2f10c1caf457' >X# $FreeBSD$ >X >XPORTNAME= libretro-flycast >XPORTVERSION= 0.20210608 >XCATEGORIES= emulators games >X >XMAINTAINER= beyert@cs.ucr.edu >XCOMMENT= Standalone port of flycast to libretro >X >XLICENSE= GPLv2 >X#LICENSE_COMB= multi >XLICENSE_FILE= ${WRKSRC}/LICENSE >X >XONLY_FOR_ARCHS= amd64 i386 >X >XLIB_DEPENDS+= libcurl.so:ftp/curl \ >X libasound.so:audio/alsa-lib \ >X libao.so:audio/libao \ >X libevdev.so:devel/libevdev \ >X libpulse.so:audio/pulseaudio \ >X libudev.so:devel/libudev-devd \ >X libvulkan.so:graphics/vulkan-loader >X >XUSES= compiler:c++11-lib gmake gl xorg dos2unix >XUSE_LDCONFIG= yes >X >XUSE_GITHUB= yes >XGH_ACCOUNT= libretro >XGH_PROJECT= flycast >XGH_TAGNAME= 8e4fa54e >X >XUSE_GL+= gl glew glu >X >XCFLAGS+= -I${LOCALBASE}/include >XCXXFLAGS+= -I${LOCALBASE}/include >X >X.include <bsd.port.pre.mk> >X >XDOS2UNIX_FILES= core/hw/bba/rtl8139c.h >X >X.if ${ARCH} == amd64 >XCFLAGS+= -DLOW_END >XCXXFLAGS+= -DLOW_END >X.endif >X >XLDFLAGS+= -L${LOCALBASE}/lib >XMAKE_ARGS= HAVE_VULKAN=0 HAVE_GENERIC_JIT=0 >X >X.if ${ARCH} == amd64 >XMAKE_ARGS+= WITH_DYNAREC=x86_64 >X.elif ${ARCH} == i386 >XMAKE_ARGS+= WITH_DYNAREC=x86 >X.endif >X >XPLIST_FILES= lib/libretro/flycast_libretro.so >X >Xdo-install: >X ${MKDIR} ${STAGEDIR}/${PREFIX}/lib/libretro; >X ${INSTALL_LIB} ${WRKSRC}/flycast_libretro.so \ >X ${STAGEDIR}/${PREFIX}/lib/libretro/flycast_libretro.so; >X >X.include <bsd.port.post.mk> >ef5bb9e63cfcf13678cb2f10c1caf457 >echo x - emulators/libretro-flycast/distinfo >sed 's/^X//' >emulators/libretro-flycast/distinfo << '359490ea877769b25fb223937fa1d324' >XTIMESTAMP = 1623193824 >XSHA256 (libretro-flycast-0.20210608-8e4fa54e_GH0.tar.gz) = c11f19e25cf605ca3a2df74d1595c1b21ef8fff52b7fa42fc9bfc7fde611059e >XSIZE (libretro-flycast-0.20210608-8e4fa54e_GH0.tar.gz) = 6576666 >359490ea877769b25fb223937fa1d324 >echo x - emulators/libretro-flycast/pkg-descr >sed 's/^X//' >emulators/libretro-flycast/pkg-descr << 'd039d63e6a06a4b84990397d610367ad' >XStandalone port of Flycast to libretro. >X >XFlycast is a multi-platform Sega Dreamcast, Naomi and Atomiswave emulator >Xderived from Reicast. >X >XWWW: https://git.libretro.com/libretro/flycast >d039d63e6a06a4b84990397d610367ad >echo x - emulators/libretro-flycast/pkg-message >sed 's/^X//' >emulators/libretro-flycast/pkg-message << '5cdeb202e850e692ccee28a6d2cf1efa' >X[ >X{ type: install >X message: <<EOM >XThe libretro core of flycast will not run if run ahead support is enabled. >XPlease set all lines in ~/.config/retroarch/retroarch.cfg that correspond to >Xthe setting "run_ahead_enabled" to "false", as shown in the example below: >X >Xrun_ahead_enabled = "false" >X >XTo troubleshoot issues, running retroarch with the -v argument may help to >Xacquire more diagnostic information. >XEOM >X} >X] >5cdeb202e850e692ccee28a6d2cf1efa >exit >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 257170
:
226444
|
233990