summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Zak B. Elep2017-09-02 11:14:24 +0200
committer Matteo Bernardini2019-12-07 19:53:36 +0100
commit128e50ab7b1560a897a4e211a7cfd6717e5d0d2d (patch)
treeae20af160821ee1fd32040c1bd3d047efb39cc88
parent4b7b01aae75cc2cc8db1eedc90b43f8400bef53e (diff)
downloadslackbuilds-sbcl.tar.gz
development/sbcl: Added a patch for glibc >= 2.26.sbcl
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
-rw-r--r--development/sbcl/glibc-2.26.patch13
-rw-r--r--development/sbcl/sbcl.SlackBuild2
2 files changed, 15 insertions, 0 deletions
diff --git a/development/sbcl/glibc-2.26.patch b/development/sbcl/glibc-2.26.patch
new file mode 100644
index 0000000000..3df2b03958
--- /dev/null
+++ b/development/sbcl/glibc-2.26.patch
@@ -0,0 +1,13 @@
+--- a/src/runtime/x86-64-linux-os.h.ORIG 2017-08-31 11:40:51.000000000 +0200
++++ b/src/runtime/x86-64-linux-os.h 2017-08-31 18:56:10.447100144 +0200
+@@ -1,7 +1,9 @@
+ #ifndef _X86_64_LINUX_OS_H
+ #define _X86_64_LINUX_OS_H
+
+-typedef struct ucontext os_context_t;
++#include <sys/ucontext.h>
++
++typedef struct ucontext_t os_context_t;
+ typedef long os_context_register_t;
+
+ static inline os_context_t *arch_os_get_context(void **void_context)
diff --git a/development/sbcl/sbcl.SlackBuild b/development/sbcl/sbcl.SlackBuild
index aeed2adb17..66e9d3560d 100644
--- a/development/sbcl/sbcl.SlackBuild
+++ b/development/sbcl/sbcl.SlackBuild
@@ -71,6 +71,8 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+patch -p1 < $CWD/glibc-2.26.patch
+
sh make.sh clisp --prefix=/usr --fancy
make -C doc/manual info