Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Feb 2023 00:34:17 GMT
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 402435627c36 - main - emulators/rpcs3: update to 0.0.26.14764
Message-ID:  <202302260034.31Q0YHut035034@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by jbeich:

URL: https://cgit.FreeBSD.org/ports/commit/?id=402435627c36beb7284bf94551e68896589caf0a

commit 402435627c36beb7284bf94551e68896589caf0a
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2023-02-25 10:23:07 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2023-02-26 00:33:48 +0000

    emulators/rpcs3: update to 0.0.26.14764
    
    Changes:        https://github.com/RPCS3/rpcs3/compare/3388c8ed09...c570fd03d1
---
 emulators/rpcs3/Makefile             |  4 ++--
 emulators/rpcs3/distinfo             |  6 +++---
 emulators/rpcs3/files/patch-libc++13 | 26 ++++++++++++++++++++++++++
 3 files changed, 31 insertions(+), 5 deletions(-)

diff --git a/emulators/rpcs3/Makefile b/emulators/rpcs3/Makefile
index 16fa0531d718..0d67080585f3 100644
--- a/emulators/rpcs3/Makefile
+++ b/emulators/rpcs3/Makefile
@@ -1,7 +1,7 @@
 PORTNAME=	rpcs3
 DISTVERSIONPREFIX=	v
-DISTVERSION=	0.0.26-14757 # git rev-list --count HEAD
-DISTVERSIONSUFFIX=	-g3388c8ed09
+DISTVERSION=	0.0.26-14764 # git rev-list --count HEAD
+DISTVERSIONSUFFIX=	-gc570fd03d1
 CATEGORIES=	emulators wayland
 
 MAINTAINER=	jbeich@FreeBSD.org
diff --git a/emulators/rpcs3/distinfo b/emulators/rpcs3/distinfo
index 368f53d30733..9a6fcfbcdd7c 100644
--- a/emulators/rpcs3/distinfo
+++ b/emulators/rpcs3/distinfo
@@ -1,6 +1,6 @@
-TIMESTAMP = 1677188813
-SHA256 (RPCS3-rpcs3-v0.0.26-14757-g3388c8ed09_GH0.tar.gz) = fc55f0c48664e593f905dce6148bf768c12b4a2ffb184b0aa1af0c5ee37dea35
-SIZE (RPCS3-rpcs3-v0.0.26-14757-g3388c8ed09_GH0.tar.gz) = 8773843
+TIMESTAMP = 1677367816
+SHA256 (RPCS3-rpcs3-v0.0.26-14764-gc570fd03d1_GH0.tar.gz) = 0acb7552193c30486cf868de1f39c711f218fedbabf51fa15eef36372737389f
+SIZE (RPCS3-rpcs3-v0.0.26-14764-gc570fd03d1_GH0.tar.gz) = 8774790
 SHA256 (RPCS3-hidapi-hidapi-0.13.1-2-gecf1b62_GH0.tar.gz) = a45fdf93aeb913407f0e707769b3ee7ac58bef6d44e299065ea1df038261ac1c
 SIZE (RPCS3-hidapi-hidapi-0.13.1-2-gecf1b62_GH0.tar.gz) = 245283
 SHA256 (RPCS3-llvm-mirror-9b52b6c39ae9_GH0.tar.gz) = 9df78a8282453a0e1a3653664ef11ef47b8ab4d2b86e486922770ed2240788b0
diff --git a/emulators/rpcs3/files/patch-libc++13 b/emulators/rpcs3/files/patch-libc++13
new file mode 100644
index 000000000000..2b4e252c1987
--- /dev/null
+++ b/emulators/rpcs3/files/patch-libc++13
@@ -0,0 +1,26 @@
+Drop after FreeBSD 13.1/12.4 EOL around 2023-12-31.
+
+Utilities/Config.cpp:194:23: error: no matching function for call to 'to_chars'
+        if (auto [ptr, ec] = std::to_chars(str.data(), str.data() + str.size(), value, std::chars_format::fixed); ec == std::errc())
+                             ^~~~~~~~~~~~~
+/usr/include/c++/v1/charconv:166:6: note: candidate function not viable: no known conversion from 'std::chars_format' to 'int' for 4th argument
+void to_chars(char*, char*, bool, int = 10) = delete;
+     ^
+/usr/include/c++/v1/charconv:458:1: note: candidate template ignored: requirement 'is_integral<double>::value' was not satisfied [with _Tp = double]
+to_chars(char* __first, char* __last, _Tp __value, int __base)
+^
+/usr/include/c++/v1/charconv:450:1: note: candidate function template not viable: requires 3 arguments, but 4 were provided
+to_chars(char* __first, char* __last, _Tp __value)
+^
+
+--- Utilities/Config.cpp.orig	2023-02-25 10:23:07 UTC
++++ Utilities/Config.cpp
+@@ -185,7 +185,7 @@ bool try_to_string(std::string* out, const f64& value)
+ 
+ bool try_to_string(std::string* out, const f64& value)
+ {
+-#ifdef __APPLE__
++#if defined(_LIBCPP_VERSION) && _LIBCPP_VERSION < 14000
+ 	if (out) *out = std::to_string(value);
+ 	return true;
+ #else



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202302260034.31Q0YHut035034>