diff --git a/patches/pk2.patch b/patches/pk2.patch new file mode 100644 index 0000000..f38243f --- /dev/null +++ b/patches/pk2.patch @@ -0,0 +1,28 @@ +From 6e1e7c08127add758bf6f9cf7941e4eb83b138ca Mon Sep 17 00:00:00 2001 +From: Your Name +Date: Sat, 11 May 2024 01:28:43 +0200 +Subject: [PATCH] x + +--- + libstdc++-v3/include/bits/atomic_base.h | 5 +++++ + 1 file changed, 5 insertions(+) + +diff --git a/libstdc++-v3/include/bits/atomic_base.h b/libstdc++-v3/include/bits/atomic_base.h +index dd36030..3598fee 100644 +--- a/libstdc++-v3/include/bits/atomic_base.h ++++ b/libstdc++-v3/include/bits/atomic_base.h +@@ -48,6 +48,11 @@ + + #include + ++bool __atomic_test_and_set (volatile void* a, int b) ++{ ++ return 0; ++} ++ + namespace std _GLIBCXX_VISIBILITY(default) + { + _GLIBCXX_BEGIN_NAMESPACE_VERSION +-- +2.36.6 +