summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias C. Berner <tcberner@FreeBSD.org>2020-03-08 18:44:05 +0000
committerTobias C. Berner <tcberner@FreeBSD.org>2020-03-08 18:44:05 +0000
commitba2a67436c1b1f23fc84e7f576e8a85f5decb534 (patch)
tree2fabb1c53006ef7d06441f6f7ed757a432e3f5df
parentdatabases/cassandra3: Update to 3.11.6 (diff)
emulators/fs-uae: Update to 3.0.2
PR: 241752 Submitted by: sirdice@gmail.com (maintainer)
-rw-r--r--emulators/fs-uae/Makefile10
-rw-r--r--emulators/fs-uae/distinfo6
-rw-r--r--emulators/fs-uae/files/patch-configure12
-rw-r--r--emulators/fs-uae/files/patch-src_od-win32_picasso96__win.cpp4
4 files changed, 24 insertions, 8 deletions
diff --git a/emulators/fs-uae/Makefile b/emulators/fs-uae/Makefile
index d364cfb9f03d..e642d46c8313 100644
--- a/emulators/fs-uae/Makefile
+++ b/emulators/fs-uae/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= fs-uae
-PORTVERSION= 3.0.0
+PORTVERSION= 3.0.2
CATEGORIES= emulators
MASTER_SITES= http://fs-uae.net/stable/${PORTVERSION}/
@@ -29,10 +29,14 @@ LLD_UNSAFE= yes
INSTALLS_ICONS= yes
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --disable-jit
CFLAGS+= -Wno-c++11-narrowing
-OPTIONS_DEFINE= DOCS
+OPTIONS_DEFINE= DOCS DEBUG
+OPTIONS_DEFINE_i386= JIT
+OPTIONS_DEFINE_amd64= JIT
+
+JIT_DESC= Enable JIT compiler (experimental)
+JIT_CONFIGURE_ENABLE= jit
post-patch:
@${REINPLACE_CMD} -e 's|= bind|= ::bind|' \
diff --git a/emulators/fs-uae/distinfo b/emulators/fs-uae/distinfo
index 027c6921671c..eddba8635a0b 100644
--- a/emulators/fs-uae/distinfo
+++ b/emulators/fs-uae/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1571170591
-SHA256 (fs-uae-3.0.0.tar.gz) = 221568b8f78bac352f84297f0cabe984d3da4f808e39cc3191541c02b389c964
-SIZE (fs-uae-3.0.0.tar.gz) = 4841427
+TIMESTAMP = 1573025332
+SHA256 (fs-uae-3.0.2.tar.gz) = 4ededc341edf12ad84e15ecfaf7942ebba12b75aec8c78fb0275d13c749f8aab
+SIZE (fs-uae-3.0.2.tar.gz) = 4843019
diff --git a/emulators/fs-uae/files/patch-configure b/emulators/fs-uae/files/patch-configure
new file mode 100644
index 000000000000..8e421abc3c8f
--- /dev/null
+++ b/emulators/fs-uae/files/patch-configure
@@ -0,0 +1,12 @@
+--- configure.orig 2019-11-05 21:10:47 UTC
++++ configure
+@@ -13526,9 +13526,6 @@ main ()
+ #if !defined(__i386__) && !defined(__x86_64__)
+ #error JIT is only supported on x86/x86-64
+ #endif
+- #if defined(__OpenBSD__) || defined(__FreeBSD__)
+- #error no JIT on OpenBSD/FreeBSD right now
+- #endif
+
+ ;
+ return 0;
diff --git a/emulators/fs-uae/files/patch-src_od-win32_picasso96__win.cpp b/emulators/fs-uae/files/patch-src_od-win32_picasso96__win.cpp
index e95291f46e93..920aa57cbb35 100644
--- a/emulators/fs-uae/files/patch-src_od-win32_picasso96__win.cpp
+++ b/emulators/fs-uae/files/patch-src_od-win32_picasso96__win.cpp
@@ -1,6 +1,6 @@
---- src/od-win32/picasso96_win.cpp.orig 2017-01-24 16:58:57 UTC
+--- src/od-win32/picasso96_win.cpp.orig 2019-05-17 17:57:50 UTC
+++ src/od-win32/picasso96_win.cpp
-@@ -3300,7 +3300,7 @@ static uae_u32 REGPARAM2 picasso_BlitRec
+@@ -3302,7 +3302,7 @@ static uae_u32 REGPARAM2 picasso_BlitRect (TrapContext
if (NOBLITTER_BLIT)
return 0;
P96TRACE((_T("BlitRect(%d, %d, %d, %d, %d, %d, 0x%x)\n"), srcx, srcy, dstx, dsty, width, height, Mask));