Drop hack to make JUCE compile on armel
authorIOhannes m zmölnig (Debian/GNU) <umlaeute@debian.org>
Thu, 23 Dec 2021 08:47:41 +0000 (09:47 +0100)
committerIOhannes m zmölnig (Debian/GNU) <umlaeute@debian.org>
Thu, 23 Dec 2021 08:47:41 +0000 (09:47 +0100)
- we just disabled an assert that probably was there for a good reason
- there's little point in trying to run audio plugins on armel anyhow
-> let's RM 'armel' from the archives!

debian/patches/armel_lockfree.patch [deleted file]
debian/patches/series

diff --git a/debian/patches/armel_lockfree.patch b/debian/patches/armel_lockfree.patch
deleted file mode 100644 (file)
index 1d5a344..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-Description: allow compilation on armel
- we patch out the is_always_lockfree<int> assertion for armel, to allow
- compilation.
- any armel is probably too weak to actually *run* a JUCE project.
-Author: IOhannes m zmölnig
-Origin: Debian
-Forwarded: not-needed
-Last-Update: 2021-12-22
----
-This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
---- juce.orig/modules/juce_core/memory/juce_Atomic.h
-+++ juce/modules/juce_core/memory/juce_Atomic.h
-@@ -55,8 +55,10 @@
-     ~Atomic() noexcept\r
-     {\r
-        #if __cpp_lib_atomic_is_always_lock_free\r
-+#ifndef __ARMEL__\r
-         static_assert (std::atomic<Type>::is_always_lock_free,\r
-                        "This class can only be used for lock-free types");\r
-+#endif /* armel */\r
-        #endif\r
-     }\r
\r
index 931b61c0f9a163c35904a78b6d9c5d0775350d86..15858140b18817488f8204cfbaed38368cdd0731 100644 (file)
@@ -10,4 +10,3 @@ cross.patch
 debian_buildcmake.patch
 overridable_pkg-config.patch
 debian_cmake.patch
-armel_lockfree.patch