summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-lisp')
-rw-r--r--dev-lisp/sbcl/files/sbcl-1.4.9-gcc-10.patch13
-rw-r--r--dev-lisp/sbcl/sbcl-1.4.9.ebuild3
2 files changed, 16 insertions, 0 deletions
diff --git a/dev-lisp/sbcl/files/sbcl-1.4.9-gcc-10.patch b/dev-lisp/sbcl/files/sbcl-1.4.9-gcc-10.patch
new file mode 100644
index 000000000000..216422e9a60b
--- /dev/null
+++ b/dev-lisp/sbcl/files/sbcl-1.4.9-gcc-10.patch
@@ -0,0 +1,13 @@
+https://bugs.gentoo.org/777582
+https://src.fedoraproject.org/rpms/sbcl/blob/rawhide/f/sbcl-1.4.14-gcc10.patch
+--- a/src/runtime/linux-os.c
++++ b/src/runtime/linux-os.c
+@@ -64,7 +64,7 @@ int personality (unsigned long);
+ #include <sys/personality.h>
+ #endif
+
+-size_t os_vm_page_size;
++//size_t os_vm_page_size;
+
+ #if defined(LISP_FEATURE_SB_THREAD) && defined(LISP_FEATURE_SB_FUTEX) && !defined(LISP_FEATURE_SB_PTHREAD_FUTEX)
+ #include <sys/syscall.h>
diff --git a/dev-lisp/sbcl/sbcl-1.4.9.ebuild b/dev-lisp/sbcl/sbcl-1.4.9.ebuild
index 11da9f485525..df2d06a62003 100644
--- a/dev-lisp/sbcl/sbcl-1.4.9.ebuild
+++ b/dev-lisp/sbcl/sbcl-1.4.9.ebuild
@@ -103,6 +103,9 @@ src_prepare() {
eapply "${FILESDIR}"/${PN}-1.2.11-solaris.patch
eapply "${FILESDIR}"/${PN}-1.4.0-verbose-build.patch
+ # bug #777582
+ eapply "${FILESDIR}"/${PN}-1.4.9-gcc-10.patch
+
eapply_user
# Make sure the *FLAGS variables are sane.