flex: Patch Makefile.in instead of Makefile.am
[termux-packages] / packages / python2 / Lib-tempfile.py.patch
CommitLineData
9bcd2ca9
FF
1diff -u -r ../Python-2.7.10/Lib/tempfile.py ./Lib/tempfile.py
2--- ../Python-2.7.10/Lib/tempfile.py 2015-05-23 12:09:07.000000000 -0400
3+++ ./Lib/tempfile.py 2015-09-16 20:45:13.138695050 -0400
4@@ -163,7 +163,7 @@
5 elif _os.name == 'nt':
6 dirlist.extend([ r'c:\temp', r'c:\tmp', r'\temp', r'\tmp' ])
7 else:
8- dirlist.extend([ '/tmp', '/var/tmp', '/usr/tmp' ])
9+ dirlist.extend([ '@TERMUX_PREFIX@/tmp' ])
10
11 # As a last resort, the current directory.
12 try: