mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-04 07:17:15 +08:00
Add a patch to firefox to fix a gcc12 problem.
This commit is contained in:
parent
f71be678b0
commit
8dacd5e93d
@ -76,6 +76,12 @@
|
||||
|
||||
<bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
||||
<itemizedlist spacing="compact">
|
||||
<listitem>
|
||||
<para>
|
||||
Required patch:
|
||||
<ulink url="&patch-root;/firefox-&firefox-version;esr-gcc12_fix-1.patch"/>
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
Recommended patch:
|
||||
@ -309,6 +315,12 @@ EOF</userinput></screen>
|
||||
|
||||
<screen><userinput>patch -Np1 -i ../firefox-&firefox-version;esr-disable_rust_test-1.patch</userinput></screen>
|
||||
|
||||
<para>
|
||||
Now apply a patch which allows the build to complete when using gcc-12 or later.
|
||||
</para>
|
||||
|
||||
<screen><userinput>patch -Np1 -i ../firefox-&firefox-version;esr-gcc12_fix-1.patch</userinput></screen>
|
||||
|
||||
<!-- applying this for 11.1: upstream haven't make their mind yet
|
||||
https://bugzilla.mozilla.org/show_bug.cgi?id=1729459 -->
|
||||
<para>
|
||||
@ -491,20 +503,18 @@ export MOZBUILD_STATE_PATH=${PWD}/mozbuild &&
|
||||
|
||||
<para>
|
||||
If you use a desktop environment like <application>Gnome</application> or
|
||||
<application>KDE</application> you may like to create a
|
||||
<application>KDE</application> you may want to create a
|
||||
<filename>firefox.desktop</filename> file so that
|
||||
<application>Firefox</application> appears in the panel's menus. <!--If you
|
||||
didn't enable startup-notification in your mozconfig change the
|
||||
StartupNotify line to false.--> As the
|
||||
<systemitem class="username">root</systemitem> user:
|
||||
<application>Firefox</application> appears in the panel's menus.
|
||||
As the &root; user:
|
||||
</para>
|
||||
|
||||
<screen role="root"><userinput>mkdir -pv /usr/share/applications &&
|
||||
mkdir -pv /usr/share/pixmaps &&
|
||||
|
||||
MIMETYPE="text/xml;text/mml;text/html" &&
|
||||
MIMETYPE="$MIMETYPE;application/xhtml+xml;application/vnd.mozilla.xul+xml" &&
|
||||
MIMETYPE="$MIMETYPE;x-scheme-handler/http;x-scheme-handler/https" &&
|
||||
MIMETYPE="text/xml;text/mml;text/html;" &&
|
||||
MIMETYPE+="application/xhtml+xml;application/vnd.mozilla.xul+xml;" &&
|
||||
MIMETYPE+="x-scheme-handler/http;x-scheme-handler/https" &&
|
||||
|
||||
cat > /usr/share/applications/firefox.desktop << EOF &&
|
||||
<literal>[Desktop Entry]
|
||||
|
Loading…
Reference in New Issue
Block a user