0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-12-11 23:00:52 +00:00
termux-packages/packages/libgit2/fix-etc-dir-path.patch
2096779623 805fe7c74e updpkg(main/libgit2): update to 1.5.0
Signed-off-by: 2096779623 <admin@utermux.dev>
2022-07-14 12:17:42 +05:30

13 lines
431 B
Diff

diff -uNr libgit2-1.5.0/src/libgit2/sysdir.c libgit2-1.5.0.mod/src/libgit2/sysdir.c
--- libgit2-1.5.0/src/libgit2/sysdir.c 2022-07-14 08:06:59.000000000 +0800
+++ libgit2-1.5.0.mod/src/libgit2/sysdir.c 2022-07-14 09:11:02.940851706 +0800
@@ -33,7 +33,7 @@
#ifdef GIT_WIN32
return git_win32__find_system_dirs(out, "etc");
#else
- return git_str_sets(out, "/etc");
+ return git_str_sets(out, "@TERMUX_PREFIX@/etc");
#endif
}