summaryrefslogtreecommitdiff
path: root/lang/python37/patches/patch-Modules___decimal_libmpdec_mpdecimal.h
AgeCommit message (Collapse)AuthorFilesLines
2020-11-17lang/python37: Fix for macOS 11 and Apple Siliconsjmulder1-0/+17
(Apple Silicon being their aarch64 platform.) This is backport of the same in lang/python39 and lang/python38. Some parts weren't applicable in 3.7. The setup.py script needed some work on the ffi code. Otherwise, minor changes. Patches consist of: - Upstream work: https://github.com/python/cpython/pull/22855 - Fix for setup.py to find libbz2.tbd and libz.tbd now that with the shared library cache there's nothing in /usr/lib. See: https://bugs.python.org/issue41116 - Addition of __arch64__ case to fix _decimal module. A very similar fix has since been committed upstream.