From be35c95e8d27d647bb4ffb36ca228bc9a351e13b Mon Sep 17 00:00:00 2001 From: Philipp Ammann Date: Sun, 27 Oct 2019 08:47:31 +0000 Subject: www-client/netsurf: bump to version 3.9 Package-Manager: Portage-2.3.78, Repoman-2.3.17 Signed-off-by: Philipp Ammann Signed-off-by: Joonas Niilola --- ...f-3.9-conditionally-include-image-headers.patch | 35 ++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 www-client/netsurf/files/netsurf-3.9-conditionally-include-image-headers.patch (limited to 'www-client/netsurf/files/netsurf-3.9-conditionally-include-image-headers.patch') diff --git a/www-client/netsurf/files/netsurf-3.9-conditionally-include-image-headers.patch b/www-client/netsurf/files/netsurf-3.9-conditionally-include-image-headers.patch new file mode 100644 index 000000000000..603c20913da3 --- /dev/null +++ b/www-client/netsurf/files/netsurf-3.9-conditionally-include-image-headers.patch @@ -0,0 +1,35 @@ +diff -rup a/content/handlers/image/image.c b/content/handlers/image/image.c +--- a/content/handlers/image/image.c 2019-07-17 10:28:13.000000000 +0000 ++++ b/content/handlers/image/image.c 2019-09-27 15:09:03.860000000 +0000 +@@ -27,15 +27,31 @@ + #include "netsurf/content.h" + #include "desktop/gui_internal.h" + ++#ifdef WITH_BMP + #include "image/bmp.h" ++#endif ++#ifdef WITH_GIF + #include "image/gif.h" ++#endif + #include "image/ico.h" ++#ifdef WITH_JPEG + #include "image/jpeg.h" ++#endif ++#ifdef WITH_NSSPRITE + #include "image/nssprite.h" ++#endif ++#ifdef WITH_PNG + #include "image/png.h" ++#endif ++#ifdef WITH_RSVG + #include "image/rsvg.h" ++#endif ++#ifdef WITH_NS_SVG + #include "image/svg.h" ++#endif ++#ifdef WITH_WEBP + #include "image/webp.h" ++#endif + #include "image/image.h" + + /** -- cgit v1.2.3-65-gdbad