Date: Wed, 15 Nov 2017 20:01:04 +0000 (UTC) From: Jan Beich <jbeich@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r454289 - in head/emulators/rpcs3: . files Message-ID: <201711152001.vAFK14fB039442@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jbeich Date: Wed Nov 15 20:01:04 2017 New Revision: 454289 URL: https://svnweb.freebsd.org/changeset/ports/454289 Log: emulators/rpcs3: update to 0.0.4.14 Changes: https://github.com/RPCS3/rpcs3/compare/0064976c...c435b328 Added: head/emulators/rpcs3/files/patch-Utilities_Thread.cpp (contents, props changed) Modified: head/emulators/rpcs3/Makefile (contents, props changed) head/emulators/rpcs3/distinfo (contents, props changed) Modified: head/emulators/rpcs3/Makefile ============================================================================== --- head/emulators/rpcs3/Makefile Wed Nov 15 19:57:11 2017 (r454288) +++ head/emulators/rpcs3/Makefile Wed Nov 15 20:01:04 2017 (r454289) @@ -2,8 +2,8 @@ PORTNAME= rpcs3 DISTVERSIONPREFIX= v -DISTVERSION= 0.0.4-0 -DISTVERSIONSUFFIX= -g0064976c +DISTVERSION= 0.0.4-14 +DISTVERSIONSUFFIX= -gc435b328 CATEGORIES= emulators MAINTAINER= jbeich@FreeBSD.org Modified: head/emulators/rpcs3/distinfo ============================================================================== --- head/emulators/rpcs3/distinfo Wed Nov 15 19:57:11 2017 (r454288) +++ head/emulators/rpcs3/distinfo Wed Nov 15 20:01:04 2017 (r454289) @@ -1,6 +1,6 @@ -TIMESTAMP = 1510510402 -SHA256 (RPCS3-rpcs3-v0.0.4-0-g0064976c_GH0.tar.gz) = aa2f6c09b944519b3d3d901156f4f75681a9ebf8aef68b56b135300180b1e0aa -SIZE (RPCS3-rpcs3-v0.0.4-0-g0064976c_GH0.tar.gz) = 3560879 +TIMESTAMP = 1510768802 +SHA256 (RPCS3-rpcs3-v0.0.4-14-gc435b328_GH0.tar.gz) = 4677caee19a192ec9490e76c6167d0d0a8eb9bc943b9bfddafb5232a36a3c874 +SIZE (RPCS3-rpcs3-v0.0.4-14-gc435b328_GH0.tar.gz) = 3562247 SHA256 (RPCS3-hidapi-hidapi-0.8.0-rc1-25-gca39ce8_GH0.tar.gz) = e50e4f4e9035e891e16867e995f44aac87ce734a9dde169f02fc9719b2ce3642 SIZE (RPCS3-hidapi-hidapi-0.8.0-rc1-25-gca39ce8_GH0.tar.gz) = 105623 SHA256 (RPCS3-pugixml-f205aaf_GH0.tar.gz) = 3b2a7e21625d8cbeb3aa1841b8816f6cab0752e89008b9fc67a325c800f153b5 Added: head/emulators/rpcs3/files/patch-Utilities_Thread.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/emulators/rpcs3/files/patch-Utilities_Thread.cpp Wed Nov 15 20:01:04 2017 (r454289) @@ -0,0 +1,41 @@ +Utilities/Thread.cpp:1920:2: error: unknown type name 'cpu_set_t'; did you mean 'cpusetid_t'? + cpu_set_t cs; + ^~~~~~~~~ + cpusetid_t +/usr/include/sys/types.h:84:22: note: 'cpusetid_t' declared here +typedef __cpusetid_t cpusetid_t; + ^ +Utilities/Thread.cpp:1921:2: error: use of undeclared identifier 'CPU_ZERO' + CPU_ZERO(&cs); + ^ +Utilities/Thread.cpp:1922:2: error: use of undeclared identifier 'CPU_SET' + CPU_SET(core, &cs); + ^ +Utilities/Thread.cpp:1923:48: error: unknown type name 'cpu_set_t'; did you mean 'cpusetid_t'? + pthread_setaffinity_np(pthread_self(), sizeof(cpu_set_t), &cs); + ^~~~~~~~~ + cpusetid_t + +--- Utilities/Thread.cpp.orig 2017-11-15 18:00:02 UTC ++++ Utilities/Thread.cpp +@@ -25,6 +25,11 @@ + #include <sys/resource.h> + #endif + ++#if defined(__DragonFly__) || defined(__FreeBSD__) ++#include <pthread_np.h> ++#define cpu_set_t cpuset_t ++#endif ++ + #include "sync.h" + + thread_local u64 g_tls_fault_all = 0; +@@ -1916,7 +1921,7 @@ void thread_ctrl::set_ideal_processor_core(int core) + #ifdef _WIN32 + HANDLE _this_thread = GetCurrentThread(); + SetThreadIdealProcessor(_this_thread, core); +-#else ++#elif defined(__linux__) || defined(__DragonFly__) || defined(__FreeBSD__) + cpu_set_t cs; + CPU_ZERO(&cs); + CPU_SET(core, &cs);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201711152001.vAFK14fB039442>