preload-hacks: Some patches to make it work.
[termux-packages] / packages / getmail / utilities.py.patch
index f85c77a..28e1616 100644 (file)
@@ -1,14 +1,15 @@
---- ../getmail/src/getmailcore/utilities.py    2013-09-01 04:11:31.000000000 +1000
-+++ ./getmailcore/utilities.py 2016-03-26 17:22:08.173621990 +1100
-@@ -44,6 +44,7 @@
- import getpass
- import commands
+diff -u -r ../getmail-5.1/getmailcore/utilities.py ./getmailcore/utilities.py
+--- ../getmail-5.1/getmailcore/utilities.py    2017-07-16 05:26:01.000000000 +0200
++++ ./getmailcore/utilities.py 2017-07-26 13:36:30.196152312 +0200
+@@ -47,6 +47,7 @@
  import sys
+ import tempfile
+ import errno
 +import shutil
- # hashlib only present in python2.5, ssl in python2.6; used together
- # in SSL functionality below
-@@ -333,7 +334,7 @@
+ try:
+     import subprocess
+ except ImportError, o:
+@@ -340,7 +341,7 @@
  
      # Move message file from Maildir/tmp to Maildir/new
      try: