git: 02649292c62b - main - audio/spectacle-lv2: fix build on powerpc
Piotr Kubaj
pkubaj at FreeBSD.org
Wed Jun 16 23:24:49 UTC 2021
The branch main has been updated by pkubaj:
URL: https://cgit.FreeBSD.org/ports/commit/?id=02649292c62bc88aa4b1fc3dae75e1160f9273df
commit 02649292c62bc88aa4b1fc3dae75e1160f9273df
Author: Piotr Kubaj <pkubaj at FreeBSD.org>
AuthorDate: 2021-06-16 23:24:33 +0000
Commit: Piotr Kubaj <pkubaj at 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");
+}
More information about the dev-commits-ports-main
mailing list