Skip to content

Commit

Permalink
dev-lisp/sbcl: fix build with gcc 10
Browse files Browse the repository at this point in the history
  • Loading branch information
thesamesam committed Apr 25, 2021
1 parent 6756815 commit 9fbf54f
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
13 changes: 13 additions & 0 deletions dev-lisp/sbcl/files/sbcl-1.4.9-gcc-10.patch
Original file line number Diff line number Diff line change
@@ -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>
3 changes: 3 additions & 0 deletions dev-lisp/sbcl/sbcl-1.4.9.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 9fbf54f

Please sign in to comment.