0
0
mirror of https://github.com/termux-pacman/glibc-packages.git synced 2024-11-27 07:18:59 +00:00
glibc-packages/gpkg/git/tempfile.c.patch
Ivan Max 544ab0e7a3
new pkgs to gpkg (#209)
gpkg/apache2
gpkg/apr-util
gpkg/apr
gpkg/asciidoc
gpkg/cmocka
gpkg/docbook-xml
gpkg/docbook-xsl
gpkg/git
gpkg/gtk-doc
gpkg/json-c
gpkg/libsasl
gpkg/libsecret
gpkg/libsodium
gpkg/libtpms
gpkg/libxss
gpkg/mariadb
gpkg/nano
gpkg/openldap
gpkg/postgresql
gpkg/python-py3c
gpkg/serf
gpkg/subversion
gpkg/swig
gpkg/tk
gpkg/tpm2-tss
gpkg/unixodbc
gpkg/utf8proc
gpkg/file
gpkg/less
gpkg/libseccomp
2024-05-03 18:33:35 +03:00

13 lines
438 B
Diff

diff -u -r ../git-2.8.1/tempfile.c ./tempfile.c
--- ../git-2.8.1/tempfile.c 2016-04-03 15:07:18.000000000 -0400
+++ ./tempfile.c 2016-04-28 07:22:47.339509915 -0400
@@ -170,7 +170,7 @@
tmpdir = getenv("TMPDIR");
if (!tmpdir)
- tmpdir = "/tmp";
+ tmpdir = "@TERMUX_PREFIX_CLASSICAL@/tmp";
strbuf_addf(&tempfile->filename, "%s/%s", tmpdir, template);
tempfile->fd = git_mkstemps_mode(tempfile->filename.buf, suffixlen, mode);