void-packages/srcpkgs/lsp-plugins/patches/aarch64-atomic.patch

22 lines
910 B
Diff

From 156be4d61c57d805745b85d7fadb781a4bc581b0 Mon Sep 17 00:00:00 2001
From: Vladimir Sadovnikov <sadko4u@gmail.com>
Date: Mon, 11 Nov 2024 14:50:21 +0300
Subject: [PATCH] Fixed atomic operations for AArch64
---
modules/lsp-common-lib/include/lsp-plug.in/common/arch/aarch64/atomic.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/modules/lsp-common-lib/include/lsp-plug.in/common/arch/aarch64/atomic.h b/modules/lsp-common-lib/include/lsp-plug.in/common/arch/aarch64/atomic.h
index 388a869..2e6288e 100644
--- a/modules/lsp-common-lib/include/lsp-plug.in/common/arch/aarch64/atomic.h
+++ b/modules/lsp-common-lib/include/lsp-plug.in/common/arch/aarch64/atomic.h
@@ -203,6 +203,7 @@ namespace lsp
ATOMIC_SWAP_DEF(uint32_t, "", "w")
ATOMIC_SWAP_DEF(int64_t, "", "x")
ATOMIC_SWAP_DEF(uint64_t, "", "x")
+ ATOMIC_SWAP_DEF(void *, "", "x")
} /* namespace lsp */
#undef ATOMIC_SWAP_DEF