1 diff -urNp -x '*.orig' elinks-0.13-20180901.org/doc/man/man1/elinks.1.in elinks-0.13-20180901/doc/man/man1/elinks.1.in
2 --- elinks-0.13-20180901.org/doc/man/man1/elinks.1.in 2017-07-23 19:50:15.000000000 +0200
3 +++ elinks-0.13-20180901/doc/man/man1/elinks.1.in 2021-05-07 22:58:22.368520341 +0200
4 @@ -322,6 +322,12 @@ The path to the users home directory\&.
10 +If set the location of the directory containing configuration files
11 +is \fI$HOME_ETC/.elinks/\fR instead of \fI~/.elinks/\fR.
16 Homepage location (as in
17 diff -urNp -x '*.orig' elinks-0.13-20180901.org/src/config/home.c elinks-0.13-20180901/src/config/home.c
18 --- elinks-0.13-20180901.org/src/config/home.c 2017-07-23 19:50:15.000000000 +0200
19 +++ elinks-0.13-20180901/src/config/home.c 2021-05-07 22:58:22.368520341 +0200
20 @@ -110,7 +110,8 @@ static unsigned char *
23 unsigned char *home_elinks;
24 - unsigned char *envhome = getenv("HOME");
25 + unsigned char *home_etc = getenv("HOME_ETC");
26 + unsigned char *envhome = home_etc ? home_etc : getenv("HOME");
27 unsigned char *home = NULL;