diff -r 862df7280e53 -r 96e70217f18a mozilla-gcc43-template_hacks.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mozilla-gcc43-template_hacks.patch Tue Nov 20 21:10:43 2012 +0100 @@ -0,0 +1,26 @@ +# HG changeset patch +# Parent 993c5b5a44ca18c5273b74c75704b418c2477d28 +bmo#783505 - bump gcc version required for building without template hacks + +diff --git a/js/src/jstypedarray.cpp b/js/src/jstypedarray.cpp +--- a/js/src/jstypedarray.cpp ++++ b/js/src/jstypedarray.cpp +@@ -1404,17 +1404,17 @@ class TypedArrayTemplate + // retrieves a given Value, probably from a slot on the object. + template + static JSBool + Getter(JSContext *cx, unsigned argc, Value *vp) + { + CallArgs args = CallArgsFromVp(argc, vp); + // FIXME: Hack to keep us building with gcc 4.2. Remove this once we + // drop support for gcc 4.2. See bug 783505 for the details. +-#if defined(__GNUC__) && __GNUC_MINOR__ <= 2 ++#if defined(__GNUC__) && __GNUC_MINOR__ <= 3 + return CallNonGenericMethod(cx, IsThisClass, GetterImpl, args); + #else + return CallNonGenericMethod >(cx, args); + #endif + } + + // Define an accessor for a read-only property that invokes a native getter