--- a/0ad-0.0.18-alpha/libraries/source/spidermonkey/build.sh 2015-01-24 15:46:52.000000000 +0100 +++ b/0ad-0.0.18-alpha/libraries/source/spidermonkey/build.sh 2015-05-25 01:23:08.000000000 +0200 @@ -84,6 +84,10 @@ # It makes quite a big difference for performance. # https://bugzilla.mozilla.org/show_bug.cgi?id=1046176 patch -p1 -i ../FixForOfBailouts.diff + +# Fix build failures on GCC 5.1 and Clang 3.6 +patch -p1 -i ../FixBug1021171.diff +patch -p1 -i ../FixBug1119228.diff cd .. # Clean up header files that may be left over by earlier versions of SpiderMonkey