summaryrefslogtreecommitdiff
path: root/system/python3/musl-find_library.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2023-04-01 22:14:13 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2023-04-01 22:14:13 -0500
commit3829532d512ff2a90cf3951c15b0f4adc4660c0a (patch)
tree7b3ad3385b2636a7b4ce083e5ccfb4cb08ec098e /system/python3/musl-find_library.patch
parent59f50eb4aea3e8c0ba74414ad1a1f09795d80e03 (diff)
downloadpackages-3829532d512ff2a90cf3951c15b0f4adc4660c0a.tar.gz
packages-3829532d512ff2a90cf3951c15b0f4adc4660c0a.tar.bz2
packages-3829532d512ff2a90cf3951c15b0f4adc4660c0a.tar.xz
packages-3829532d512ff2a90cf3951c15b0f4adc4660c0a.zip
system/python3: Update to 3.11.2
Diffstat (limited to 'system/python3/musl-find_library.patch')
-rw-r--r--system/python3/musl-find_library.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/system/python3/musl-find_library.patch b/system/python3/musl-find_library.patch
index 7899abb73..6181ede0a 100644
--- a/system/python3/musl-find_library.patch
+++ b/system/python3/musl-find_library.patch
@@ -1,13 +1,13 @@
diff -ru Python-2.7.12.orig/Lib/ctypes/util.py Python-2.7.12/Lib/ctypes/util.py
--- Python-2.7.12.orig/Lib/ctypes/util.py 2016-06-26 00:49:30.000000000 +0300
+++ Python-2.7.12/Lib/ctypes/util.py 2016-11-03 16:05:46.954665040 +0200
-@@ -204,6 +204,41 @@
+@@ -265,6 +265,41 @@
def find_library(name, is64 = False):
return _get_soname(_findLib_crle(name, is64) or _findLib_gcc(name))
+ elif True:
+
-+ # Patched for Alpine Linux / musl - search manually system paths
++ # Patched for musl to search manually system paths
+ def _is_elf(filepath):
+ try:
+ with open(filepath, 'rb') as fh: