commit:     8ece9896e800e5a76aa92a1202b2727c363690ce
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 29 15:46:46 2020 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Tue Dec 29 15:49:08 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ece9896

net-misc/wget2: Fixed avoid_bashisms patch

I forgot to address one remaining bashism

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>

 net-misc/wget2/files/wget2-1.99.2-avoid_bashisms.patch | 15 +++++++++------
 1 file changed, 9 insertions(+), 6 deletions(-)

diff --git a/net-misc/wget2/files/wget2-1.99.2-avoid_bashisms.patch 
b/net-misc/wget2/files/wget2-1.99.2-avoid_bashisms.patch
index 9b57117135a..8835171bb61 100644
--- a/net-misc/wget2/files/wget2-1.99.2-avoid_bashisms.patch
+++ b/net-misc/wget2/files/wget2-1.99.2-avoid_bashisms.patch
@@ -1,4 +1,4 @@
-From c2a27f61db2de16fbadd1d52802c667cb0a2f819 Mon Sep 17 00:00:00 2001
+From 60b50a9076c06933f7255afc8df0733a4311f767 Mon Sep 17 00:00:00 2001
 From: =?UTF-8?q?Tim=20R=C3=BChsen?= <[email protected]>
 Date: Thu, 29 Oct 2020 23:05:18 +0100
 Subject: [PATCH] * configure.ac: Fix configure.ac bashisms
@@ -8,11 +8,11 @@ Reported-by: Brian Inglis
 Backported to 1.99.2 release
 Signed-off-by: Lars Wendler <[email protected]>
 ---
- configure.ac | 18 +++++++++---------
- 1 file changed, 9 insertions(+), 9 deletions(-)
+ configure.ac | 20 ++++++++++----------
+ 1 file changed, 10 insertions(+), 10 deletions(-)
 
 diff --git a/configure.ac b/configure.ac
-index ab3d9fdf..158d5aea 100644
+index ab3d9fdf..4cc5eff2 100644
 --- a/configure.ac
 +++ b/configure.ac
 @@ -350,13 +350,13 @@ if test "$enable_doc" = yes; then
@@ -40,9 +40,12 @@ index ab3d9fdf..158d5aea 100644
    PKG_CHECK_MODULES([GNUTLS], [gnutls], [
      with_gnutls=yes
      LIBS="$GNUTLS_LIBS $LIBS"
-@@ -454,14 +454,14 @@ AS_IF([test "x$with_ssl" == "xgnutls"], [
+@@ -452,16 +452,16 @@ AS_IF([test "x$with_ssl" == "xgnutls"], [
+       [with_gnutls=no;  AC_MSG_WARN(*** GNUTLS was not found. You will not be 
able to use HTTPS. Fallback to libnettle for hashing and checksumming.)])
+   ])
  
-   AS_IF([test "x$with_gnutls" == xyes], [
+-  AS_IF([test "x$with_gnutls" == xyes], [
++  AS_IF([test "x$with_gnutls" = xyes], [
      AC_SEARCH_LIBS(gnutls_hash, gnutls, [with_gnutls_hash=yes])
 -    AS_IF([test "x$with_gnutls_hash" == xyes],
 +    AS_IF([test "x$with_gnutls_hash" = xyes],

Reply via email to