Quoth Nick: > Quoth Roberto E. Vargas Caballero: > > I compiled it in jessie with this patch: > > It compiles fine with that patch on Wheezy, too.
Not even all of Roberto's patch seems necessary. The attached patch works for me.
diff --git a/surf.c b/surf.c index 87c10ef..0c2d580 100644 --- a/surf.c +++ b/surf.c @@ -2,6 +2,7 @@ * * To understand surf, start reading main(). */ +#define LIBSOUP_USE_UNSTABLE_REQUEST_API #include <signal.h> #include <X11/X.h> @@ -22,6 +23,7 @@ #include <JavaScriptCore/JavaScript.h> #include <sys/file.h> #include <libgen.h> +#include <libsoup/soup-cache.h> #include <stdarg.h> #include <regex.h>
