summaryrefslogtreecommitdiff
path: root/sci-chemistry/vmd/files/vmd-1.9.4-tmpdir.patch
diff options
context:
space:
mode:
Diffstat (limited to 'sci-chemistry/vmd/files/vmd-1.9.4-tmpdir.patch')
-rw-r--r--sci-chemistry/vmd/files/vmd-1.9.4-tmpdir.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/sci-chemistry/vmd/files/vmd-1.9.4-tmpdir.patch b/sci-chemistry/vmd/files/vmd-1.9.4-tmpdir.patch
new file mode 100644
index 000000000000..295811db0580
--- /dev/null
+++ b/sci-chemistry/vmd/files/vmd-1.9.4-tmpdir.patch
@@ -0,0 +1,11 @@
+--- a/scripts/vmd/chemical2vmd.old 2020-09-09 18:40:56.795215443 +0200
++++ b/scripts/vmd/chemical2vmd 2020-09-09 18:41:09.648348701 +0200
+@@ -61,7 +61,7 @@
+
+
+ # Make a temp. file to store the load command
+-$ENV{'TMPDIR'} = '/usr/tmp' if !$ENV{'TMPDIR'};
++$ENV{'TMPDIR'} = '/tmp' if !$ENV{'TMPDIR'};
+ sub tmpfile {
+ local ($tempfile) = $ENV{'TMPDIR'} . '/chemical2vmd.' . $$;
+ local ($i);