[blfs] branch trunk updated: serf: sed for building with OpenSSL-4

"Git Owner" ([email protected] via blfs-book Mailing List) <[email protected]>
Newsgroups gmane.linux.lfs.beyond.book
Message-ID <177969399489.23363.12373377145754419726@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 58eaa1b756 serf: sed for building with OpenSSL-4
58eaa1b756 is described below

commit 58eaa1b75697d8b1f319212de5a3be61b5c3dee4
Author: Pierre Labastie <[email protected]>
AuthorDate: Mon May 25 09:26:00 2026 +0200

    serf: sed for building with OpenSSL-4
---
 introduction/welcome/changelog.xml | 10 ++++++++++
 networking/netlibs/serf.xml        | 13 ++++++-------
 2 files changed, 16 insertions(+), 7 deletions(-)

diff --git a/introduction/welcome/changelog.xml b/introduction/welcome/changelog.xml
index e3087b38be..a3f1ffb055 100644
--- a/introduction/welcome/changelog.xml
+++ b/introduction/welcome/changelog.xml
@@ -39,6 +39,16 @@
   <itemizedlist>
     <title>Changelog Entries:</title>
 
+    <listitem>
+      <para>May 25th, 2026</para>
+      <itemizedlist>
+        <listitem>
+          <para>[pierre] - Fix serf for OpenSSL-4. Part of
+          <ulink url="&blfs-ticket-root;23330">#23330</ulink>.</para>
+        </listitem>
+      </itemizedlist>
+    </listitem>
+
     <listitem>
       <para>May 24th, 2026</para>
       <itemizedlist>
diff --git a/networking/netlibs/serf.xml b/networking/netlibs/serf.xml
index a20a0d4786..f9488ef19e 100644
--- a/networking/netlibs/serf.xml
+++ b/networking/netlibs/serf.xml
@@ -112,12 +112,12 @@
 <screen><userinput>sed -i "/Append/s:RPATH=libdir,::"          SConstruct &amp;&amp;
 sed -i "/Default/s:lib_static,::"           SConstruct &amp;&amp;
 sed -i "/Alias/s:install_static,::"         SConstruct &amp;&amp;
+sed -e 's/nm->d.ia5->length/ASN1_STRING_length(nm->d.ia5)/'                \
+    -e 's/nm->d.ia5->data/(const char *)ASN1_STRING_get0_data(nm->d.ia5)/' \
+    -i buckets/ssl_buckets.c                           &amp;&amp;
+
 
 scons PREFIX=/usr</userinput></screen>
-<!--
-sed -i "/  print/{s/print/print(/; s/$/)/}" SConstruct &amp;&amp;
-sed -i "/get_contents()/s/,/.decode()&amp;/"    SConstruct &amp;&amp;
--->
 
 <!-- I did not find this to be needed as of 1.3.9 -renodr
     <para>
@@ -154,9 +154,8 @@ sed -i "/get_contents()/s/,/.decode()&amp;/"    SConstruct &amp;&amp;
     <para>
       <command>sed -i "..."</command>: The first command removes the runtime
       path from a shared library and the next two commands disable building and
-      installing of the static library.  <!--The fourth command corrects for
-      changes in scons-3.x. The last command allows to use <application>
-      Python 3</application>.-->
+      installing of the static library. The fourth command corrects for
+      changes in OpenSSL-4.
     </para>
 
     <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.