termux-packages/packages/man/manpath.c.patch
Fredrik Fornwall 59f0d218a6 Initial push
2015-06-13 01:03:31 +02:00

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