Changeset b565745d


Ignore:
Timestamp:
09/21/2023 06:45:55 AM (9 months ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
12.1, ken/TL2024, ken/tuningfonts, lazarus, plabs/newcss, python3.11, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, xry111/llvm18
Children:
bac8dbe
Parents:
55159cf
git-author:
Xi Ruoyao <xry111@…> (09/21/2023 06:43:36 AM)
git-committer:
Xi Ruoyao <xry111@…> (09/21/2023 06:45:55 AM)
Message:

mesa: Use a sed instead of patch for LLVM-17 fix

When the patch can be converted to a not-so-long sed, we prefer the sed
because it tells people "what this command is doing" more explicitly and
also reduces an additional download. And for patch or sed we need a
<para> describing "what it fixes".

It's also a bad idea to fold the patch/sed command just before "meson"
in the same <screen> because it'd be too easy to overread it.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • x/installing/mesa.xml

    r55159cf rb565745d  
    7676    <bridgehead renderas="sect3">Additional Downloads</bridgehead>
    7777    <itemizedlist spacing="compact">
    78     <!-- Remove this once mesa reaches 23.2 because it is already merged in the new branch-->
    79       <listitem>
    80         <para>
    81           Required patch:
    82           <ulink url="&patch-root;/mesa-23.1.8-llvm17-fix-1.patch"/>
    83           Fixes a build issue relating to a removed header in llvm-17
    84         </para>
    85       </listitem>
    8678    <!-- 9 Apr 23.  Change to unversioned patch since it never changes. -->
    8779      <listitem>
     
    276268-->
    277269
     270    <!-- https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22021 -->
     271    <para>
     272      Remove two unneeded references to LLVM headers to avoid a build
     273      failure with LLVM 17 or later:
     274    </para>
     275
     276<screen><userinput>sed '/Scalar.h/d;/Utils.h/d' \
     277    -i src/gallium/auxiliary/gallivm/lp_bld_init.c</userinput></screen>
     278
    278279    <para>
    279280      Install <application>Mesa</application> by running the following
     
    281282    </para>
    282283
    283 <screen><userinput>patch -Np1 -i ../mesa-23.1.8-llvm17-fix-1.patch
    284 mkdir build &amp;&amp;
     284<screen><userinput>mkdir build &amp;&amp;
    285285cd    build &amp;&amp;
    286286
Note: See TracChangeset for help on using the changeset viewer.