[blfs] branch trunk updated: Fix wget to be compatible with OpenSSL 4.

"Git Owner" ([email protected] via blfs-book Mailing List) <[email protected]>
Newsgroups gmane.linux.lfs.beyond.book
Message-ID <177852570913.16602.6510716902584187411@rivendell.linuxfromscratch.org>
This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch trunk
in repository blfs.

The following commit(s) were added to refs/heads/trunk by this push:
     new f8042eccd5 Fix wget to be compatible with OpenSSL 4.
f8042eccd5 is described below

commit f8042eccd5d72fc683e02ec9854a7e995acdf957
Author: Bruce Dubbs <[email protected]>
AuthorDate: Mon May 11 13:49:39 2026 -0500

    Fix wget to be compatible with OpenSSL 4.
    
    The changed line is very long and wouldn't fit properly into the page.
    
    The way I did this was a little unusual but the alternative would be to
    somehow split the line into two parts.  That would be tricky in a sed.
    
    The alternative would be to use a patch, but that seems like overkill
    for what is now a one line chnage.
    
    This change will only last until the next version of wget is released,
---
 networking/netprogs/wget.xml | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/networking/netprogs/wget.xml b/networking/netprogs/wget.xml
index a9487a16f3..010cdad675 100644
--- a/networking/netprogs/wget.xml
+++ b/networking/netprogs/wget.xml
@@ -94,6 +94,18 @@
   <sect2 role="installation">
     <title>Installation of Wget</title>
 
+    <para>
+      First, make a fix to make the package compatible with OpenSSL 4.  The
+      bash variable is for presentation purposes due to the long line.
+    </para>
+
+<screen><userinput>NEW_LINE="#if !defined OPENSSL_NO_SSL3_METHOD "
+NEW_LINE+="&amp;&amp; OPENSSL_VERSION_NUMBER &lt; 0x40000000L"
+
+sed -i "/SSL3/c $NEW_LINE" src/openssl.c
+
+unset NEW_LINE </userinput></screen>
+
     <para>
       Install <application>Wget</application> by running the following commands:
     </para>

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

-- 
http://lists.linuxfromscratch.org/sympa/info/blfs-book
Unsubscribe: See the above information page
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.