/dev-python/pycryptodome/files/pycryptodome-3.10.1-parallel-make.patch
https://github.com/Whissi/gentoo-overlay · Patch · 22 lines · 22 code · 0 blank · 0 comment · 0 complexity · c3339f51768b6388ce39fc9d79853943 MD5 · raw file
- diff -dupr a/setup.py b/setup.py
- --- a/setup.py 2021-02-09 13:46:16.138626317 +0100
- +++ b/setup.py 2021-02-09 13:46:51.116065599 +0100
- @@ -360,7 +360,7 @@ ext_modules = [
- Extension("Crypto.Cipher._raw_eksblowfish",
- include_dirs=['src/'],
- define_macros=[('EKS',None),],
- - sources=["src/blowfish.c"],
- + sources=["src/blowfish_eks.c"],
- py_limited_api=True),
- Extension("Crypto.Cipher._raw_cast",
- include_dirs=['src/'],
- @@ -442,7 +442,8 @@ ext_modules = [
- # Math
- Extension("Crypto.Math._modexp",
- include_dirs=['src/'],
- - sources=['src/modexp.c', 'src/siphash.c', 'src/modexp_utils.c', 'src/mont.c'],
- + sources=['src/modexp.c', 'src/siphash.c', 'src/modexp_utils.c',
- + 'src/mont_math.c'],
- py_limited_api=True,
- ),
- ]