python: Refresh patches
authorRosen Penev <rosenp@gmail.com>
Sat, 9 Mar 2019 02:48:45 +0000 (18:48 -0800)
committerRosen Penev <rosenp@gmail.com>
Sat, 9 Mar 2019 02:48:45 +0000 (18:48 -0800)
git is intollerant when it comes to fuzz. this fixes it.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
lang/python/python/patches/001-enable-zlib.patch
lang/python/python/patches/005-fix-bluetooth-support.patch
lang/python/python/patches/011-fix-ssl-build-use-have-npn.patch
lang/python/python/patches/017_lib2to3_fix_pyc_search.patch

index e85b53c8d970dad829010585888074e86b23acf4..5802e99f64440ab988921bee5b7b35a3a644a284 100644 (file)
@@ -17,4 +17,4 @@ Subject: [PATCH] enable zlib
 +zlib zlibmodule.c -lz
  
  # Interface to the Expat XML parser
- #
+ # More information on Expat can be found at www.libexpat.org.
index 5e6e34b3afff8041352b80a0388a1e0e101725a2..6448f63f029242ee6639618760c9d55cb5d28b81 100644 (file)
@@ -1,6 +1,6 @@
 --- a/configure
 +++ b/configure
-@@ -7077,7 +7077,7 @@ sys/param.h sys/poll.h sys/random.h sys/
+@@ -7084,7 +7084,7 @@ sys/param.h sys/poll.h sys/random.h sys/
  sys/termio.h sys/time.h \
  sys/times.h sys/types.h sys/un.h sys/utsname.h sys/wait.h pty.h libutil.h \
  sys/resource.h netpacket/packet.h sysexits.h bluetooth.h \
@@ -9,7 +9,7 @@
  do :
    as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
-@@ -7299,6 +7299,24 @@ fi
+@@ -7306,6 +7306,24 @@ fi
  fi
  
  
@@ -36,7 +36,7 @@
  do :
 --- a/configure.ac
 +++ b/configure.ac
-@@ -1732,10 +1732,17 @@ sys/param.h sys/poll.h sys/random.h sys/
+@@ -1739,10 +1739,17 @@ sys/param.h sys/poll.h sys/random.h sys/
  sys/termio.h sys/time.h \
  sys/times.h sys/types.h sys/un.h sys/utsname.h sys/wait.h pty.h libutil.h \
  sys/resource.h netpacket/packet.h sysexits.h bluetooth.h \
index b4981836032c4796fb159e493ae6fba07a7c03af..8a694a714c47f35e1aedd1cce160fed0b65c025e 100644 (file)
@@ -1,8 +1,6 @@
-diff --git a/Modules/_ssl.c b/Modules/_ssl.c
-index a96c419260..c80437eef7 100644
 --- a/Modules/_ssl.c
 +++ b/Modules/_ssl.c
-@@ -1586,7 +1586,7 @@ static PyObject *PySSL_version(PySSLSocket *self)
+@@ -1590,7 +1590,7 @@ static PyObject *PySSL_version(PySSLSocket *self)
      return PyUnicode_FromString(version);
  }
  
@@ -11,7 +9,7 @@ index a96c419260..c80437eef7 100644
  static PyObject *PySSL_selected_npn_protocol(PySSLSocket *self) {
      const unsigned char *out;
      unsigned int outlen;
-@@ -2114,7 +2114,7 @@ static PyMethodDef PySSLMethods[] = {
+@@ -2118,7 +2118,7 @@ static PyMethodDef PySSLMethods[] = {
       PySSL_peercert_doc},
      {"cipher", (PyCFunction)PySSL_cipher, METH_NOARGS},
      {"version", (PyCFunction)PySSL_version, METH_NOARGS},
index 5972914bdb9f5914440471414022d3921f41efa2..6a1ef587c479d45c347760a2e763d842a3cb2e47 100644 (file)
@@ -1,8 +1,6 @@
-diff --git a/Lib/lib2to3/refactor.py b/Lib/lib2to3/refactor.py
-index 7841b99..1e0d3b3 100644
 --- a/Lib/lib2to3/refactor.py
 +++ b/Lib/lib2to3/refactor.py
-@@ -37,6 +37,12 @@ def get_all_fix_names(fixer_pkg, remove_prefix=True):
+@@ -40,6 +40,12 @@ def get_all_fix_names(fixer_pkg, remove_prefix=True):
              if remove_prefix:
                  name = name[4:]
              fix_names.append(name[:-3])