Skip to content

Commit 11d4bf3

Browse files
committed
rebase patches
1 parent 343cb80 commit 11d4bf3

25 files changed

Lines changed: 72 additions & 71 deletions

recipe/patches/0001-Win32-Change-FD_SETSIZE-from-512-to-2048.patch

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
From e197022b6c7d45967a8a5b740b8fd7d21d059aed Mon Sep 17 00:00:00 2001
1+
From a70742c0b7ff8e15b948a74e112f1c5542cf8e57 Mon Sep 17 00:00:00 2001
22
From: Ray Donnelly <mingw.android@gmail.com>
33
Date: Wed, 16 Aug 2017 11:53:55 +0100
4-
Subject: [PATCH 01/24] Win32: Change FD_SETSIZE from 512 to 2048
4+
Subject: [PATCH 01/25] Win32: Change FD_SETSIZE from 512 to 2048
55

66
https://github.com/ContinuumIO/anaconda-issues/issues/1241
77
---

recipe/patches/0002-Win32-Do-not-download-externals.patch

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
From fb978fc203b5318e3fce4361d3698b0feb939abc Mon Sep 17 00:00:00 2001
1+
From 3a4008e96246da906293908fbb4606040f959573 Mon Sep 17 00:00:00 2001
22
From: Ray Donnelly <mingw.android@gmail.com>
33
Date: Thu, 7 Sep 2017 11:35:47 +0100
4-
Subject: [PATCH 02/24] Win32: Do not download externals
4+
Subject: [PATCH 02/25] Win32: Do not download externals
55

66
---
77
PCbuild/build.bat | 4 ++--

recipe/patches/0003-Fix-find_library-so-that-it-looks-in-sys.prefix-lib-.patch

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1-
From 24c5979ae5cf7febe41ad52060b248493735c517 Mon Sep 17 00:00:00 2001
1+
From 88bd8f9025833f84620ef05689285bf8f49d0092 Mon Sep 17 00:00:00 2001
22
From: Ray Donnelly <mingw.android@gmail.com>
33
Date: Tue, 5 Dec 2017 22:47:59 +0000
4-
Subject: [PATCH] Fix find_library so that it looks in sys.prefix/lib first
4+
Subject: [PATCH 03/25] Fix find_library so that it looks in sys.prefix/lib
5+
first
56

67
---
78
Lib/ctypes/macholib/dyld.py | 4 ++++

recipe/patches/0004-Disable-registry-lookup-unless-CONDA_PY_ALLOW_REG_PA.patch

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
From 4e3f13907040ce28ac000970380c56eb24437c84 Mon Sep 17 00:00:00 2001
1+
From 41a3e039bf637311f375d30d939d4486dc3aff0d Mon Sep 17 00:00:00 2001
22
From: Ray Donnelly <mingw.android@gmail.com>
33
Date: Sat, 27 Oct 2018 18:48:30 +0100
4-
Subject: [PATCH 04/24] Disable registry lookup unless CONDA_PY_ALLOW_REG_PATHS
4+
Subject: [PATCH 04/25] Disable registry lookup unless CONDA_PY_ALLOW_REG_PATHS
55
is not 0
66

77
Co-authored-by: Isuru Fernando<isuruf@gmail.com>

recipe/patches/0005-Unvendor-openssl.patch

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
From a5bc981e40a00c01ddd9c82015cc987358721c89 Mon Sep 17 00:00:00 2001
1+
From bffdcfa936322c7bf70469c2b7839b1b84b62785 Mon Sep 17 00:00:00 2001
22
From: Nehal J Wani <nehaljw.kkd1@gmail.com>
33
Date: Sat, 24 Nov 2018 20:38:02 -0600
4-
Subject: [PATCH 05/24] Unvendor openssl
4+
Subject: [PATCH 05/25] Unvendor openssl
55

66
Co-authored-by: Isuru Fernando <isuruf@gmail.com>
77
---
@@ -90,18 +90,18 @@ index 7ca750dda8f..17eee400ebb 100644
9090
<Target Name="CleanAll">
9191
<Delete Files="$(TargetPath);$(BuildPath)$(tclDLLName)" />
9292
diff --git a/PCbuild/python.props b/PCbuild/python.props
93-
index 62f42d0ce9c..0ec0914facd 100644
93+
index c29caa61bbd..d0d58ce57e4 100644
9494
--- a/PCbuild/python.props
9595
+++ b/PCbuild/python.props
96-
@@ -61,6 +61,7 @@
96+
@@ -62,6 +62,7 @@
9797
<!-- Directories of external projects. tcltk is handled in tcltk.props -->
9898
<PropertyGroup>
9999
<ExternalsDir Condition="$(ExternalsDir) == ''">$(EXTERNALS_DIR)</ExternalsDir>
100100
+ <condaDir>$(LIBRARY_PREFIX)\</condaDir>
101101
<ExternalsDir Condition="$(ExternalsDir) == ''">$([System.IO.Path]::GetFullPath(`$(PySourcePath)externals`))</ExternalsDir>
102102
<ExternalsDir Condition="!HasTrailingSlash($(ExternalsDir))">$(ExternalsDir)\</ExternalsDir>
103103
</PropertyGroup>
104-
@@ -68,18 +69,8 @@
104+
@@ -69,18 +70,8 @@
105105
<Import Project="$(ExternalProps)" Condition="$(ExternalProps) != '' and Exists('$(ExternalProps)')" />
106106

107107
<PropertyGroup>
@@ -112,8 +112,8 @@ index 62f42d0ce9c..0ec0914facd 100644
112112
- <libffiOutDir Condition="$(libffiOutDir) == ''">$(libffiDir)$(ArchName)\</libffiOutDir>
113113
- <libffiIncludeDir Condition="$(libffiIncludeDir) == ''">$(libffiOutDir)include</libffiIncludeDir>
114114
<mpdecimalDir Condition="$(mpdecimalDir) == ''">$(ExternalsDir)\mpdecimal-4.0.0\</mpdecimalDir>
115-
- <opensslDir Condition="$(opensslDir) == ''">$(ExternalsDir)openssl-3.0.18\</opensslDir>
116-
- <opensslOutDir Condition="$(opensslOutDir) == ''">$(ExternalsDir)openssl-bin-3.0.18\$(ArchName)\</opensslOutDir>
115+
- <opensslDir Condition="$(opensslDir) == ''">$(ExternalsDir)openssl-3.0.19\</opensslDir>
116+
- <opensslOutDir Condition="$(opensslOutDir) == ''">$(ExternalsDir)openssl-bin-3.0.19\$(ArchName)\</opensslOutDir>
117117
- <opensslIncludeDir Condition="$(opensslIncludeDir) == ''">$(opensslOutDir)include</opensslIncludeDir>
118118
<nasmDir Condition="$(nasmDir) == ''">$(ExternalsDir)\nasm-2.11.06\</nasmDir>
119119
- <zlibDir Condition="$(zlibDir) == ''">$(ExternalsDir)\zlib-1.3.1\</zlibDir>

recipe/patches/0006-Unvendor-sqlite3.patch

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
From d29e0ce1655c9323a39b2d3dc23327f82b246429 Mon Sep 17 00:00:00 2001
1+
From 54ebce771e1cc5f36d69ca80277786f709ae41ce Mon Sep 17 00:00:00 2001
22
From: Nehal J Wani <nehaljw.kkd1@gmail.com>
33
Date: Tue, 5 Oct 2021 12:42:06 -0700
4-
Subject: [PATCH 06/24] Unvendor sqlite3
4+
Subject: [PATCH 06/25] Unvendor sqlite3
55

66
---
77
PCbuild/_sqlite3.vcxproj | 11 +++++------

recipe/patches/0007-Add-CondaEcosystemModifyDllSearchPath.patch

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
From e80541cbc8a42d8cc5d80fbb3dfcd6ec23fdfd8b Mon Sep 17 00:00:00 2001
1+
From 91619d973f19541cef025dc1ff192feed29fd1ce Mon Sep 17 00:00:00 2001
22
From: Ray Donnelly <mingw.android@gmail.com>
33
Date: Tue, 24 Dec 2019 18:37:17 +0100
4-
Subject: [PATCH 07/24] Add CondaEcosystemModifyDllSearchPath()
4+
Subject: [PATCH 07/25] Add CondaEcosystemModifyDllSearchPath()
55

66
The python interpreter is modifed so that it works as if the python interpreter
77
was called with the following conda directories.
@@ -33,7 +33,7 @@ Co-authored-by: Isuru Fernando <isuruf@gmail.com>
3333
1 file changed, 96 insertions(+)
3434

3535
diff --git a/Python/pylifecycle.c b/Python/pylifecycle.c
36-
index 5e420bdf337..8f6b67c42b9 100644
36+
index 8ba9b2bd006..fb397de1ffb 100644
3737
--- a/Python/pylifecycle.c
3838
+++ b/Python/pylifecycle.c
3939
@@ -74,6 +74,10 @@

recipe/patches/0008-Doing-d1trimfile.patch

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
From d1c349d5e8cade417eb4263cd30b4e5585b7a368 Mon Sep 17 00:00:00 2001
1+
From 87116ba01329804b3fdca98410416c075bd6c27e Mon Sep 17 00:00:00 2001
22
From: Ray Donnelly <mingw.android@gmail.com>
33
Date: Tue, 31 Dec 2019 21:47:47 +0100
4-
Subject: [PATCH 08/24] Doing d1trimfile
4+
Subject: [PATCH 08/25] Doing d1trimfile
55

66
---
77
PCbuild/_asyncio.vcxproj | 20 ++++++++++++++++++++

recipe/patches/0009-cross-compile-darwin.patch

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
From 4ca3a6e8016607bbb1a5d570f257e45364abc69a Mon Sep 17 00:00:00 2001
1+
From 1c3831e5afa7bf46f2525f8dd7ab08073b7d545e Mon Sep 17 00:00:00 2001
22
From: Ray Donnelly <mingw.android@gmail.com>
33
Date: Fri, 2 Oct 2020 00:03:12 +0200
4-
Subject: [PATCH 09/24] cross compile darwin
4+
Subject: [PATCH 09/25] cross compile darwin
55

66
By Isuru Fernando.
77
---
@@ -29,7 +29,7 @@ index 8895177e326..fd93841d034 100755
2929
try:
3030
import plistlib
3131
diff --git a/configure b/configure
32-
index 901a26c9602..e96a4d404e8 100755
32+
index 9ddb712b534..9e3d1d4929a 100755
3333
--- a/configure
3434
+++ b/configure
3535
@@ -4052,6 +4052,9 @@ then
@@ -53,7 +53,7 @@ index 901a26c9602..e96a4d404e8 100755
5353
_host_ident=
5454
;;
5555
diff --git a/configure.ac b/configure.ac
56-
index 597a44b331a..2287ee877c8 100644
56+
index d9acfce793e..ca97817db17 100644
5757
--- a/configure.ac
5858
+++ b/configure.ac
5959
@@ -324,6 +324,9 @@ then

recipe/patches/0010-Fix-TZPATH-on-windows.patch

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
From 3e6a9ea22336ec417dd43c896f9655fa1dc1b18e Mon Sep 17 00:00:00 2001
1+
From 598cafbb2d198448c9ccc5085d165bedaa2d1b79 Mon Sep 17 00:00:00 2001
22
From: Isuru Fernando <isuruf@gmail.com>
33
Date: Wed, 7 Oct 2020 10:08:30 -0500
4-
Subject: [PATCH 10/24] Fix TZPATH on windows
4+
Subject: [PATCH 10/25] Fix TZPATH on windows
55

66
---
77
Lib/sysconfig/__init__.py | 1 +
88
1 file changed, 1 insertion(+)
99

1010
diff --git a/Lib/sysconfig/__init__.py b/Lib/sysconfig/__init__.py
11-
index 510c7b9568a..c45f79fbc29 100644
11+
index 43edebce347..2df352ff415 100644
1212
--- a/Lib/sysconfig/__init__.py
1313
+++ b/Lib/sysconfig/__init__.py
1414
@@ -499,6 +499,7 @@ def _init_config_vars():

0 commit comments

Comments
 (0)