slackbuilds_ponce/network/surf/patches/homepage.diff
B. Watson 5339c6bc31 network/surf: Added (minimalist web browser)
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
2013-07-07 09:10:01 -03:00

15 lines
351 B
Diff

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();