$NetBSD: patch-an,v 1.1 2007/10/13 07:54:31 rillig Exp $

See patch-al.

--- packages/xpce/src/ker/self.c.orig	2005-11-21 20:45:53.000000000 +0100
+++ packages/xpce/src/ker/self.c	2007-10-13 09:42:56.000000000 +0200
@@ -1133,7 +1133,7 @@ getVersionPce(Pce pce, Name how)
     int n;
 
     for(n=0; n<3; n++)
-    { while(*q && isdigit(*q))
+    { while(*q && isdigit((unsigned char)*q))
 	q++;
       if ( *q == '.' )
 	q++;
@@ -1478,8 +1478,8 @@ pceInitialise(int handles, const char *h
   allocRange(&ConstantNil,          sizeof(struct constant));
   allocRange(&ConstantDefault,      sizeof(struct constant));
   allocRange(&ConstantClassDefault, sizeof(struct constant));
-  allocRange(&BoolOff,              sizeof(struct bool));
-  allocRange(&BoolOn,               sizeof(struct bool));
+  allocRange(&BoolOff,              sizeof(struct swi_bool));
+  allocRange(&BoolOn,               sizeof(struct swi_bool));
   initNamesPass1();
   DEBUG_BOOT(Cprintf("Types ...\n"));
   initTypes();
