Skip to content

Commit

Permalink
Merge pull request #3399 from hadfl/libxml2
Browse files Browse the repository at this point in the history
fix aarch64 builds
  • Loading branch information
oetiker authored Nov 23, 2023
2 parents 507dfe7 + cf2148f commit c2d39f0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 12 deletions.
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
)

0 comments on commit c2d39f0

Please sign in to comment.