1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-23 19:25:25 +03:00
aports/testing/sbcl/musl-fixes.patch
2016-08-11 11:59:23 +02:00

34 lines
1.2 KiB
Diff

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>