summarylogtreecommitdiffstats
path: root/openssl_crypto.patch
diff options
context:
space:
mode:
authorD. Can Celasun2019-03-13 09:54:45 +0100
committerD. Can Celasun2019-03-13 09:54:56 +0100
commit39751980b844e8d3836304e2c7655fba07a78c44 (patch)
tree0d0a4acae720d555f5caf83c949c261230b6c874 /openssl_crypto.patch
downloadaur-39751980b844e8d3836304e2c7655fba07a78c44.tar.gz
[New package] ssmtp 2.64-10
Resurrected the package that was deleted from [extra] and added patches from Fedora.
Diffstat (limited to 'openssl_crypto.patch')
-rw-r--r--openssl_crypto.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/openssl_crypto.patch b/openssl_crypto.patch
new file mode 100644
index 000000000000..e3055b2e712c
--- /dev/null
+++ b/openssl_crypto.patch
@@ -0,0 +1,21 @@
+Fix linking error:
+
+Undefined symbols:
+ "_X509_free", referenced from:
+ _smtp_open in ssmtp.o
+ld: symbol(s) not found
+
+
+Index: ssmtp-2.64/configure.in
+===================================================================
+--- ssmtp-2.64.orig/configure.in
++++ ssmtp-2.64/configure.in
+@@ -52,7 +52,7 @@ AC_ARG_ENABLE(ssl,
+ [ --enable-ssl support for secure connection to mail server])
+ if test x$enableval = xyes ; then
+ AC_DEFINE(HAVE_SSL)
+- LIBS="$LIBS -lssl"
++ LIBS="$LIBS -lssl -lcrypto"
+ fi
+ enableval=""
+