Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix aarch64 builds #3399

Merged
merged 2 commits into from
Nov 23, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions build/libxml2/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ CONFIGURE_OPTS+="

TESTSUITE_FILTER="^(Total|[Tt]esting|Ran)"

CFLAGS[aarch64]+=" -mtls-dialect=trad"

init
download_source $PROG $PROG $VER
patch_source
Expand Down
16 changes: 4 additions & 12 deletions build/python311/pyopenssl/patches.aarch64/cryptography.patch
Original file line number Diff line number Diff line change
@@ -1,21 +1,13 @@
diff -wpruN '--exclude=*.orig' a~/src/OpenSSL/crypto.py a/src/OpenSSL/crypto.py
diff -wpruN --no-dereference '--exclude=*.orig' a~/src/OpenSSL/crypto.py a/src/OpenSSL/crypto.py
--- a~/src/OpenSSL/crypto.py 1970-01-01 00:00:00
+++ a/src/OpenSSL/crypto.py 1970-01-01 00:00:00
@@ -3257,8 +3257,7 @@ utils.deprecated(
"PKCS#7 support in pyOpenSSL is deprecated. You should use the APIs "
@@ -2840,8 +2840,7 @@ utils.deprecated(
"PKCS#12 support in pyOpenSSL is deprecated. You should use the APIs "
"in cryptography."
),
- DeprecationWarning,
- name="load_pkcs7_data",
- name="PKCS12",
+ DeprecationWarning
)


@@ -3356,6 +3355,5 @@ utils.deprecated(
"PKCS#12 support in pyOpenSSL is deprecated. You should use the APIs "
"in cryptography."
),
- DeprecationWarning,
- name="load_pkcs12",
+ DeprecationWarning
)
Loading