From nobody Tue Nov 19 11:28:26 2024 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Xt2LL6SVRz5dvyR; Tue, 19 Nov 2024 11:28:26 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Xt2LL5qSSz4l9K; Tue, 19 Nov 2024 11:28:26 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1732015706; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=LHHfjhk8rzGeUkJ0esgSsCajeisBsfKo6GFtR254mlw=; b=QSdayfyv29PL7NwY5VHBJvThX4yEIJXcBAFc/KS+qXvsDeUu15OlnuZjX/NRf4qw10GwO7 t5qK4ByXqqlv3Po3aB9wZ5uvrvv7Ex3wHiRyzY+omcWIFxA1lqnAXglH3Y5BLQc9L6dCfi HCJK+1sMxXkzJ+2gY/ebrQ+6RiFBGOVER2BVqT/S4DuKUHgm3Up5cutHRd7+BHXsy+YjCl XXb628CBH8bUKEh07L4xKiKHtzPnusQ2wi7V80OSMF7Kce83wmjkVX3KMte47s74O5NXTS hjAXB5qth7vEnx7hbov7RXlXkYJ73BD9wiEPdvonwY4mfCNtB4Qo20nELVOE7g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1732015706; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=LHHfjhk8rzGeUkJ0esgSsCajeisBsfKo6GFtR254mlw=; b=AMLQPuT8ldAbEemj2xJeqFBRfpAsoLGNBqfr7mreASFSFfvehmfrbVeXlwi82j4mj1KMBX s85zUIzBazKlIf2WP1PLFOQnsQiwnpZ4EFenvqDW8MY+eTjfG6b6yN366K58mqV7OrNyvn GphZ5QJRb/sX5P1eAXBK/MQcDSN4CcMYccocrVgJNPeoBlr3pUQ13fTIW8HYZJ8+d5vwWm WAxNHMdJZqqurDBy2KESc8XEHsNky4d5BgAcaVpguc9W+x00hL7sxX8M2IRxW6udh1M0wg uO9/lX7c0/epj4z88Gxq8fWdvW+4fh4nELx6zpQdyE1+pRJXhDrn2JDX+Twt6g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1732015706; a=rsa-sha256; cv=none; b=YQM6mUcVVpK71YGiSyL3T8Yx9/hTeeqNY4BbrVZtw1Fzh4LnO8pN2WrhpmFSZAzjYlO+I8 1ttRckVzh3E5UpHcIn8a3H2qeYV1hUX8sP/8Nu7P22q0AkrwzayLlxxd3lL5SBTyBBrhqj N4i9E5HmNqiG5agqHZeUSE69pV773Fh0jU4r6X1JeBV7wnVwZRKM6iLy8Mt0HvMkc0LdKt drmLjd7MzuOnCSCpEcqnZMKnZL9WOJMKMj7J+ozlsDaJi8jx3h1jWIXBXfKJQYB6zwfbQ/ G9rCesp2mUVJ94ykVkDU8otPXs6uze+A/eKrKWqQ+yfJbq7HbPOvBxB6Ow7UYg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Xt2LL5R2Xz1Mv1; Tue, 19 Nov 2024 11:28:26 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 4AJBSQNU093054; Tue, 19 Nov 2024 11:28:26 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4AJBSQ2Y093051; Tue, 19 Nov 2024 11:28:26 GMT (envelope-from git) Date: Tue, 19 Nov 2024 11:28:26 GMT Message-Id: <202411191128.4AJBSQ2Y093051@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Ganael LAPLANCHE Subject: git: 1a2a90b9e008 - main - emulators/duckstation: Fix saving to memory card List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-dev-commits-ports-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: martymac X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 1a2a90b9e0084f7ac6c1286d621839be8c907e4d Auto-Submitted: auto-generated The branch main has been updated by martymac: URL: https://cgit.FreeBSD.org/ports/commit/?id=1a2a90b9e0084f7ac6c1286d621839be8c907e4d commit 1a2a90b9e0084f7ac6c1286d621839be8c907e4d Author: Ganael LAPLANCHE AuthorDate: 2024-11-19 11:24:51 +0000 Commit: Ganael LAPLANCHE CommitDate: 2024-11-19 11:28:16 +0000 emulators/duckstation: Fix saving to memory card PR: 282616 Reported by: Ilya Bagleybter --- 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::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);