sites

public wiki contents of suckless.org
git clone git://git.suckless.org/sites
Log | Files | Refs

commit f1518cb363fbf2b348946b7c324be691c61022e5
parent 8ab1f2fbe55fe2199e80a3750b1fdd2a06f3768d
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Fri,  9 Aug 2019 16:30:55 +0200

surf homepage: remove 0.3 and 0.6 patch

- 0.3 was old.
- 0.6 is broken.

Diffstat:
Msurf.suckless.org/patches/homepage/index.md | 4+---
Dsurf.suckless.org/patches/homepage/surf-0.3-homepage.diff | 13-------------
Dsurf.suckless.org/patches/homepage/surf-0.6-homepage.diff | 26--------------------------
3 files changed, 1 insertion(+), 42 deletions(-)

diff --git a/surf.suckless.org/patches/homepage/index.md b/surf.suckless.org/patches/homepage/index.md @@ -9,9 +9,7 @@ This patch allows you to set a homepage to be loaded when you have not set a uri Download -------- -* [surf-2.0-homepage.diff](surf-2.0-homepage.diff) (.6k) (20180104) -* [surf-0.6-homepage.diff](surf-0.6-homepage.diff) (.7k) (20140816) -* [surf-0.3-homepage.diff](surf-0.3-homepage.diff) (.3k) (20100705) +* [surf-2.0-homepage.diff](surf-2.0-homepage.diff) (0.6k) (20180104) Author ------ diff --git a/surf.suckless.org/patches/homepage/surf-0.3-homepage.diff b/surf.suckless.org/patches/homepage/surf-0.3-homepage.diff @@ -1,13 +0,0 @@ -diff -r dbb565b8d61c surf.c ---- a/surf.c Fri Jun 25 09:42:58 2010 +0200 -+++ b/surf.c Mon Jul 05 21:56:52 2010 +0100 -@@ -833,6 +833,9 @@ - usage(); - } - } -+#ifdef HOMEPAGE -+ arg.v = HOMEPAGE; -+#endif - if(i < argc) - arg.v = argv[i]; - setup(); diff --git a/surf.suckless.org/patches/homepage/surf-0.6-homepage.diff b/surf.suckless.org/patches/homepage/surf-0.6-homepage.diff @@ -1,26 +0,0 @@ -diff --git a/config.def.h b/config.def.h -index 93a3d49..41bb067 100644 ---- a/config.def.h -+++ b/config.def.h -@@ -35,6 +35,7 @@ static Bool loadimages = TRUE; - 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 " \ -diff --git a/surf.c b/surf.c -index fdfaab1..7a71bf2 100644 ---- a/surf.c -+++ b/surf.c -@@ -1759,6 +1759,9 @@ main(int argc, char *argv[]) - default: - usage(); - } ARGEND; -+ #ifdef HOMEPAGE -+ arg.v = HOMEPAGE; -+ #endif - if (argc > 0) - arg.v = argv[0]; -