Hi,

> 
> ‎It looks like you can use SOUP_CHECK_VERSION(2, 34, 0) to test for the 
> version that supports disk cache. ‎May you please try your patch with that 
> code, and send me an updated patch? I will then test on my own system with 
> support, and verify that the positive case also works. 

I compiled it in jessie with this patch:

diff --git a/config.mk b/config.mk
index e49fa24..9321e4b 100644
--- a/config.mk
+++ b/config.mk
@@ -10,8 +10,8 @@ MANPREFIX = ${PREFIX}/share/man
 X11INC = /usr/X11R6/include
 X11LIB = /usr/X11R6/lib
-GTKINC = `pkg-config --cflags gtk+-2.0 webkit-1.0`
-GTKLIB = `pkg-config --libs gtk+-2.0 webkit-1.0`
+GTKINC = `pkg-config --cflags gtk+-2.0 webkit-1.0 libsoup-2.4`
+GTKLIB = `pkg-config --libs gtk+-2.0 webkit-1.0 libsoup-2.4`
 # includes and libs
 INCS = -I. -I/usr/include -I${X11INC} ${GTKINC}
diff --git a/surf.c b/surf.c
index 87c10ef..fa3a3c5 100644
--- a/surf.c
+++ b/surf.c
@@ -3,6 +3,10 @@
  * To understand surf, start reading main().
  */
+#define LIBSOUP_USE_UNSTABLE_REQUEST_API
+
+#define _XOPEN_SOURCE 500
+
 #include <signal.h>
 #include <X11/X.h>
 #include <X11/Xatom.h>
@@ -22,6 +26,7 @@
 #include <JavaScriptCore/JavaScript.h>
 #include <sys/file.h>
 #include <libgen.h>
+#include <libsoup/soup-cache.h>
 #include <stdarg.h>
 #include <regex.h>

I hope it can help you.

Regards,


Reply via email to