mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
audio/guitarix-lv2: prepare for glib 2.86.3
Add upstream fix for gcc11 from upstream [1]
[1] d8f003484c
/
PR: 256200
This commit is contained in:
parent
ee00c8414c
commit
a17081b41c
12
audio/guitarix-lv2/files/patch-git_d8f003
Normal file
12
audio/guitarix-lv2/files/patch-git_d8f003
Normal file
@ -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);
|
||||
}
|
Loading…
Reference in New Issue
Block a user