From: IOhannes m zmölnig (Debian/GNU) Date: Thu, 23 Dec 2021 08:47:41 +0000 (+0100) Subject: Drop hack to make JUCE compile on armel X-Git-Tag: archive/raspbian/6.1.5_ds0-1+rpi1^2~25 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=94ca52a6ba625c7151fdb6c5ed55ab4fd390cf80;p=juce.git Drop hack to make JUCE compile on armel - 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! --- diff --git a/debian/patches/armel_lockfree.patch b/debian/patches/armel_lockfree.patch deleted file mode 100644 index 1d5a3442..00000000 --- a/debian/patches/armel_lockfree.patch +++ /dev/null @@ -1,23 +0,0 @@ -Description: allow compilation on armel - we patch out the is_always_lockfree 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 - { - #if __cpp_lib_atomic_is_always_lock_free -+#ifndef __ARMEL__ - static_assert (std::atomic::is_always_lock_free, - "This class can only be used for lock-free types"); -+#endif /* armel */ - #endif - } - diff --git a/debian/patches/series b/debian/patches/series index 931b61c0..15858140 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -10,4 +10,3 @@ cross.patch debian_buildcmake.patch overridable_pkg-config.patch debian_cmake.patch -armel_lockfree.patch