commit:     49d30402fafa3571d4d3e1a79b4d08cc90318224
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 18 15:36:59 2019 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Mon Nov 18 15:37:43 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=49d30402

app-editors/emacs-vcs: Remove sandbox hack in src_compile.

Configure with explicit option --with-dumping=pdumper to make sure
that the portable dumper is used, even for the (unlikely) case that
the upstream default would change.

Note that (as of today) --with-dumping=unexec breaks the build
process, therefore controlling this option with a USE flag wouldn't
make sense.

Closes: https://bugs.gentoo.org/700182
Package-Manager: Portage-2.3.79, Repoman-2.3.18
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>

 app-editors/emacs-vcs/emacs-vcs-27.0.9999.ebuild | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/app-editors/emacs-vcs/emacs-vcs-27.0.9999.ebuild 
b/app-editors/emacs-vcs/emacs-vcs-27.0.9999.ebuild
index 832d7156dc3..baa5e8dff5e 100644
--- a/app-editors/emacs-vcs/emacs-vcs-27.0.9999.ebuild
+++ b/app-editors/emacs-vcs/emacs-vcs-27.0.9999.ebuild
@@ -260,6 +260,7 @@ src_configure() {
                --without-compress-install \
                --without-hesiod \
                --without-pop \
+               --with-dumping=pdumper \
                --with-file-notification=$(usev inotify || usev gfile || echo 
no) \
                $(use_enable acl) \
                $(use_with dbus) \
@@ -281,10 +282,10 @@ src_configure() {
                ${myconf}
 }
 
-src_compile() {
-       # Disable sandbox when dumping. For the unbelievers, see bug #131505
-       emake RUN_TEMACS="SANDBOX_ON=0 LD_PRELOAD= env ./temacs"
-}
+#src_compile() {
+#      # Disable sandbox when dumping. For the unbelievers, see bug #131505
+#      emake RUN_TEMACS="SANDBOX_ON=0 LD_PRELOAD= env ./temacs"
+#}
 
 src_install () {
        emake DESTDIR="${D}" NO_BIN_LINK=t install

Reply via email to