Fix SDL2 compilation on i686

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@22327 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
Douglas R. Reno 2019-10-30 01:27:30 +00:00
parent ecadfe8362
commit 33e632553f
2 changed files with 24 additions and 1 deletions

View File

@ -42,8 +42,13 @@
</listitem>
-->
<listitem>
<para>October 28th, 2019</para>
<para>October 29th, 2019</para>
<itemizedlist>
<listitem>
<para>[renodr] - Fix the build of SDL2 on i686 systems. Fixes
<ulink url="&blfs-ticket-root;12633">#12633</ulink>.
Thanks goes to tnut for reporting.</para>
</listitem>
<listitem>
<para>[bdubbs] - Update to libchamplain-0.12.20. Fixes
<ulink url="&blfs-ticket-root;12706">#12706</ulink>.</para>
@ -74,6 +79,7 @@
</listitem>
</itemizedlist>
</listitem>
<listitem>
<para>October 28th, 2019</para>
<itemizedlist>

View File

@ -58,6 +58,16 @@
</listitem>
</itemizedlist>
<bridgehead renderas="sect3">Additional Downloads</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>
Required patch (for i686 systems):
<ulink url="&patch-root;/SDL2-&sdl2-version;-opengl_include_fix-1.patch"/>
</para>
</listitem>
</itemizedlist>
<bridgehead renderas="sect3">SDL2 Dependencies</bridgehead>
<bridgehead renderas="sect4">Optional</bridgehead>
@ -80,6 +90,13 @@
<sect2 role="installation">
<title>Installation of SDL2</title>
<para>First, if you are building on a 32-bit i686 system, apply a patch
containing a fix for the OpenGL headers and their data types:</para>
<screen><userinput remap="pre">case $(uname -m) in
i?86) patch -Np1 -i ../SDL2-&sdl2-version;-opengl_include_fix-1.patch ;;
esac</userinput></screen>
<para>Install <application>SDL2</application> by running the
following commands:</para>