--- /dev/null
+Description: clamp a few defines to fixed values
+ upstream allows to make Debug and Release builds; and Release builds with some
+ debugging options on.
+ our libjuce.so doesn't support so many configurations, so we disable a few.
+Author: IOhannes m zmölnig
+Origin: Debian
+Forwarded: not-needed
+Last-Update: 2016-02-10
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- juce.orig/modules/juce_core/juce_core.h
++++ juce/modules/juce_core/juce_core.h
+@@ -61,6 +61,32 @@
+ #include "system/juce_TargetPlatform.h"\r
+ \r
+ //=============================================================================\r
++/** Debian specific constants\r
++Debian's libjuce.so only allows to either create\r
++- a proper Release build\r
++OR\r
++- a proper Debug build.\r
++*/\r
++#ifdef JUCE_FORCE_DEBUG\r
++# undef JUCE_FORCE_DEBUG\r
++#endif\r
++\r
++#ifdef JUCE_LOG_ASSERTIONS\r
++# undef JUCE_LOG_ASSERTIONS\r
++#endif\r
++#define JUCE_LOG_ASSERTIONS JUCE_DEBUG\r
++\r
++#ifdef JUCE_CHECK_MEMORY_LEAKS\r
++# undef JUCE_CHECK_MEMORY_LEAKS\r
++#endif\r
++#define JUCE_CHECK_MEMORY_LEAKS JUCE_DEBUG\r
++/** Debian specifics END\r
++*/\r
++\r
++\r
++\r
++\r
++//=============================================================================\r
+ /** Config: JUCE_FORCE_DEBUG\r
+ \r
+ Normally, JUCE_DEBUG is set to 1 or 0 based on compiler and project settings,\r
introjucer-makegenerator.patch
reproducible-date.patch
debian_apply-reproducible-date.patch
+debian_fixed-defines.patch
debian_introjucer-modulepath.patch
debian_make-introjucer.patch
debian_do-not-track.patch