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
-@@ -65,6 +65,28 @@
+@@ -65,6 +65,21 @@
\r
#include "system/juce_TargetPlatform.h"\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
++ - Debian, we don't use embedded libraries\r
+*/\r
-+#ifdef JUCE_FORCE_DEBUG\r
-+# undef JUCE_FORCE_DEBUG\r
++#ifdef JUCE_INCLUDE_ZLIB_CODE\r
++# undef JUCE_INCLUDE_ZLIB_CODE\r
+#endif\r
++#define JUCE_INCLUDE_ZLIB_CODE 0\r
+\r
-+#ifdef JUCE_LOG_ASSERTIONS\r
-+# undef JUCE_LOG_ASSERTIONS\r
++#ifdef JUCE_INCLUDE_JPEGLIB_CODE\r
++# undef JUCE_INCLUDE_JPEGLIB_CODE\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
++#define JUCE_INCLUDE_JPEGLIB_CODE 0\r
+/** Debian specifics END\r
+*/\r
+\r
//==============================================================================\r
/** Config: JUCE_FORCE_DEBUG\r
\r
+@@ -124,7 +139,7 @@
+ specify the path where your zlib headers live.\r
+ */\r
+ #ifndef JUCE_INCLUDE_ZLIB_CODE\r
+- #define JUCE_INCLUDE_ZLIB_CODE 1\r
++ #define JUCE_INCLUDE_ZLIB_CODE 0\r
+ #endif\r
+ \r
+ #ifndef JUCE_ZLIB_INCLUDE_PATH\r
--- juce.orig/modules/juce_audio_plugin_client/utility/juce_CheckSettingMacros.h
+++ juce/modules/juce_audio_plugin_client/utility/juce_CheckSettingMacros.h
@@ -24,6 +24,30 @@