commit:     8523c3faa98a21e8675d70e8fefa3f8a2c16309f
Author:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Sat Jan  1 10:47:39 2022 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Sat Jan  1 10:51:24 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8523c3fa

app-editors/emacs: Keyword 27.2-r5 for ~m68k

It needs --with-dumping=unexec to work around https://debbugs.gnu.org/44531.

Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>

 app-editors/emacs/emacs-27.2-r5.ebuild | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/app-editors/emacs/emacs-27.2-r5.ebuild 
b/app-editors/emacs/emacs-27.2-r5.ebuild
index e2efcba31d59..d6c4a74eb424 100644
--- a/app-editors/emacs/emacs-27.2-r5.ebuild
+++ b/app-editors/emacs/emacs-27.2-r5.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -36,7 +36,7 @@ else
        PATCHES=("${WORKDIR}/patch")
        SLOT="${PV%%.*}"
        [[ ${PV} == *.*.* ]] && SLOT+="-vcs"
-       KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv 
sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
+       KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 
~riscv sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
 fi
 
 DESCRIPTION="The extensible, customizable, self-documenting real-time display 
editor"
@@ -259,6 +259,9 @@ src_configure() {
                popd >/dev/null || die
                # Don't try to execute the binary for dumping during the build
                myconf+=" --with-dumping=none"
+       elif use m68k; then
+               # Workaround for https://debbugs.gnu.org/44531
+               myconf+=" --with-dumping=unexec"
        else
                myconf+=" --with-dumping=pdumper"
        fi

Reply via email to