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 + inline bool atomic_compare_and_exchange(T **p, T *oldv, T *newv) { +- return g_atomic_pointer_compare_and_exchange(reinterpret_cast(p), static_cast(oldv), newv); ++ return g_atomic_pointer_compare_and_exchange(reinterpret_cast(p), static_cast(oldv), newv); + }