1 |
commit: 49d30402fafa3571d4d3e1a79b4d08cc90318224 |
2 |
Author: Ulrich Müller <ulm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Nov 18 15:36:59 2019 +0000 |
4 |
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Nov 18 15:37:43 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=49d30402 |
7 |
|
8 |
app-editors/emacs-vcs: Remove sandbox hack in src_compile. |
9 |
|
10 |
Configure with explicit option --with-dumping=pdumper to make sure |
11 |
that the portable dumper is used, even for the (unlikely) case that |
12 |
the upstream default would change. |
13 |
|
14 |
Note that (as of today) --with-dumping=unexec breaks the build |
15 |
process, therefore controlling this option with a USE flag wouldn't |
16 |
make sense. |
17 |
|
18 |
Closes: https://bugs.gentoo.org/700182 |
19 |
Package-Manager: Portage-2.3.79, Repoman-2.3.18 |
20 |
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org> |
21 |
|
22 |
app-editors/emacs-vcs/emacs-vcs-27.0.9999.ebuild | 9 +++++---- |
23 |
1 file changed, 5 insertions(+), 4 deletions(-) |
24 |
|
25 |
diff --git a/app-editors/emacs-vcs/emacs-vcs-27.0.9999.ebuild b/app-editors/emacs-vcs/emacs-vcs-27.0.9999.ebuild |
26 |
index 832d7156dc3..baa5e8dff5e 100644 |
27 |
--- a/app-editors/emacs-vcs/emacs-vcs-27.0.9999.ebuild |
28 |
+++ b/app-editors/emacs-vcs/emacs-vcs-27.0.9999.ebuild |
29 |
@@ -260,6 +260,7 @@ src_configure() { |
30 |
--without-compress-install \ |
31 |
--without-hesiod \ |
32 |
--without-pop \ |
33 |
+ --with-dumping=pdumper \ |
34 |
--with-file-notification=$(usev inotify || usev gfile || echo no) \ |
35 |
$(use_enable acl) \ |
36 |
$(use_with dbus) \ |
37 |
@@ -281,10 +282,10 @@ src_configure() { |
38 |
${myconf} |
39 |
} |
40 |
|
41 |
-src_compile() { |
42 |
- # Disable sandbox when dumping. For the unbelievers, see bug #131505 |
43 |
- emake RUN_TEMACS="SANDBOX_ON=0 LD_PRELOAD= env ./temacs" |
44 |
-} |
45 |
+#src_compile() { |
46 |
+# # Disable sandbox when dumping. For the unbelievers, see bug #131505 |
47 |
+# emake RUN_TEMACS="SANDBOX_ON=0 LD_PRELOAD= env ./temacs" |
48 |
+#} |
49 |
|
50 |
src_install () { |
51 |
emake DESTDIR="${D}" NO_BIN_LINK=t install |