0
0
mirror of https://github.com/termux-pacman/glibc-packages.git synced 2024-11-23 14:46:18 +00:00
glibc-packages/gpkg/libarchive/archive_util.c.patch
Ivan Max 94159a9710
new pkgs to gpkg (#115)
gpkg/libicu
gpkg/libwayland
gpkg/libxml2
gpkg/termux-exec
gpkg/gettext
gpkg/grep
gpkg/libtool
gpkg/pcre2
gpkg/sed
gpkg/tar
gpkg/jq
gpkg/oniguruma

Improving gpkg/glibc-runner
2023-10-03 09:32:40 +03:00

13 lines
509 B
Diff

diff -uNr libarchive-3.3.3/libarchive/archive_util.c libarchive-3.3.3.mod/libarchive/archive_util.c
--- libarchive-3.3.3/libarchive/archive_util.c 2018-09-02 09:05:18.000000000 +0300
+++ libarchive-3.3.3.mod/libarchive/archive_util.c 2019-03-02 02:14:39.252942170 +0200
@@ -374,7 +374,7 @@
#ifdef _PATH_TMP
tmp = _PATH_TMP;
#else
- tmp = "/tmp";
+ tmp = "@TERMUX_PREFIX_CLASSICAL@/tmp";
#endif
archive_strcpy(temppath, tmp);
if (temppath->s[temppath->length-1] != '/')