Initial push
[termux-packages] / packages / mlocate / conf.c.patch
1 diff -u -r ../mlocate-0.26/src/conf.c ./src/conf.c
2 --- ../mlocate-0.26/src/conf.c 2011-12-12 00:13:18.000000000 +0100
3 +++ ./src/conf.c 2014-07-02 03:34:47.000000000 +0200
4 @@ -646,7 +646,7 @@
5 error (EXIT_FAILURE, 0, _("unexpected operand on command line"));
6 if (conf_scan_root == NULL)
7 {
8 - static char root[] = "/";
9 + static char root[] = "@TERMUX_PREFIX@";
10
11 conf_scan_root = root;
12 }