aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias C. Berner <tcberner@FreeBSD.org>2021-07-23 16:02:47 +0000
committerTobias C. Berner <tcberner@FreeBSD.org>2021-07-23 17:23:36 +0000
commita17081b41c7367dc7d0c8bfa9e034536cefe2a08 (patch)
tree93af474736d8461e5fe7c406f6d0ac2a8c32f12e
parentee00c8414cb24801c1a5999c9117bea1e3a321ed (diff)
downloadports-a17081b41c7367dc7d0c8bfa9e034536cefe2a08.tar.gz
ports-a17081b41c7367dc7d0c8bfa9e034536cefe2a08.zip
audio/guitarix-lv2: prepare for glib 2.86.3
-rw-r--r--audio/guitarix-lv2/files/patch-git_d8f00312
1 files changed, 12 insertions, 0 deletions
diff --git a/audio/guitarix-lv2/files/patch-git_d8f003 b/audio/guitarix-lv2/files/patch-git_d8f003
new file mode 100644
index 000000000000..88c242afec8c
--- /dev/null
+++ b/audio/guitarix-lv2/files/patch-git_d8f003
@@ -0,0 +1,12 @@
+https://sourceforge.net/p/guitarix/git/ci/d8f003484c57d808682025dfb07a7a1fb848afdc/
+Issue #63 - Fix build on gcc 11
+
+--- src/headers/gx_system.h.orig
++++ src/headers/gx_system.h
+@@ -132,7 +132,7 @@
+
+ template <class T>
+ inline bool atomic_compare_and_exchange(T **p, T *oldv, T *newv) {
+- return g_atomic_pointer_compare_and_exchange(reinterpret_cast<void* volatile*>(p), static_cast<void*>(oldv), newv);
++ return g_atomic_pointer_compare_and_exchange(reinterpret_cast<void**>(p), static_cast<void*>(oldv), newv);
+ }