--- /dev/null
+Description: link applications against libpng/libjpeg
+ since we have stripped libpng & libjpeg, we need to explicitely link against
+ the system provided libraries
+Author: IOhannes m zmölnig
+Origin: Debian
+Forwarded: not-needed
+Last-Update: 2021-01-13
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- juce.orig/extras/Build/CMake/JUCEUtils.cmake
++++ juce/extras/Build/CMake/JUCEUtils.cmake
+@@ -140,6 +140,7 @@
+ if(CMAKE_SYSTEM_NAME STREQUAL "Linux")
+ _juce_create_pkgconfig_target(JUCE_CURL_LINUX_DEPS libcurl)
+ _juce_create_pkgconfig_target(JUCE_BROWSER_LINUX_DEPS webkit2gtk-4.0 gtk+-x11-3.0)
++ _juce_create_pkgconfig_target(JUCE_IMG_LINUX_DEPS libpng libjpeg)
+
+ # If you really need to override the detected arch for some reason,
+ # you can configure the build with -DJUCE_LINUX_TARGET_ARCHITECTURE=<custom arch>
+@@ -682,6 +683,8 @@
+ if(needs_browser)
+ target_link_libraries(${target} PRIVATE juce::pkgconfig_JUCE_BROWSER_LINUX_DEPS)
+ endif()
++
++ target_link_libraries(${target} PRIVATE juce::pkgconfig_JUCE_IMG_LINUX_DEPS)
+ elseif(APPLE)
+ get_target_property(needs_storekit ${target} JUCE_NEEDS_STORE_KIT)
+