Sorry, forgot to attach the patch in my previous mail.
diff --git a/debian/patches/openssl_1.1.patch b/debian/patches/openssl_1.1.patch
new file mode 100644
index 0000000..047d6ec
--- /dev/null
+++ b/debian/patches/openssl_1.1.patch
@@ -0,0 +1,27 @@
+--- a/configure.ac
++++ b/configure.ac
+@@ -1008,7 +1008,7 @@
+ 			SSL_LDADD="-L$dir $SSL_LDADD"
+ 		fi
+ 		LDFLAGS="$LDFLAGS $SSL_LDADD"
+-		AC_TRY_LINK_FUNC(SSL_load_error_strings,ac_linked_libssl="true",
++		AC_TRY_LINK_FUNC(OPENSSL_init_ssl,ac_linked_libssl="true",
+ 			ac_linked_libssl="false");
+ 		AC_TRY_LINK_FUNC(RC4_set_key,ac_linked_libcrypto="true",
+ 			ac_linked_libcrypto="false");
+--- a/configure
++++ b/configure
+@@ -10408,11 +10408,11 @@
+ #ifdef __cplusplus
+ extern "C"
+ #endif
+-char SSL_load_error_strings ();
++char OPENSSL_init_ssl ();
+ int
+ main ()
+ {
+-return SSL_load_error_strings ();
++return OPENSSL_init_ssl ();
+   ;
+   return 0;
+ }
diff --git a/debian/patches/series b/debian/patches/series
index d44948b..146f8ed 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
 lpd_conf_manwarnings
 portable_maxpathlen
 string_literals
+openssl_1.1.patch

Attachment: signature.asc
Description: PGP signature



Reply via email to