Hi,

The patch to set homepage in the site is old and no longer works. So i
fixed.

It is attached.
-- 
Henrique Lengler        

https://gitorious.org/~henriqueleng
diff -u surf/config.def.h Sources/surf/config.def.h
--- a/config.def.h	2014-08-16 02:14:02.536275454 -0300
+++ b/config.def.h	2014-08-16 02:12:18.784283700 -0300
@@ -31,6 +31,7 @@
 static Bool hidebackground  = FALSE;
 static Bool allowgeolocation = TRUE;
 
+#define HOMEPAGE "https://www.duckduckgo.com/";
 #define SETPROP(p, q) { \
 	.v = (char *[]){ "/bin/sh", "-c", \
 		"prop=\"`xprop -id $2 $0 | cut -d '\"' -f 2 | xargs -0 printf %b | dmenu`\" &&" \
diff -u surf/surf.c Sources/surf/surf.c
--- a/surf.c	2014-08-16 02:14:02.536275454 -0300
+++ b/surf.c	2014-08-16 02:09:58.216294873 -0300
@@ -1483,6 +1483,9 @@
 	default:
 		usage();
 	} ARGEND;
+	#ifdef HOMEPAGE
+		arg.v = HOMEPAGE;
+	#endif
 	if(argc > 0)
 		arg.v = argv[0];

Reply via email to