diff options
author | Francois Perrad <fperrad@gmail.com> | 2018-12-12 08:14:55 +0100 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@bootlin.com> | 2018-12-16 21:47:37 +0100 |
commit | b808e65c1c4f83b5e6757e2d1cabd0df23e503fb (patch) | |
tree | 47713bfd1c9185ca5ecfd4fc29009b7afa1e50ff /package/netsurf/0004-fix-compilation-without-curl.patch | |
parent | 436ed9d5475531b8ac49d83a178611e443e59a4d (diff) | |
download | buildroot-b808e65c1c4f83b5e6757e2d1cabd0df23e503fb.tar.gz buildroot-b808e65c1c4f83b5e6757e2d1cabd0df23e503fb.zip |
package/netsurf: turn libcurl into an optional dependency
Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Diffstat (limited to 'package/netsurf/0004-fix-compilation-without-curl.patch')
-rw-r--r-- | package/netsurf/0004-fix-compilation-without-curl.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/package/netsurf/0004-fix-compilation-without-curl.patch b/package/netsurf/0004-fix-compilation-without-curl.patch new file mode 100644 index 0000000000..2300ae5f4e --- /dev/null +++ b/package/netsurf/0004-fix-compilation-without-curl.patch @@ -0,0 +1,27 @@ +From 7d7c59dbfc92fcbcd0eac2c84e0fb98662c4bd71 Mon Sep 17 00:00:00 2001 +From: Francois Perrad <francois.perrad@gadz.org> +Date: Sat, 8 Dec 2018 09:43:40 +0100 +Subject: [PATCH] fix compilation without curl + +Signed-off-by: Francois Perrad <francois.perrad@gadz.org> +--- + netsurf/content/fetch.c | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/netsurf/content/fetch.c b/netsurf/content/fetch.c +index 7665029..0f41c49 100644 +--- a/netsurf/content/fetch.c ++++ b/netsurf/content/fetch.c +@@ -54,7 +54,9 @@ + #include "content/fetchers.h" + #include "content/fetchers/resource.h" + #include "content/fetchers/about.h" ++#ifdef WITH_CURL + #include "content/fetchers/curl.h" ++#endif + #include "content/fetchers/data.h" + #include "content/fetchers/file.h" + #include "javascript/fetcher.h" +-- +2.17.1 + |