Re: Wget-1.25.0

Zeckma ([email protected] via blfs-support Mailing List) <[email protected]> Sun, 2 Aug 2026 14:25:41 -0600
Newsgroups gmane.linux.lfs.beyond.support
Message-ID <[email protected]>
This is a multi-part message in MIME format...

------------=_1785702346-1024790-7541
Content-Language: en-US
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit

On 8/2/26 14:20, Pocket ([email protected] via blfs-support Mailing
List) wrote:
 > This is the "build commands"
 >
 > cat 358-wget
 > NEW_LINE='#if !defined OPENSSL_NO_SSL3_METHOD '
 > NEW_LINE+=' OPENSSL_VERSION_NUMBER < 0x40000000L'
 > sed -i "/SSL3/c $NEW_LINE" src/openssl.c
 > unset NEW_LINE
 > ./configure --prefix=/usr      \
 >             --sysconfdir=/etc  \
 >             --with-ssl=openssl
 > make
 > # Run this as root
 > make install
 > # End root commands

The line with NEW_LINE+= is supposed to have
'&& OPENSSL_VERSION_NUMBER < 0x40000000L' instead of
' OPENSSL_VERSION_NUMBER < 0x40000000L'.

What it ends up looking is like:
if (!a b) instead of if (!a && b).

The && must be there for the binary statement.

In total, it should be:
#if !defined OPENSSL_NO_SSL3_METHOD && OPENSSL_VERSION_NUMBER < 0x40000000L

- Zeckma

------------=_1785702346-1024790-7541
Content-Type: text/plain; charset="UTF-8"
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
MIME-Version: 1.0

-- 
http://lists.linuxfromscratch.org/sympa/info/blfs-support
Unsubscribe: See the above information page

------------=_1785702346-1024790-7541--