Use more source checksums
[termux-packages] / packages / libarchive / archive_write_disk_posix.c.patch
CommitLineData
59f0d218
FF
1diff -u -r ../libarchive-3.1.2/libarchive/archive_write_disk_posix.c ./libarchive/archive_write_disk_posix.c
2--- ../libarchive-3.1.2/libarchive/archive_write_disk_posix.c 2013-02-08 01:52:07.000000000 +0100
3+++ ./libarchive/archive_write_disk_posix.c 2014-07-15 19:09:38.106845578 +0200
4@@ -2456,7 +2456,11 @@
5 alen = 0;
6 mb = 0;
7 complete = 1;
8+#ifdef __ANDROID__
9+ utf8 = 1;
10+#else
11 utf8 = (strcmp(nl_langinfo(CODESET), "UTF-8") == 0)? 1: 0;
12+#endif
13 for (p = a->name; *p != '\0'; p++) {
14 ++alen;
15 if (*p == '\\') {