commit: 0b0800435bbc35d2a175fff316535bf3225379f6 Author: Ulrich Müller <ulm <AT> gentoo <DOT> org> AuthorDate: Sun Feb 11 11:20:27 2018 +0000 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org> CommitDate: Sun Feb 11 11:22:49 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0b080043
app-editors/emacs: Disable the sandbox entirely. In addition to SANDBOX_ON=0, unset LD_PRELOAD. Fixes a build error on sparc. Closes: https://bugs.gentoo.org/647238 Package-Manager: Portage-2.3.24, Repoman-2.3.6 app-editors/emacs/emacs-18.59-r11.ebuild | 5 ++--- app-editors/emacs/emacs-23.4-r16.ebuild | 5 +++-- app-editors/emacs/emacs-24.5-r4.ebuild | 4 ++-- app-editors/emacs/emacs-25.3.ebuild | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/app-editors/emacs/emacs-18.59-r11.ebuild b/app-editors/emacs/emacs-18.59-r11.ebuild index 8b9d3d2c04e..19abd28b5a2 100644 --- a/app-editors/emacs/emacs-18.59-r11.ebuild +++ b/app-editors/emacs/emacs-18.59-r11.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -71,8 +71,7 @@ src_configure() { src_compile() { # Do not use the sandbox, or the dumped Emacs will be twice as large - export SANDBOX_ON=0 - emake --jobs=1 \ + SANDBOX_ON=0 LD_PRELOAD="" emake --jobs=1 \ CC="$(tc-getCC)" CFLAGS="${CFLAGS} -Demacs" \ LD="$(tc-getCC) -nostdlib" LDFLAGS="${LDFLAGS}" } diff --git a/app-editors/emacs/emacs-23.4-r16.ebuild b/app-editors/emacs/emacs-23.4-r16.ebuild index eb7cceabd89..00d4f14a53a 100644 --- a/app-editors/emacs/emacs-23.4-r16.ebuild +++ b/app-editors/emacs/emacs-23.4-r16.ebuild @@ -209,8 +209,9 @@ src_configure() { } src_compile() { - export SANDBOX_ON=0 # for the unbelievers, see Bug #131505 - emake CC="$(tc-getCC)" \ + # Disable the sandbox. For the unbelievers, see bug #131505 + SANDBOX_ON=0 LD_PRELOAD="" emake \ + CC="$(tc-getCC)" \ AR="$(tc-getAR) cq" \ RANLIB="$(tc-getRANLIB)" } diff --git a/app-editors/emacs/emacs-24.5-r4.ebuild b/app-editors/emacs/emacs-24.5-r4.ebuild index c86549765c9..8360af8c48d 100644 --- a/app-editors/emacs/emacs-24.5-r4.ebuild +++ b/app-editors/emacs/emacs-24.5-r4.ebuild @@ -210,8 +210,8 @@ src_configure() { } src_compile() { - export SANDBOX_ON=0 # for the unbelievers, see Bug #131505 - emake + # Disable the sandbox. For the unbelievers, see bug #131505 + SANDBOX_ON=0 LD_PRELOAD="" emake } src_install () { diff --git a/app-editors/emacs/emacs-25.3.ebuild b/app-editors/emacs/emacs-25.3.ebuild index 35c1cc20476..286763c2e23 100644 --- a/app-editors/emacs/emacs-25.3.ebuild +++ b/app-editors/emacs/emacs-25.3.ebuild @@ -220,8 +220,8 @@ src_configure() { } src_compile() { - export SANDBOX_ON=0 # for the unbelievers, see Bug #131505 - emake + # Disable the sandbox. For the unbelievers, see bug #131505 + SANDBOX_ON=0 LD_PRELOAD="" emake } src_install () {