diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-06-29 12:04:12 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-06-29 12:04:12 +0100 |
commit | 0f558761aa2dee1017b4751e4017205e015a9560 (patch) | |
tree | 037df795519468a25d9362b4e95cdaeb84eb1cf9 /net-im/coturn/files/coturn-4.5.2-respect-TMPDIR.patch | |
parent | 752d6256e5204b958b0ef7905675a940b5e9172f (diff) |
gentoo resync : 29.12.2022
Diffstat (limited to 'net-im/coturn/files/coturn-4.5.2-respect-TMPDIR.patch')
-rw-r--r-- | net-im/coturn/files/coturn-4.5.2-respect-TMPDIR.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/net-im/coturn/files/coturn-4.5.2-respect-TMPDIR.patch b/net-im/coturn/files/coturn-4.5.2-respect-TMPDIR.patch new file mode 100644 index 000000000000..036705afc1f2 --- /dev/null +++ b/net-im/coturn/files/coturn-4.5.2-respect-TMPDIR.patch @@ -0,0 +1,24 @@ +diff --git a/configure b/configure +index caf11f5..003da8d 100755 +--- a/configure ++++ b/configure +@@ -513,12 +513,13 @@ fi + # Temporary DIR location: + ######################### + +-TMPDIR="." +- +-if [ -d /var/tmp ] ; then +- TMPDIR="/var/tmp" +-elif [ -d /tmp ] ; then +- TMPDIR=/tmp ++TMPDIR=${TMPDIR:-.} ++if test x"${TMPDIR}" = "." ; then ++ if [ -d /var/tmp ] ; then ++ TMPDIR="/var/tmp" ++ elif [ -d /tmp ] ; then ++ TMPDIR=/tmp ++ fi + fi + + ${ECHO_CMD} Use TMP dir ${TMPDIR} |