The attached two patches allow mozjs24 to build successfully on hppa.

Dave
--
John David Anglin       [email protected]


Description: <short summary of the patch>
 TODO: Put a short summary on the line above and replace this paragraph
 with a longer explanation of this change. Complete the meta-information
 with other relevant fields (see below for details). To make it easier, the
 information below has been extracted from the changelog. Adjust it or drop
 it.
 .
 mozjs24 (24.2.0-2) unstable; urgency=low
 .
   * Make shlibs fix unconditional of Operating System (closes: #746705).
Author: Laszlo Boszormenyi (GCS) <[email protected]>
Bug-Debian: http://bugs.debian.org/746705

---
The information above should follow the Patch Tagging Guidelines, please
checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
are templates for supplementary fields that you might want to add:

Origin: <vendor|upstream|other>, <url of original patch>
Bug: <url in upstream bugtracker>
Bug-Debian: http://bugs.debian.org/<bugnumber>
Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
Forwarded: <no|not-needed|url proving that it has been forwarded>
Reviewed-By: <name and email of someone who approved the patch>
Last-Update: <YYYY-MM-DD>

--- mozjs24-24.2.0.orig/js/src/gc/RootMarking.cpp
+++ mozjs24-24.2.0/js/src/gc/RootMarking.cpp
@@ -320,7 +320,7 @@ MarkConservativeStackRoots(JSTracer *trc
 
     uintptr_t *stackMin, *stackEnd;
 #if JS_STACK_GROWTH_DIRECTION > 0
-    stackMin = rt->nativeStackBase;
+    stackMin = reinterpret_cast<uintptr_t *>(rt->nativeStackBase);
     stackEnd = cgcd->nativeStackTop;
 #else
     stackMin = cgcd->nativeStackTop + 1;
Description: <short summary of the patch>
 TODO: Put a short summary on the line above and replace this paragraph
 with a longer explanation of this change. Complete the meta-information
 with other relevant fields (see below for details). To make it easier, the
 information below has been extracted from the changelog. Adjust it or drop
 it.
 .
 mozjs24 (24.2.0-2) unstable; urgency=low
 .
   * Make shlibs fix unconditional of Operating System (closes: #746705).
Author: Laszlo Boszormenyi (GCS) <[email protected]>
Bug-Debian: http://bugs.debian.org/746705

---
The information above should follow the Patch Tagging Guidelines, please
checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
are templates for supplementary fields that you might want to add:

Origin: <vendor|upstream|other>, <url of original patch>
Bug: <url in upstream bugtracker>
Bug-Debian: http://bugs.debian.org/<bugnumber>
Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
Forwarded: <no|not-needed|url proving that it has been forwarded>
Reviewed-By: <name and email of someone who approved the patch>
Last-Update: <YYYY-MM-DD>

--- mozjs24-24.2.0.orig/js/src/jsapi.cpp
+++ mozjs24-24.2.0/js/src/jsapi.cpp
@@ -863,10 +863,6 @@ JSRuntime::JSRuntime(JSUseHelperThreads
 
     PodZero(&debugHooks);
     PodZero(&atomState);
-
-#if JS_STACK_GROWTH_DIRECTION > 0
-    nativeStackLimit = UINTPTR_MAX;
-#endif
 }
 
 bool

Reply via email to