Replaces M_PIf by M_PI in Atlas, fixes compilation with gcc 11.2.0 and glibc 2.35.
authorVladislav Belov <vladislavbelov>
Thu, 3 Mar 2022 18:10:05 +0000 (19:10 +0100)
committerSimon McVittie <smcv@debian.org>
Mon, 28 Mar 2022 11:29:22 +0000 (12:29 +0100)
commitc04252b13011a813b33f44e6f1df5564b3f67826
treea06c6f8561deceb7e5c7fdcc4e617a29fa09e6bd
parentd7e93a5f30223883e4ab0c34d8519fea7dbeaf70
Replaces M_PIf by M_PI in Atlas, fixes compilation with gcc 11.2.0 and glibc 2.35.

There was added a workaround in glibc to fix tests.

Refs:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103735
https://sourceware.org/bugzilla/show_bug.cgi?id=28713

Origin: upstream, commit:https://trac.wildfiregames.com/changeset/26536
Bug-Debian: https://bugs.debian.org/1008075
Bug-RedHat: https://bugzilla.redhat.com/show_bug.cgi?id=2045149

Gbp-Pq: Name fix-build-atlas-gcc11-glibc-2.35.patch
source/tools/atlas/AtlasUI/ScenarioEditor/Sections/Environment/Environment.cpp