summaryrefslogtreecommitdiffstats
path: root/guitarix/build/patches
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2021-11-01 09:32:24 +0000
committer Eric Hameleers <alien@slackware.com>2021-11-01 09:32:24 +0000
commit95e7078d3c390fce940f67e325671c652fcc19b9 (patch)
tree11a03a955a97b7df2e2008c58d1f13e891d3bbdb /guitarix/build/patches
parent2010a7af9d314ad54e8d8f026b931bfe835f5717 (diff)
downloadasb-95e7078d3c390fce940f67e325671c652fcc19b9.tar.gz
asb-95e7078d3c390fce940f67e325671c652fcc19b9.tar.xz
Initial revision
Diffstat (limited to 'guitarix/build/patches')
-rw-r--r--guitarix/build/patches/guitarix_gcc11.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/guitarix/build/patches/guitarix_gcc11.patch b/guitarix/build/patches/guitarix_gcc11.patch
new file mode 100644
index 00000000..345f5e9a
--- /dev/null
+++ b/guitarix/build/patches/guitarix_gcc11.patch
@@ -0,0 +1,13 @@
+diff --git a/src/headers/gx_system.h b/src/headers/gx_system.h
+index d334ecfc..88d97567 100644
+--- a/src/headers/gx_system.h
++++ b/src/headers/gx_system.h
+@@ -132,7 +132,7 @@ inline T *atomic_get(T*& p) {
+
+ 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);
+ }
+
+