On 2021/05/24 01:19, Elias M. Mariani wrote:
> Changlelog:
> https://github.com/qbittorrent/qBittorrent/blob/release-4.3.5/Changelog
> 
> New minimum versions are requested to build (zlib>=1.2.11 and
> openssl>=1.1.1).
> The 'configure' file has been modified accordingly.

The configure patches are getting a bit complex, please would patch the
input file (configure.ac) instead? It's simpler and less likely to result
in a mis-merge with a future update.

e.g.

CONFIGURE_STYLE =       autoreconf
AUTORECONF =            ${WRKSRC}/bootstrap.sh
AUTOCONF_VERSION =      2.71
AUTOMAKE_VERSION =      1.16

Index: configure.ac
--- configure.ac.orig
+++ configure.ac
@@ -185,12 +185,12 @@ PKG_CHECK_MODULES(libtorrent,
                   LIBS="$libtorrent_LIBS $LIBS"])
 
 PKG_CHECK_MODULES(openssl,
-                  [openssl >= 1.1.1],
+                  [openssl >= 1.0.0],
                   [CXXFLAGS="$openssl_CFLAGS $CXXFLAGS"
                   LIBS="$openssl_LIBS $LIBS"])
 
 PKG_CHECK_MODULES(zlib,
-                 [zlib >= 1.2.11],
+                 [zlib >= 1.2.3],
                  [CXXFLAGS="$zlib_CFLAGS $CXXFLAGS"
                  LIBS="$zlib_LIBS $LIBS"])
 

Reply via email to