aboutsummaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorPiotr Kubaj <pkubaj@FreeBSD.org>2021-06-16 23:24:33 +0000
committerPiotr Kubaj <pkubaj@FreeBSD.org>2021-06-16 23:24:33 +0000
commit02649292c62bc88aa4b1fc3dae75e1160f9273df (patch)
tree55137f4c9347e0bb4daa0a18c8d67605c4fa2510 /audio
parent499a93b228a8f8ac7f0a056bc0c49b758bc2a574 (diff)
downloadports-02649292c62bc88aa4b1fc3dae75e1160f9273df.tar.gz
ports-02649292c62bc88aa4b1fc3dae75e1160f9273df.zip
audio/spectacle-lv2: fix build on powerpc
powerpc64 fix is also valid for powerpc.
Diffstat (limited to 'audio')
-rw-r--r--audio/spectacle-lv2/files/patch-thirdparty_spin__mutex_src_SpinLoopPause.h2
1 files changed, 1 insertions, 1 deletions
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");
+}