commit:     51d70dea44f3adc722aa1a5f776dd0144a6fb544
Author:     Matthew Smith <matthew <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 13 11:45:40 2022 +0000
Commit:     Matthew Smith <matthew <AT> gentoo <DOT> org>
CommitDate: Sun Nov 13 11:45:40 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=51d70dea

dev-lisp/sbcl: append -D_GNU_SOURCE

Fixes build issue due to O_LARGEFILE hiding behind feature test macro.

Closes: https://bugs.gentoo.org/869434
Signed-off-by: Matthew Smith <matthew <AT> gentoo.org>

 dev-lisp/sbcl/sbcl-2.2.0.ebuild  | 3 +++
 dev-lisp/sbcl/sbcl-2.2.10.ebuild | 3 +++
 dev-lisp/sbcl/sbcl-2.2.9.ebuild  | 3 +++
 3 files changed, 9 insertions(+)

diff --git a/dev-lisp/sbcl/sbcl-2.2.0.ebuild b/dev-lisp/sbcl/sbcl-2.2.0.ebuild
index 39e5a7ef3dba..db275dcfbcc2 100644
--- a/dev-lisp/sbcl/sbcl-2.2.0.ebuild
+++ b/dev-lisp/sbcl/sbcl-2.2.0.ebuild
@@ -156,6 +156,9 @@ src_configure() {
 src_compile() {
        local bindir="${WORKDIR}"/sbcl-binary
 
+       # Bug #869434
+       append-cppflags -D_GNU_SOURCE
+
        # clear the environment to get rid of non-ASCII strings, see bug #174702
        # set HOME for paludis
        env - HOME="${T}" PATH="${PATH}" \

diff --git a/dev-lisp/sbcl/sbcl-2.2.10.ebuild b/dev-lisp/sbcl/sbcl-2.2.10.ebuild
index cf2899eb05bc..aa13ed1d98b9 100644
--- a/dev-lisp/sbcl/sbcl-2.2.10.ebuild
+++ b/dev-lisp/sbcl/sbcl-2.2.10.ebuild
@@ -158,6 +158,9 @@ src_configure() {
 src_compile() {
        local bindir="${WORKDIR}"/sbcl-binary
 
+       # Bug #869434
+       append-cppflags -D_GNU_SOURCE
+
        # clear the environment to get rid of non-ASCII strings, see bug #174702
        # set HOME for paludis
        env - HOME="${T}" PATH="${PATH}" \

diff --git a/dev-lisp/sbcl/sbcl-2.2.9.ebuild b/dev-lisp/sbcl/sbcl-2.2.9.ebuild
index 0342f59644d1..82e289d11953 100644
--- a/dev-lisp/sbcl/sbcl-2.2.9.ebuild
+++ b/dev-lisp/sbcl/sbcl-2.2.9.ebuild
@@ -161,6 +161,9 @@ src_configure() {
 src_compile() {
        local bindir="${WORKDIR}"/sbcl-binary
 
+       # Bug #869434
+       append-cppflags -D_GNU_SOURCE
+
        # clear the environment to get rid of non-ASCII strings, see bug #174702
        # set HOME for paludis
        env - HOME="${T}" PATH="${PATH}" \

Reply via email to