summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app-editors/emacs-vcs/emacs-vcs-26.0.90.ebuild12
-rw-r--r--app-editors/emacs-vcs/emacs-vcs-26.0.91.ebuild12
-rw-r--r--app-editors/emacs-vcs/emacs-vcs-26.0.9999-r1.ebuild12
-rw-r--r--app-editors/emacs-vcs/emacs-vcs-27.0.9999.ebuild12
4 files changed, 40 insertions, 8 deletions
diff --git a/app-editors/emacs-vcs/emacs-vcs-26.0.90.ebuild b/app-editors/emacs-vcs/emacs-vcs-26.0.90.ebuild
index 2153ada2274..b332683366c 100644
--- a/app-editors/emacs-vcs/emacs-vcs-26.0.90.ebuild
+++ b/app-editors/emacs-vcs/emacs-vcs-26.0.90.ebuild
@@ -273,8 +273,16 @@ src_configure() {
}
src_compile() {
- export SANDBOX_ON=0 # for the unbelievers, see Bug #131505
- emake
+ # Disable sandbox when dumping. For the unbelievers, see bug #131505
+ cat >src/temacs-wrapper <<-'EOF' || die
+ #!/bin/bash
+ export SANDBOX_ON=0
+ unset LD_PRELOAD
+ exec ./temacs "$@"
+ EOF
+ chmod +x src/temacs-wrapper || die
+
+ emake RUN_TEMACS="./temacs-wrapper"
}
src_install () {
diff --git a/app-editors/emacs-vcs/emacs-vcs-26.0.91.ebuild b/app-editors/emacs-vcs/emacs-vcs-26.0.91.ebuild
index 2153ada2274..b332683366c 100644
--- a/app-editors/emacs-vcs/emacs-vcs-26.0.91.ebuild
+++ b/app-editors/emacs-vcs/emacs-vcs-26.0.91.ebuild
@@ -273,8 +273,16 @@ src_configure() {
}
src_compile() {
- export SANDBOX_ON=0 # for the unbelievers, see Bug #131505
- emake
+ # Disable sandbox when dumping. For the unbelievers, see bug #131505
+ cat >src/temacs-wrapper <<-'EOF' || die
+ #!/bin/bash
+ export SANDBOX_ON=0
+ unset LD_PRELOAD
+ exec ./temacs "$@"
+ EOF
+ chmod +x src/temacs-wrapper || die
+
+ emake RUN_TEMACS="./temacs-wrapper"
}
src_install () {
diff --git a/app-editors/emacs-vcs/emacs-vcs-26.0.9999-r1.ebuild b/app-editors/emacs-vcs/emacs-vcs-26.0.9999-r1.ebuild
index 2153ada2274..b332683366c 100644
--- a/app-editors/emacs-vcs/emacs-vcs-26.0.9999-r1.ebuild
+++ b/app-editors/emacs-vcs/emacs-vcs-26.0.9999-r1.ebuild
@@ -273,8 +273,16 @@ src_configure() {
}
src_compile() {
- export SANDBOX_ON=0 # for the unbelievers, see Bug #131505
- emake
+ # Disable sandbox when dumping. For the unbelievers, see bug #131505
+ cat >src/temacs-wrapper <<-'EOF' || die
+ #!/bin/bash
+ export SANDBOX_ON=0
+ unset LD_PRELOAD
+ exec ./temacs "$@"
+ EOF
+ chmod +x src/temacs-wrapper || die
+
+ emake RUN_TEMACS="./temacs-wrapper"
}
src_install () {
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 e2c11b5e4c5..9cf901fe95f 100644
--- a/app-editors/emacs-vcs/emacs-vcs-27.0.9999.ebuild
+++ b/app-editors/emacs-vcs/emacs-vcs-27.0.9999.ebuild
@@ -273,8 +273,16 @@ src_configure() {
}
src_compile() {
- export SANDBOX_ON=0 # for the unbelievers, see Bug #131505
- emake
+ # Disable sandbox when dumping. For the unbelievers, see bug #131505
+ cat >src/temacs-wrapper <<-'EOF' || die
+ #!/bin/bash
+ export SANDBOX_ON=0
+ unset LD_PRELOAD
+ exec ./temacs "$@"
+ EOF
+ chmod +x src/temacs-wrapper || die
+
+ emake RUN_TEMACS="./temacs-wrapper"
}
src_install () {