pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/emulators/dosbox-x dosbox-x: Update to 0.84.3
details: https://anonhg.NetBSD.org/pkgsrc/rev/f5674245d16b
branches: trunk
changeset: 387790:f5674245d16b
user: triaxx <triaxx%pkgsrc.org@localhost>
date: Sun Nov 06 21:31:57 2022 +0000
description:
dosbox-x: Update to 0.84.3
pkgsrc changes:
---------------
* Fix building of FreeBSD by adding -lpthread to LDFLAGS and by disabling
call to X11_ErrorHandlerInstall.
upstream changes:
-----------------
* 0.84.3: https://dosbox-x.com/release-0.84.3.html
* 0.84.2: https://dosbox-x.com/release-0.84.2.html
* 0.84.1: https://dosbox-x.com/release-0.84.1.html
* 0.84.0: https://dosbox-x.com/release-0.84.0.html
diffstat:
emulators/dosbox-x/Makefile | 7 ++-
emulators/dosbox-x/distinfo | 15 +++++----
emulators/dosbox-x/patches/patch-configure.ac | 4 +-
emulators/dosbox-x/patches/patch-include_dosbox.h | 13 +++++---
emulators/dosbox-x/patches/patch-src_dos_dos__programs.cpp | 4 +-
emulators/dosbox-x/patches/patch-src_output_output__surface.cpp | 16 ++++++++++
6 files changed, 40 insertions(+), 19 deletions(-)
diffs (133 lines):
diff -r 08329bb4a393 -r f5674245d16b emulators/dosbox-x/Makefile
--- a/emulators/dosbox-x/Makefile Sun Nov 06 20:58:19 2022 +0000
+++ b/emulators/dosbox-x/Makefile Sun Nov 06 21:31:57 2022 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.41 2022/09/27 20:58:23 wiz Exp $
+# $NetBSD: Makefile,v 1.42 2022/11/06 21:31:57 triaxx Exp $
-DISTNAME= dosbox-x-0.83.25
-PKGREVISION= 4
+DISTNAME= dosbox-x-0.84.3
CATEGORIES= emulators
MASTER_SITES= ${MASTER_SITE_GITHUB:=joncampbell123/}
GITHUB_TAG= dosbox-x-v${PKGVERSION_NOREV}
@@ -46,6 +45,8 @@
NOT_PAX_MPROTECT_SAFE+= bin/dosbox-x
.endif
+LDFLAGS.FreeBSD+= -lpthread
+
INSTALLATION_DIRS+= bin share/dosbox-x
INSTALLATION_DIRS+= share/applications
INSTALLATION_DIRS+= share/pixmaps
diff -r 08329bb4a393 -r f5674245d16b emulators/dosbox-x/distinfo
--- a/emulators/dosbox-x/distinfo Sun Nov 06 20:58:19 2022 +0000
+++ b/emulators/dosbox-x/distinfo Sun Nov 06 21:31:57 2022 +0000
@@ -1,10 +1,11 @@
-$NetBSD: distinfo,v 1.25 2022/05/03 18:26:24 nia Exp $
+$NetBSD: distinfo,v 1.26 2022/11/06 21:31:57 triaxx Exp $
-BLAKE2s (dosbox-x-0.83.25.tar.gz) = 8b0dd2da8dbc59ea12edb6e80506d7f2473d475ecf3c3ed27d5b80569552fe52
-SHA512 (dosbox-x-0.83.25.tar.gz) = 372214459150c7511e542a9f19e65dcede6ca6e5c57211f6a807bf324b25ea676ab5cf0743ef1e58ea3bdc503c6a7045bec4107f90f944f9400641ea6af826b7
-Size (dosbox-x-0.83.25.tar.gz) = 64715876 bytes
-SHA1 (patch-configure.ac) = 906aa99b5fce6224ef4c001d9bba1e4fc89a34f9
-SHA1 (patch-include_dosbox.h) = 6f7397b4a611511fc1782b1603c9f5cd51b74eb9
+BLAKE2s (dosbox-x-0.84.3.tar.gz) = 2d77836763becdcd507adede587b39b9051d8f26fa6d37c485f04245f5d9fd7d
+SHA512 (dosbox-x-0.84.3.tar.gz) = 82bebe82dd84962dca0182d9236cb8549d9f873f7fe562a863481535fa5d956e283b5f4f1d29cd0adbf8763c844ad0f181e3308d5e7c99ed80f44e3f47998c9f
+Size (dosbox-x-0.84.3.tar.gz) = 67868336 bytes
+SHA1 (patch-configure.ac) = 14c23c6a69579490647782b6516f39c6a09474b0
+SHA1 (patch-include_dosbox.h) = 501ec03a46a1100afe5cccc00b73af4a344858a9
SHA1 (patch-include_iconvpp.hpp) = dcf1428d202ad0b71b898741908f00445b55fd54
-SHA1 (patch-src_dos_dos__programs.cpp) = 64444c54b319fbfc7de7219d88fa6add953a0fb0
+SHA1 (patch-src_dos_dos__programs.cpp) = 984c9fc621536046044e76f096969f7d90902627
SHA1 (patch-src_libs_physfs_physfs__platform__unix.c) = 5cde2acf3691478f1d91945b3942c968af2eadc6
+SHA1 (patch-src_output_output__surface.cpp) = b1f6fc85edf8f0d3afc54de0f95d8640ddce149b
diff -r 08329bb4a393 -r f5674245d16b emulators/dosbox-x/patches/patch-configure.ac
--- a/emulators/dosbox-x/patches/patch-configure.ac Sun Nov 06 20:58:19 2022 +0000
+++ b/emulators/dosbox-x/patches/patch-configure.ac Sun Nov 06 21:31:57 2022 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-configure.ac,v 1.5 2021/08/10 11:03:50 nia Exp $
+$NetBSD: patch-configure.ac,v 1.6 2022/11/06 21:31:57 triaxx Exp $
- Detect NetBSD/evbarm properly.
- Shell portability.
@@ -14,7 +14,7 @@
AC_DEFINE(C_TARGETCPU,ARMV4LE)
AC_MSG_RESULT(ARMv6 Little Endian)
c_targetcpu="arm"
-@@ -1007,7 +1007,7 @@ esac
+@@ -1029,7 +1029,7 @@ esac
dnl FEATURE: Whether to use libslirp, and enable userspace TCP/IP emulation
AH_TEMPLATE(C_SLIRP, [Define to 1 to enable userspace TCP/IP emulation, requires libslirp])
AC_ARG_ENABLE(libslirp,AC_HELP_STRING([--disable-libslirp],[Disable libslirp support]),enable_libslirp=$enableval,enable_libslirp=yes)
diff -r 08329bb4a393 -r f5674245d16b emulators/dosbox-x/patches/patch-include_dosbox.h
--- a/emulators/dosbox-x/patches/patch-include_dosbox.h Sun Nov 06 20:58:19 2022 +0000
+++ b/emulators/dosbox-x/patches/patch-include_dosbox.h Sun Nov 06 21:31:57 2022 +0000
@@ -1,21 +1,24 @@
-$NetBSD: patch-include_dosbox.h,v 1.2 2021/01/05 11:01:49 nia Exp $
+$NetBSD: patch-include_dosbox.h,v 1.3 2022/11/06 21:31:57 triaxx Exp $
GCC having 80-bit long double is far from a safe assumption.
---- include/dosbox.h.orig 2020-12-01 02:49:53.000000000 +0000
+--- include/dosbox.h.orig 2022-09-01 22:55:29.000000000 +0000
+++ include/dosbox.h
-@@ -69,16 +69,6 @@
+@@ -68,19 +68,6 @@
# define pref_struct_stat struct stat
#endif
-// TODO: The autoconf script should test the size of long double
-#if defined(_MSC_VER)
-// Microsoft C++ sizeof(long double) == sizeof(double)
--#elif defined(__arm__)
+-#undef HAS_LONG_DOUBLE
+-#elif defined(__arm__) || defined(__aarch64__)
-// ARMv7 (Raspberry Pi) does not have long double, sizeof(long double) == sizeof(double)
+-// ARM 64 has a quadruple-precision float instead of the 80-bit extended precision one used by x87
+-#undef HAS_LONG_DOUBLE
-#else
-// GCC, other compilers, have sizeof(long double) == 10 80-bit IEEE
--# define HAS_LONG_DOUBLE 1
+-#define HAS_LONG_DOUBLE 1
-#endif
-
GCC_ATTRIBUTE(noreturn) void E_Exit(const char * format,...) GCC_ATTRIBUTE( __format__(__printf__, 1, 2));
diff -r 08329bb4a393 -r f5674245d16b emulators/dosbox-x/patches/patch-src_dos_dos__programs.cpp
--- a/emulators/dosbox-x/patches/patch-src_dos_dos__programs.cpp Sun Nov 06 20:58:19 2022 +0000
+++ b/emulators/dosbox-x/patches/patch-src_dos_dos__programs.cpp Sun Nov 06 21:31:57 2022 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-src_dos_dos__programs.cpp,v 1.4 2022/03/07 16:37:52 nia Exp $
+$NetBSD: patch-src_dos_dos__programs.cpp,v 1.5 2022/11/06 21:31:57 triaxx Exp $
dos_programs.cpp: In member function 'bool AUTOTYPE::ReadDoubleArg(const string&, const char*, const double&, const double&, const double&, double&)':
dos_programs.cpp:5556:12: error: expected unqualified-id before '(' token
@@ -6,7 +6,7 @@
--- src/dos/dos_programs.cpp.orig 2022-03-01 02:12:39.000000000 +0000
+++ src/dos/dos_programs.cpp
-@@ -6756,11 +6756,7 @@ bool AUTOTYPE::ReadDoubleArg(const std::
+@@ -6935,11 +6935,7 @@ bool AUTOTYPE::ReadDoubleArg(const std::
if (cmd->FindString(flag, str_value, true)) {
// Can the user's value be parsed?
const double user_value = to_finite<double>(str_value);
diff -r 08329bb4a393 -r f5674245d16b emulators/dosbox-x/patches/patch-src_output_output__surface.cpp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/dosbox-x/patches/patch-src_output_output__surface.cpp Sun Nov 06 21:31:57 2022 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-src_output_output__surface.cpp,v 1.1 2022/11/06 21:31:57 triaxx Exp $
+
+Fix linking error on FreeBSD (from FreeBSD ports).
+
+--- src/output/output_surface.cpp.orig 2022-09-01 22:55:29.000000000 +0000
++++ src/output/output_surface.cpp
+@@ -24,7 +24,9 @@ void OUTPUT_SURFACE_Initialize()
+ // blitting the wrong dimensions to the window and trigger an X11 BadValue error.
+ // Set up an error handler that prints the error to STDERR and then returns,
+ // instead of the default handler which prints an error and exit()s this program.
++#if !defined(__FreeBSD__)
+ X11_ErrorHandlerInstall();
++#endif
+ #endif
+ }
+
Home |
Main Index |
Thread Index |
Old Index