termux-packages/packages/man/manpath.c.patch

13 lines
428 B
Diff

diff -u -r ../mdocml-1.13.2/manpath.c ./manpath.c
--- ../mdocml-1.13.2/manpath.c 2014-12-13 09:06:35.000000000 -0500
+++ ./manpath.c 2014-12-29 09:32:55.168124689 -0500
@@ -30,7 +30,7 @@
#include "mandoc_aux.h"
#include "manpath.h"
-#define MAN_CONF_FILE "/etc/man.conf"
+#define MAN_CONF_FILE "@TERMUX_PREFIX@/etc/man.conf"
#define MAN_CONF_KEY "_whatdb"
static void manpath_add(struct manpaths *, const char *, int);