diff options
author | Beat Gaetzi <beat@FreeBSD.org> | 2011-10-19 15:21:58 +0000 |
---|---|---|
committer | Beat Gaetzi <beat@FreeBSD.org> | 2011-10-19 15:21:58 +0000 |
commit | 0b4b755417edcdd759d96c5b0eff311ba9ea4432 (patch) | |
tree | cdb851c21190d2d7439e97c6cc5d2a52701f74b0 /deskutils/lightning/files/patch-mozilla-js-src-jslock.cpp | |
parent | - Register lightning as a global extension and doesn't create the XPI to (diff) |
- Remove deskutils/lightning and deskutils/lightning-thunderbird as both
ports were outdated and superseded by the new LIGHTNING option in
www/seamonkey and mail/thunderbird. Please read UPDATING as the lightning
XPI now register itself.
Discussed with: flo@ at EuroBSDCon DevSummit
Diffstat (limited to 'deskutils/lightning/files/patch-mozilla-js-src-jslock.cpp')
-rw-r--r-- | deskutils/lightning/files/patch-mozilla-js-src-jslock.cpp | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/deskutils/lightning/files/patch-mozilla-js-src-jslock.cpp b/deskutils/lightning/files/patch-mozilla-js-src-jslock.cpp deleted file mode 100644 index c1a29f393d18..000000000000 --- a/deskutils/lightning/files/patch-mozilla-js-src-jslock.cpp +++ /dev/null @@ -1,37 +0,0 @@ ---- mozilla/js/src/jslock.cpp.orig 2010-01-23 15:40:12.000000000 +0100 -+++ mozilla/js/src/jslock.cpp 2010-01-23 15:45:20.000000000 +0100 -@@ -133,7 +133,7 @@ - return (int)res; - } - --#elif defined(SOLARIS) && defined(sparc) && defined(ULTRA_SPARC) -+#elif defined(__sparc) - - static JS_ALWAYS_INLINE int - NativeCompareAndSwap(jsword *w, jsword ov, jsword nv) -@@ -142,13 +142,18 @@ - unsigned int res; - JS_ASSERT(ov != nv); - asm volatile ("\ --stbar\n\ --cas [%1],%2,%3\n\ --cmp %2,%3\n\ --be,a 1f\n\ --mov 1,%0\n\ --mov 0,%0\n\ --1:" -+ 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" -+ "mov 0,%0\n" -+ "1:" - : "=r" (res) - : "r" (w), "r" (ov), "r" (nv)); - return (int)res; |