summaryrefslogtreecommitdiff
path: root/network/surf/patches/homepage.diff
blob: cd74dc18e9030d75aee580ab351ba8320a0fea02 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff -Naur surf-0.6/surf.c surf-0.6.patched/surf.c
--- surf-0.6/surf.c	2013-02-10 13:40:14.000000000 -0500
+++ surf-0.6.patched/surf.c	2013-07-03 16:48:40.000000000 -0400
@@ -1218,8 +1218,11 @@
 	default:
 		usage();
 	} ARGEND;
+#define HOMEPAGE "@HOMEPAGE@"
 	if(argc > 0)
 		arg.v = argv[0];
+	else
+		arg.v = HOMEPAGE;
 
 	setup();
 	newclient();