From owner-svn-ports-all@freebsd.org Sun May 3 01:19:53 2020 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id E39C92CBBFC; Sun, 3 May 2020 01:19:53 +0000 (UTC) (envelope-from jbeich@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) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49F7Sn5jM4z3yD9; Sun, 3 May 2020 01:19:53 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id BE69E2C7A; Sun, 3 May 2020 01:19:53 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 0431Jrxq035817; Sun, 3 May 2020 01:19:53 GMT (envelope-from jbeich@FreeBSD.org) Received: (from jbeich@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 0431Jrg9035815; Sun, 3 May 2020 01:19:53 GMT (envelope-from jbeich@FreeBSD.org) Message-Id: <202005030119.0431Jrg9035815@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jbeich set sender to jbeich@FreeBSD.org using -f From: Jan Beich Date: Sun, 3 May 2020 01:19:53 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r533725 - in head/emulators/rpcs3: . files X-SVN-Group: ports-head X-SVN-Commit-Author: jbeich X-SVN-Commit-Paths: in head/emulators/rpcs3: . files X-SVN-Commit-Revision: 533725 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 May 2020 01:19:54 -0000 Author: jbeich Date: Sun May 3 01:19:53 2020 New Revision: 533725 URL: https://svnweb.freebsd.org/changeset/ports/533725 Log: emulators/rpcs3: disable LLVM for SPU on FreeBSD 11 by default Many games crash which gives bad first impression. PR: 240495 Added: head/emulators/rpcs3/files/patch-rpcs3_Emu_system__config.h (contents, props changed) Modified: head/emulators/rpcs3/Makefile (contents, props changed) Modified: head/emulators/rpcs3/Makefile ============================================================================== --- head/emulators/rpcs3/Makefile Sun May 3 01:15:53 2020 (r533724) +++ head/emulators/rpcs3/Makefile Sun May 3 01:19:53 2020 (r533725) @@ -4,6 +4,7 @@ PORTNAME= rpcs3 DISTVERSIONPREFIX= v DISTVERSION= 0.0.10-10321 # git rev-list --count HEAD DISTVERSIONSUFFIX= -g72bef8dd7 +PORTREVISION= 1 CATEGORIES= emulators MAINTAINER= jbeich@FreeBSD.org Added: head/emulators/rpcs3/files/patch-rpcs3_Emu_system__config.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/emulators/rpcs3/files/patch-rpcs3_Emu_system__config.h Sun May 3 01:19:53 2020 (r533725) @@ -0,0 +1,16 @@ +https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240495 + +--- rpcs3/Emu/system_config.h.orig 2020-05-02 11:57:38 UTC ++++ rpcs3/Emu/system_config.h +@@ -28,7 +28,11 @@ struct cfg_root : cfg::node + cfg::_int<0, INT32_MAX> llvm_threads{ this, "Max LLVM Compile Threads", 0 }; + cfg::_bool thread_scheduler_enabled{ this, "Enable thread scheduler", thread_scheduler_enabled_def }; + cfg::_bool set_daz_and_ftz{ this, "Set DAZ and FTZ", false }; ++#if defined(__FreeBSD__) && __FreeBSD__ < 12 ++ cfg::_enum spu_decoder{ this, "SPU Decoder", spu_decoder_type::asmjit }; ++#else + cfg::_enum spu_decoder{ this, "SPU Decoder", spu_decoder_type::llvm }; ++#endif + cfg::_bool lower_spu_priority{ this, "Lower SPU thread priority" }; + cfg::_bool spu_debug{ this, "SPU Debug" }; + cfg::_int<0, 6> preferred_spu_threads{ this, "Preferred SPU Threads", 0, true }; // Number of hardware threads dedicated to heavy simultaneous spu tasks