Fix seamonkey for python-3.11

This commit is contained in:
Pierre Labastie 2022-11-10 13:25:22 +01:00
parent 0a91797423
commit 28eef6489e

View File

@ -276,6 +276,15 @@ EOF</userinput></screen>
<screen><userinput>grep -rl \"rU\" | xargs sed -i 's/"rU"/"r"/'</userinput></screen> <screen><userinput>grep -rl \"rU\" | xargs sed -i 's/"rU"/"r"/'</userinput></screen>
<para>
Then fix an issue with regular expressions in python-3.11:
</para>
<screen><userinput>sed -e 's/?s)\./?s:.)/' \
-e '/?m)/{s/?m)/?m:/;s/\$"/$)"/}' \
-e '/?s)%/{s/?s)/?s:/;s/?"/?)"/}' \
-i xpcom/idl-parser/xpidl/xpidl.py</userinput></screen>
<para> <para>
Compile <application>SeaMonkey</application> by running the following Compile <application>SeaMonkey</application> by running the following
commands: commands: