From owner-dev-commits-ports-all@freebsd.org Tue May 18 17:49:42 2021 Return-Path: Delivered-To: dev-commits-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 E89BA653008; Tue, 18 May 2021 17:49:42 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Fl3RV6K3fz3mhL; Tue, 18 May 2021 17:49:42 +0000 (UTC) (envelope-from git@FreeBSD.org) 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 C0A5523CAC; Tue, 18 May 2021 17:49:42 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 14IHngPw091138; Tue, 18 May 2021 17:49:42 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 14IHngwH091137; Tue, 18 May 2021 17:49:42 GMT (envelope-from git) Date: Tue, 18 May 2021 17:49:42 GMT Message-Id: <202105181749.14IHngwH091137@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Piotr Kubaj Subject: git: 26db8f6e8bda - main - audio/spectacle-lv2: fix build on powerpc64* MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: pkubaj X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 26db8f6e8bda5cf8778a18ed3e0b06d7c7d70150 Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for all branches of the ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 May 2021 17:49:43 -0000 The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=26db8f6e8bda5cf8778a18ed3e0b06d7c7d70150 commit 26db8f6e8bda5cf8778a18ed3e0b06d7c7d70150 Author: Piotr Kubaj AuthorDate: 2021-05-18 17:50:12 +0000 Commit: Piotr Kubaj CommitDate: 2021-05-18 17:50:12 +0000 audio/spectacle-lv2: fix build on powerpc64* ori 0,0,0 is the noop instruction on powerpc64*. --- .../files/patch-thirdparty_spin__mutex_src_SpinLoopPause.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/audio/spectacle-lv2/files/patch-thirdparty_spin__mutex_src_SpinLoopPause.h b/audio/spectacle-lv2/files/patch-thirdparty_spin__mutex_src_SpinLoopPause.h new file mode 100644 index 000000000000..3c34a14e9143 --- /dev/null +++ b/audio/spectacle-lv2/files/patch-thirdparty_spin__mutex_src_SpinLoopPause.h @@ -0,0 +1,13 @@ +--- thirdparty/spin_mutex/src/SpinLoopPause.h.orig 2021-05-18 17:31:07 UTC ++++ thirdparty/spin_mutex/src/SpinLoopPause.h +@@ -32,6 +32,10 @@ static inline void spin_loop_pause() noexcept { + asm volatile ("nop" ::: "memory"); + #endif + } ++#elif defined(__powerpc64__) ++static inline void spin_loop_pause() noexcept { ++ asm volatile("ori 0,0,0" ::: "memory"); ++} + #else + #error "Unknown CPU architecture." + #endif