Author: andreast Date: Sun Jan 24 14:35:35 2010 New Revision: 249 Log: Add patch for sparc64, is already vailable for other components.
Added: branches/experimental/mail/thunderbird3-devel/files/patch-mozilla-js-src-jslock.cpp Added: branches/experimental/mail/thunderbird3-devel/files/patch-mozilla-js-src-jslock.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ branches/experimental/mail/thunderbird3-devel/files/patch-mozilla-js-src-jslock.cpp Sun Jan 24 14:35:35 2010 (r249) @@ -0,0 +1,18 @@ +--- mozilla/js/src/jslock.cpp.orig 2010-01-23 20:35:45.000000000 +0100 ++++ mozilla/js/src/jslock.cpp 2010-01-23 20:37:35.000000000 +0100 +@@ -160,8 +160,13 @@ + unsigned int res; + + __asm__ __volatile__ ( +- "stbar\n" +- "cas [%1],%2,%3\n" ++ "membar #StoreLoad | #LoadLoad\n" ++# if defined (__sparc64__) ++ "casx [%1],%2,%3\n" ++# else ++ "cas [%1],%2,%3\n" /* 32-bit version */ ++# endif ++ "membar #StoreLoad | #LoadLoad\n" + "cmp %2,%3\n" + "be,a 1f\n" + "mov 1,%0\n" _______________________________________________ freebsd-gecko@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-gecko To unsubscribe, send any mail to "freebsd-gecko-unsubscr...@freebsd.org"