Changeset 4c59e83


Ignore:
Timestamp:
10/30/2022 01:56:07 AM (18 months ago)
Author:
Ken Moffat <ken@…>
Branches:
11.3, 12.0, 12.1, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, xry111/llvm18, xry111/xf86-video-removal
Children:
57ab929
Parents:
6fe407f4
Message:

Fix postfix ftbfs when running linux-6.

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • introduction/welcome/changelog.xml

    r6fe407f4 r4c59e83  
    4646      <itemizedlist>
    4747        <listitem>
     48          <para>[ken] - Allow postfix to build on linux-6.0. Fixes
     49          <ulink url="&blfs-ticket-root;17247">#17247</ulink>.</para>
     50        </listitem>
     51        <listitem>
    4852          <para>[pierre] - Update to qt5-5.15.7. Fixes
    4953          <ulink url="&blfs-ticket-root;17239">#17239</ulink>.</para>
  • server/mail/postfix.xml

    r6fe407f4 r4c59e83  
    158158<screen><userinput>sed -i '/&lt;linux/i #define HAS_CLOSEFROM' src/util/sys_defs.h</userinput></screen>
    159159-->
     160      <para>
     161        The <filename>Makefile</filename> looks at the running kernel to
     162        decide how to set various things. It does not recognize Linux-6 and
     163        fails to make the definitions. After that is fixed, the build
     164        references the newly defined version in a header, which also breaks
     165        the build. Fix both of these with the following commands:
     166      </para>
     167
     168<!-- '&&' on a sed only fails if the file is not present,
     169    not if it changes nothing, but we seem to like it -->
     170<screen><userinput>sed -i 's/Linux..345/&amp;6/' makedefs &amp;&amp;
     171sed -i 's/LINUX2/LINUX6/' src/util/sys_defs.h</userinput></screen>
     172
     173
    160174      <para>
    161175        The <application>Postfix</application> source tree does not contain a
Note: See TracChangeset for help on using the changeset viewer.