chiark
/
gitweb
/
~mdw
/
termux-packages
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
perl: Bump build revision after patch added
[termux-packages]
/
disabled-packages
/
postgresql
/
src-bin-psql-command.c.patch
diff --git
a/disabled-packages/postgresql/src-bin-psql-command.c.patch
b/disabled-packages/postgresql/src-bin-psql-command.c.patch
index 2044bdc0a4aa73ffcdb12c2fdce0f624d467ccf4..d1ef3af021e1f71633875be4da38adc15d860044 100644
(file)
--- a/
disabled-packages/postgresql/src-bin-psql-command.c.patch
+++ b/
disabled-packages/postgresql/src-bin-psql-command.c.patch
@@
-1,6
+1,15
@@
diff -u -r ../postgresql-9.6.2/src/bin/psql/command.c ./src/bin/psql/command.c
--- ../postgresql-9.6.2/src/bin/psql/command.c 2017-02-06 22:45:25.000000000 +0100
diff -u -r ../postgresql-9.6.2/src/bin/psql/command.c ./src/bin/psql/command.c
--- ../postgresql-9.6.2/src/bin/psql/command.c 2017-02-06 22:45:25.000000000 +0100
-+++ ./src/bin/psql/command.c 2017-03-05 14:45:58.038668777 +0100
++++ ./src/bin/psql/command.c 2017-03-05 15:33:33.579755248 +0100
+@@ -2258,7 +2258,7 @@
+ const char *tmpdir = getenv("TMPDIR");
+
+ if (!tmpdir)
+- tmpdir = "/tmp";
++ tmpdir = "@TERMUX_PREFIX@/tmp";
+ #else
+ char tmpdir[MAXPGPATH];
+ int ret;
@@ -3076,7 +3076,7 @@
@@ -3076,7 +3076,7 @@