385abae
Description: <short summary of the patch>
385abae
 TODO: Put a short summary on the line above and replace this paragraph
385abae
 with a longer explanation of this change. Complete the meta-information
385abae
 with other relevant fields (see below for details). To make it easier, the
385abae
 information below has been extracted from the changelog. Adjust it or drop
385abae
 it.
385abae
 .
385abae
 gcl (2.6.12-79) unstable; urgency=medium
385abae
 .
385abae
   * Version_2_6_13pre70
385abae
Author: Camm Maguire <camm@debian.org>
385abae
385abae
---
385abae
The information above should follow the Patch Tagging Guidelines, please
385abae
checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
385abae
are templates for supplementary fields that you might want to add:
385abae
385abae
Origin: <vendor|upstream|other>, <url of original patch>
385abae
Bug: <url in upstream bugtracker>
385abae
Bug-Debian: https://bugs.debian.org/<bugnumber>
385abae
Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
385abae
Forwarded: <no|not-needed|url proving that it has been forwarded>
385abae
Reviewed-By: <name and email of someone who approved the patch>
385abae
Last-Update: 2018-10-30
385abae
385abae
--- gcl-2.6.12.orig/o/gbc.c
385abae
+++ gcl-2.6.12/o/gbc.c
385abae
@@ -879,9 +879,9 @@ void hppa_save_regs(struct regs);
385abae
 
385abae
 	asm(".code");
385abae
 	asm(".export hppa_save_regs, entry");
385abae
+	asm(".label	hppa_save_regs");
385abae
 	asm(".proc");
385abae
 	asm(".callinfo");
385abae
-	asm(".label	hppa_save_regs");
385abae
 	asm(".entry");
385abae
 
385abae
 	asm("stw	%r3,0(%arg0)");
385abae
--- gcl-2.6.12.orig/o/main.c
385abae
+++ gcl-2.6.12/o/main.c
385abae
@@ -242,7 +242,7 @@ get_gc_environ(void) {
385abae
   }
385abae
 
385abae
   gc_page_min=0.5;
385abae
-  if ((e=getenv("GCL_GC_PAGE_MIN"))) {
385abae
+  if ((e=getenv("GCL_GC_PAGE_MIN"))||(e=getenv("GCL_GC_PAGE_THRESH"))) {/*legacy support*/
385abae
     massert(sscanf(e,"%lf",&gc_page_min)==1);
385abae
     massert(gc_page_min>=0.0);
385abae
   }
385abae
@@ -253,7 +253,8 @@ get_gc_environ(void) {
385abae
     massert(gc_page_max>=0.0);
385abae
   }
385abae
 
385abae
-  multiprocess_memory_pool=(e=getenv("GCL_MULTIPROCESS_MEMORY_POOL")) && *e;
385abae
+  multiprocess_memory_pool=
385abae
+    (e=getenv("GCL_MULTIPROCESS_MEMORY_POOL")) && (*e=='t' || *e=='T');
385abae
 
385abae
   wait_on_abort=0;
385abae
   if ((e=getenv("GCL_WAIT_ON_ABORT")))