summaryrefslogtreecommitdiff
path: root/network/surf/patches/homepage.diff
blob: f31b8fe89df656fe1884448f9de7c346548546dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff -Naur surf-0.7/surf.c surf-0.7.patched/surf.c
--- surf-0.7/surf.c	2015-12-19 09:59:30.000000000 -0500
+++ surf-0.7.patched/surf.c	2017-01-21 22:00:00.856364467 -0500
@@ -1759,8 +1759,11 @@
 	default:
 		usage();
 	} ARGEND;
+#define HOMEPAGE "@HOMEPAGE@"
 	if (argc > 0)
 		arg.v = argv[0];
+	else
+		arg.v = HOMEPAGE;
 
 	setup();
 	c = newclient();