Package: mozjs17
Version: 17.0.0-2
Severity: normal
Tags: patch

See log:
http://buildd.debian-ports.org/status/fetch.php?pkg=mozjs17&arch=hppa&ver=17.0.0-2&stamp=1411445607

Attached change that fixes build.

-- System Information:
Debian Release: jessie/sid
  APT prefers unreleased
  APT policy: (500, 'unreleased'), (500, 'unstable')
Architecture: hppa (parisc64)

Kernel: Linux 3.16.3+ (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=UTF-8) (ignored: LC_ALL set to en_CA.utf8)
Shell: /bin/sh linked to /bin/dash
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.
 .
 mozjs17 (17.0.0-2) unstable; urgency=low
 .
   * Update fix-soname.patch to correct soname on all architectures
     (closes: #760755).
   * Update Standards-Version to 3.9.5 .
 .
   [ Colin Watson <[email protected]> ]
   * Apply openSUSE patch to add arm64 support (closes: #734060).
Author: Laszlo Boszormenyi (GCS) <[email protected]>
Bug-Debian: https://bugs.debian.org/734060
Bug-Debian: https://bugs.debian.org/760755

---
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: https://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>

--- mozjs17-17.0.0.orig/js/src/jsgc.cpp
+++ mozjs17-17.0.0/js/src/jsgc.cpp
@@ -1176,7 +1176,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;
@@ -4912,7 +4912,7 @@ JS::CheckStackRoots(JSContext *cx)
     JS_ASSERT(cgcd->hasStackToScan());
     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;

Reply via email to