freebsd-ports/sysutils/busybox/files/patch-miscutils_man.c
Fernando Apesteguía 48f13d913e sysutils/busybox: update to 1.30.1
* Hand maintainership over to samm@os2.kiev.ua
* The port needs to be built with GCC on i386

PR:     238915
Submitted by:   samm@os2.kiev.ua
2019-07-16 15:18:06 +00:00

11 lines
464 B
C

--- miscutils/man.c.orig 2018-12-30 15:14:20 UTC
+++ miscutils/man.c
@@ -265,7 +265,7 @@ int man_main(int argc UNUSED_PARAM, char
if (!man_path_list) {
/* default, may be overridden by /etc/man.conf */
man_path_list = xzalloc(2 * sizeof(man_path_list[0]));
- man_path_list[0] = (char*)"/usr/man";
+ man_path_list[0] = (char*)"/usr/share/man";
/* count_mp stays 0.
* Thus, man.conf will overwrite man_path_list[0]
* if a path is defined there.