/[packages]/updates/8/0ad/current/SOURCES/0ad-0.0.25b-fix-gcc12-M_PIf.patch
ViewVC logotype

Contents of /updates/8/0ad/current/SOURCES/0ad-0.0.25b-fix-gcc12-M_PIf.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1790973 - (show annotations) (download)
Mon Mar 14 13:21:51 2022 UTC (2 years, 1 month ago) by akien
File size: 748 byte(s)
- Re-enable build on i586
- More fixes for mozjs78 on i586 (backported from mozjs78 system package)
- Patch mozj78 build.sh to skip debug build
1 diff -Naur 0ad-0.0.25b-alpha_vanilla/source/tools/atlas/AtlasUI/ScenarioEditor/Sections/Environment/Environment.cpp 0ad-0.0.25b-alpha_patched/source/tools/atlas/AtlasUI/ScenarioEditor/Sections/Environment/Environment.cpp
2 --- 0ad-0.0.25b-alpha_vanilla/source/tools/atlas/AtlasUI/ScenarioEditor/Sections/Environment/Environment.cpp 2022-03-14 11:42:09.868415810 +0100
3 +++ 0ad-0.0.25b-alpha_patched/source/tools/atlas/AtlasUI/ScenarioEditor/Sections/Environment/Environment.cpp 2022-03-14 11:42:39.181528929 +0100
4 @@ -29,7 +29,9 @@
5
6 static Observable<AtlasMessage::sEnvironmentSettings> g_EnvironmentSettings;
7
8 +#ifndef M_PIf
9 const float M_PIf = 3.14159265f;
10 +#endif
11
12 //////////////////////////////////////////////////////////////////////////
13

  ViewVC Help
Powered by ViewVC 1.1.30