Subject: FTBFS on mips/mipsel
From: Thiemo Seufer <[email-masked]>
To: [email-masked]
Date: Sun, 12 Nov 2006 16:11:41 +0000

Package: sbcl
Version: 1:0.9.18.0-1
Severity: serious
Tags: patch

SBCL fails to (re-)build on mips/mipsel due to a kernel header change.
The appended patch fixes it. It was already applied upsteam.

Thiemo

Index: src/runtime/mips-linux-os.c
===================================================================
RCS file: /cvsroot/sbcl/sbcl/src/runtime/mips-linux-os.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -p -r1.10 -r1.11
--- src/runtime/mips-linux-os.c	12 Sep 2005 12:05:49 -0000	1.10
+++ src/runtime/mips-linux-os.c	29 Oct 2006 20:19:28 -0000	1.11
@@ -20,13 +20,12 @@
 /* for cacheflush() */
 #include <sys/cachectl.h>
 
-/* for BD_CAUSE */
-#include <asm/mipsregs.h>
-
 #include "sbcl.h"
 #include "os.h"
 #include "arch.h"
 
+#define CAUSEF_BD (1 << 31)
+
 size_t os_vm_page_size;
 
 int