git: a17081b41c73 - main - audio/guitarix-lv2: prepare for glib 2.86.3

Tobias C. Berner tcberner at FreeBSD.org
Fri Jul 23 17:23:44 UTC 2021


The branch main has been updated by tcberner:

URL: https://cgit.FreeBSD.org/ports/commit/?id=a17081b41c7367dc7d0c8bfa9e034536cefe2a08

commit a17081b41c7367dc7d0c8bfa9e034536cefe2a08
Author:     Tobias C. Berner <tcberner at FreeBSD.org>
AuthorDate: 2021-07-23 16:02:47 +0000
Commit:     Tobias C. Berner <tcberner at FreeBSD.org>
CommitDate: 2021-07-23 17:23:36 +0000

    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
---
 audio/guitarix-lv2/files/patch-git_d8f003 | 12 ++++++++++++
 1 file changed, 12 insertions(+)

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);
+ }


More information about the dev-commits-ports-all mailing list