slackware-current/patches/source/python3/python3.distutils.x86_64.diff
Patrick J Volkerding 5d5dc01569 Fri Mar 18 20:16:12 UTC 2022
patches/packages/python3-3.9.11-x86_64-1_slack15.0.txz:  Upgraded.
  This update fixes bugs and security issues:
  libexpat upgraded from 2.4.1 to 2.4.7
  bundled pip upgraded from 21.2.4 to 22.0.4
  authorization bypass fixed in urllib.request
  REDoS avoided in importlib.metadata
  For more information, see:
    https://pythoninsider.blogspot.com/2022/03/python-3103-3911-3813-and-3713-are-now.html
    https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-28363
  (* Security fix *)
2022-03-19 13:29:58 +01:00

30 lines
1.3 KiB
Diff

--- ./Lib/distutils/sysconfig.py.orig 2020-10-05 10:07:58.000000000 -0500
+++ ./Lib/distutils/sysconfig.py 2020-10-24 17:31:20.860207925 -0500
@@ -151,7 +151,7 @@
libdir = sys.platlibdir
else:
# Pure Python
- libdir = "lib"
+ libdir = "lib64"
libpython = os.path.join(prefix, libdir,
"python" + get_python_version())
if standard_lib:
--- ./Lib/distutils/command/install.py.orig 2020-10-05 10:07:58.000000000 -0500
+++ ./Lib/distutils/command/install.py 2020-10-24 17:29:58.230206077 -0500
@@ -29,14 +29,14 @@
INSTALL_SCHEMES = {
'unix_prefix': {
- 'purelib': '$base/lib/python$py_version_short/site-packages',
+ 'purelib': '$base/lib64/python$py_version_short/site-packages',
'platlib': '$platbase/$platlibdir/python$py_version_short/site-packages',
'headers': '$base/include/python$py_version_short$abiflags/$dist_name',
'scripts': '$base/bin',
'data' : '$base',
},
'unix_home': {
- 'purelib': '$base/lib/python',
+ 'purelib': '$base/lib64/python',
'platlib': '$base/$platlibdir/python',
'headers': '$base/include/python/$dist_name',
'scripts': '$base/bin',