From 24791e49b13b6faa09bc92deb3f153446cdc0953 Mon Sep 17 00:00:00 2001 From: =?utf8?q?IOhannes=20m=20zm=C3=B6lnig=20=28Debian/GNU=29?= Date: Tue, 19 Dec 2017 11:31:11 +0100 Subject: [PATCH] force JUCE_INCLUDE_FLAC_CODE and JUCE_INCLUDE_OGGVORBIS_CODE to 0 since we don't include them in juce-modules-source LP: #1720634 --- debian/patches/debian_fixed-defines.patch | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/debian/patches/debian_fixed-defines.patch b/debian/patches/debian_fixed-defines.patch index 62c21baa..70fb0795 100644 --- a/debian/patches/debian_fixed-defines.patch +++ b/debian/patches/debian_fixed-defines.patch @@ -12,7 +12,7 @@ Last-Update: 2016-04-07 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,26 @@ +@@ -65,6 +65,36 @@ #include "system/juce_TargetPlatform.h" @@ -24,6 +24,16 @@ This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ +#endif +#define JUCE_INCLUDE_ZLIB_CODE 0 + ++#ifdef JUCE_INCLUDE_FLAC_CODE ++# undef JUCE_INCLUDE_FLAC_CODE ++#endif ++#define JUCE_INCLUDE_FLAC_CODE 0 ++ ++#ifdef JUCE_INCLUDE_OGGVORBIS_CODE ++# undef JUCE_INCLUDE_OGGVORBIS_CODE ++#endif ++#define JUCE_INCLUDE_OGGVORBIS_CODE 0 ++ +#ifdef JUCE_INCLUDE_JPEGLIB_CODE +# undef JUCE_INCLUDE_JPEGLIB_CODE +#endif @@ -39,7 +49,7 @@ This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ //============================================================================== /** Config: JUCE_FORCE_DEBUG -@@ -124,7 +144,7 @@ +@@ -124,7 +154,7 @@ specify the path where your zlib headers live. */ #ifndef JUCE_INCLUDE_ZLIB_CODE -- 2.30.2