aboutsummaryrefslogtreecommitdiffstats
path: root/testing/sbcl/musl-fixes.patch
blob: 530467e10281cfb4f7d2189c5f360dd803df4b8a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
diff -upr sbcl-1.3.1.orig/src/runtime/interrupt.h sbcl-1.3.1/src/runtime/interrupt.h
--- sbcl-1.3.1.orig/src/runtime/interrupt.h	2016-04-05 19:48:17.820002917 +0200
+++ sbcl-1.3.1/src/runtime/interrupt.h	2016-04-05 19:48:58.625144439 +0200
@@ -14,6 +14,7 @@
 
 #include "runtime.h"
 #include <string.h>
+#include <signal.h>
 
 /*
  * This is a workaround for some slightly silly Linux/GNU Libc
diff -upr sbcl-1.3.1.orig/src/runtime/linux-os.h sbcl-1.3.1/src/runtime/linux-os.h
--- sbcl-1.3.1.orig/src/runtime/linux-os.h	2016-04-05 19:48:17.823336398 +0200
+++ sbcl-1.3.1/src/runtime/linux-os.h	2016-04-05 19:48:47.117967857 +0200
@@ -24,7 +24,7 @@
 #include <linux/version.h>
 
 // Needs to be defined before including target-arch.h
-typedef caddr_t os_vm_address_t;
+typedef void *os_vm_address_t;
 typedef size_t os_vm_size_t;
 typedef off_t os_vm_offset_t;
 typedef int os_vm_prot_t;
diff -upr sbcl-1.3.8.orig/src/runtime/wrap.c sbcl-1.3.8/src/runtime/wrap.c
--- sbcl-1.3.8.orig/src/runtime/wrap.c	2016-08-10 21:35:04.691583991 +0200
+++ sbcl-1.3.8/src/runtime/wrap.c	2016-08-10 21:35:25.371508919 +0200
@@ -35,6 +35,7 @@
 #include <errno.h>
 #include <limits.h>
 #include <fcntl.h>
+#include <time.h>
 
 #ifndef LISP_FEATURE_WIN32
 #include <pwd.h>