Date: Wed, 16 Jun 2021 23:24:49 GMT From: Piotr Kubaj <pkubaj@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 02649292c62b - main - audio/spectacle-lv2: fix build on powerpc Message-ID: <202106162324.15GNOn3Q069939@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=02649292c62bc88aa4b1fc3dae75e1160f9273df commit 02649292c62bc88aa4b1fc3dae75e1160f9273df Author: Piotr Kubaj <pkubaj@FreeBSD.org> AuthorDate: 2021-06-16 23:24:33 +0000 Commit: Piotr Kubaj <pkubaj@FreeBSD.org> CommitDate: 2021-06-16 23:24:33 +0000 audio/spectacle-lv2: fix build on powerpc powerpc64 fix is also valid for powerpc. --- .../files/patch-thirdparty_spin__mutex_src_SpinLoopPause.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 index 3c34a14e9143..cdf9b2bf706d 100644 --- a/audio/spectacle-lv2/files/patch-thirdparty_spin__mutex_src_SpinLoopPause.h +++ b/audio/spectacle-lv2/files/patch-thirdparty_spin__mutex_src_SpinLoopPause.h @@ -4,7 +4,7 @@ asm volatile ("nop" ::: "memory"); #endif } -+#elif defined(__powerpc64__) ++#elif defined(__powerpc__) +static inline void spin_loop_pause() noexcept { + asm volatile("ori 0,0,0" ::: "memory"); +}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202106162324.15GNOn3Q069939>