Date: Tue, 19 Nov 2024 11:28:26 GMT From: Ganael LAPLANCHE <martymac@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 1a2a90b9e008 - main - emulators/duckstation: Fix saving to memory card Message-ID: <202411191128.4AJBSQ2Y093051@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by martymac: URL: https://cgit.FreeBSD.org/ports/commit/?id=1a2a90b9e0084f7ac6c1286d621839be8c907e4d commit 1a2a90b9e0084f7ac6c1286d621839be8c907e4d Author: Ganael LAPLANCHE <martymac@FreeBSD.org> AuthorDate: 2024-11-19 11:24:51 +0000 Commit: Ganael LAPLANCHE <martymac@FreeBSD.org> CommitDate: 2024-11-19 11:28:16 +0000 emulators/duckstation: Fix saving to memory card PR: 282616 Reported by: Ilya Bagleybter <ilya.bagleybter@gmail.com> --- emulators/duckstation/Makefile | 1 + emulators/duckstation/files/patch-src-common-byte_stream.cpp | 11 +++++++++++ 2 files changed, 12 insertions(+) diff --git a/emulators/duckstation/Makefile b/emulators/duckstation/Makefile index 851bd5fbdd33..e861d907ea0d 100644 --- a/emulators/duckstation/Makefile +++ b/emulators/duckstation/Makefile @@ -1,6 +1,7 @@ PORTNAME= duckstation PORTVERSION= 20240614 DISTVERSIONPREFIX= v +PORTREVISION= 1 CATEGORIES= emulators MAINTAINER= martymac@FreeBSD.org diff --git a/emulators/duckstation/files/patch-src-common-byte_stream.cpp b/emulators/duckstation/files/patch-src-common-byte_stream.cpp new file mode 100644 index 000000000000..4b56b7c460b6 --- /dev/null +++ b/emulators/duckstation/files/patch-src-common-byte_stream.cpp @@ -0,0 +1,11 @@ +--- src/common/byte_stream.cpp.orig 2024-06-14 05:59:32 UTC ++++ src/common/byte_stream.cpp +@@ -1118,7 +1118,7 @@ std::unique_ptr<ByteStream> ByteStream::OpenFile(const + std::snprintf(temporaryFileName, fileNameLength + 8, "%s.XXXXXX", fileName); + + // fill in random characters +-#if defined(__linux__) || defined(__ANDROID__) || defined(__APPLE__) ++#if defined(__linux__) || defined(__ANDROID__) || defined(__APPLE__) || defined(__FreeBSD__) + mkstemp(temporaryFileName); + #else + mktemp(temporaryFileName);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202411191128.4AJBSQ2Y093051>