Blame patches/fetchmail-6.4.39_pre.local.patch

c2bb65
diff -ru fetchmail-6.4.39.orig/configure fetchmail-6.4.39/configure
c2bb65
--- fetchmail-6.4.39.orig/configure	2024-07-20 11:34:52.000000000 +0200
c2bb65
+++ fetchmail-6.4.39/configure	2024-08-09 11:53:47.808214122 +0200
c2bb65
@@ -13349,8 +13349,8 @@
c2bb65
 		with_wolfssl="$(${_WOLFSSLCONF} --prefix)"
c2bb65
 	fi
c2bb65
 	if "$_WOLFSSLCONF" >/dev/null 2>&1 --version ; then
c2bb65
-		wolfCFLAGS="$(${_WOLFSSLCONF} --cflags)"
c2bb65
-		wolfLIBS="$(${_WOLFSSLCONF} --libs)"
c2bb65
+		wolfCFLAGS="$($PKG_CONFIG --cflags wolfssl)"
c2bb65
+		wolfLIBS="$($PKG_CONFIG --libs wolfssl)"
c2bb65
 	elif test -d "${with_wolfssl}/include" -a -d "${with_wolfssl}/lib" ; then
c2bb65
 		wolfCFLAGS="-I${with_wolfssl}/include"
c2bb65
 		wolfLIBS="-L${with_wolfssl}/lib -lwolfssl -lpthread"
c2bb65
diff -ru fetchmail-6.4.39.orig/fetchmail.c fetchmail-6.4.39/fetchmail.c
c2bb65
--- fetchmail-6.4.39.orig/fetchmail.c	2024-01-31 20:54:42.000000000 +0100
c2bb65
+++ fetchmail-6.4.39/fetchmail.c	2024-08-09 11:34:11.836359108 +0200
c2bb65
@@ -314,9 +314,11 @@
c2bb65
 		   "Run-time uses SSL library %#lx \"%s\"\n"),
c2bb65
 			OPENSSL_VERSION_NUMBER, OPENSSL_VERSION_TEXT,
c2bb65
 			OpenSSL_version_num(), OpenSSL_version(OPENSSL_VERSION));
c2bb65
+#ifndef USING_WOLFSSL
c2bb65
 	printf(GT_("OpenSSL: %s\nEngines: %s\n"),
c2bb65
 			OpenSSL_version(OPENSSL_DIR),
c2bb65
 			OpenSSL_version(OPENSSL_ENGINES_DIR));
c2bb65
+#endif
c2bb65
 # if !HAVE_DECL_TLS1_3_VERSION || defined(OPENSSL_NO_TLS1_3)
c2bb65
 	printf(GT_("WARNING: Your SSL/TLS library does not support TLS v1.3.\n"));
c2bb65
 # endif
c2bb65
Only in fetchmail-6.4.39: fetchmail.c.orig