diff options
author | Tobias C. Berner <tcberner@FreeBSD.org> | 2021-07-23 16:02:47 +0000 |
---|---|---|
committer | Tobias C. Berner <tcberner@FreeBSD.org> | 2021-07-23 17:23:36 +0000 |
commit | a17081b41c7367dc7d0c8bfa9e034536cefe2a08 (patch) | |
tree | 93af474736d8461e5fe7c406f6d0ac2a8c32f12e | |
parent | ee00c8414cb24801c1a5999c9117bea1e3a321ed (diff) | |
download | ports-a17081b41c7367dc7d0c8bfa9e034536cefe2a08.tar.gz ports-a17081b41c7367dc7d0c8bfa9e034536cefe2a08.zip |
audio/guitarix-lv2: prepare for glib 2.86.3
Add upstream fix for gcc11 from upstream [1]
[1] https://sourceforge.net/p/guitarix/git/ci/d8f003484c57d808682025dfb07a7a1fb848afdc/
PR: 256200
-rw-r--r-- | audio/guitarix-lv2/files/patch-git_d8f003 | 12 |
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); + } |