commit: 9fbf54f2d905f2eb254be626925ddd85112491f8 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Sun Apr 25 12:18:59 2021 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sun Apr 25 12:19:40 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9fbf54f2
dev-lisp/sbcl: fix build with gcc 10 Closes: https://bugs.gentoo.org/777582 Closes: https://bugs.gentoo.org/762979 Signed-off-by: Sam James <sam <AT> gentoo.org> dev-lisp/sbcl/files/sbcl-1.4.9-gcc-10.patch | 13 +++++++++++++ dev-lisp/sbcl/sbcl-1.4.9.ebuild | 3 +++ 2 files changed, 16 insertions(+) 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 00000000000..216422e9a60 --- /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 11da9f48552..df2d06a6200 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.
