summary refs log tree commit diff
path: root/gnu/local.mk
diff options
context:
space:
mode:
authorGiovanni Biscuolo <g@xelera.eu>2021-08-12 18:09:02 +0200
committerLeo Famulari <leo@famulari.name>2021-07-27 12:34:57 -0400
commit05effbbfc2fc6223aafacf8a3cb2b2d970b6bb66 (patch)
treef19d1be80b2485635fe7f8d902f498dec18f1b53 /gnu/local.mk
parentef9dc9efa49a1db600805f3fbcd2dbfbabfb4ea4 (diff)
downloadguix-05effbbfc2fc6223aafacf8a3cb2b2d970b6bb66.tar.gz
gnu: adb: Make compatible with OpenSSL 1.1.
OpenSSL version 1.1 brought some API changes which broke the build here, fix
that by accessing rsa->n (and e) directly, using RSA_get0_key instead.

* gnu/packages/patches/adb-libssl_11-compatibility.patch: New file
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/android.scm (android-platform-system-core)[origin]: Use it.
(adb)[inputs]: Replace openssl-1.0 with openssl.
Diffstat (limited to 'gnu/local.mk')
-rw-r--r--gnu/local.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/gnu/local.mk b/gnu/local.mk
index 5c323d3eb4..6dda311743 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -805,6 +805,7 @@ dist_patch_DATA =						\
   %D%/packages/patches/abseil-cpp-fix-gtest.patch		\
   %D%/packages/patches/abseil-cpp-fix-strerror_test.patch	\
   %D%/packages/patches/adb-add-libraries.patch			\
+  %D%/packages/patches/adb-libssl_11-compatibility.patch	\
   %D%/packages/patches/aegis-constness-error.patch         	\
   %D%/packages/patches/aegis-perl-tempdir1.patch           	\
   %D%/packages/patches/aegis-perl-tempdir2.patch           	\