aboutsummaryrefslogtreecommitdiffstats
path: root/testing/emacs-xorg/noaslr-dump.patch
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2015-02-10 10:53:07 +0000
committerTimo Teräs <timo.teras@iki.fi>2015-02-10 10:53:07 +0000
commit59e10ba0bbe2aae2d28897b763c1158b47fdeb99 (patch)
tree43847601c4881d3ac6d89117430f7dbf1ac64d99 /testing/emacs-xorg/noaslr-dump.patch
parent1964efae661787a7828e42901708d098df07c664 (diff)
downloadaports-59e10ba0bbe2aae2d28897b763c1158b47fdeb99.tar.bz2
aports-59e10ba0bbe2aae2d28897b763c1158b47fdeb99.tar.xz
testing/emacs-xorg: new aport
The extensible, customizable, self-documenting real-time display editor http://www.gnu.org/software/emacs/emacs.html build with xorg support [tteras: fixed some dependencies, configure options and indenting]
Diffstat (limited to 'testing/emacs-xorg/noaslr-dump.patch')
-rw-r--r--testing/emacs-xorg/noaslr-dump.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/testing/emacs-xorg/noaslr-dump.patch b/testing/emacs-xorg/noaslr-dump.patch
new file mode 100644
index 0000000000..b3baa4e5a3
--- /dev/null
+++ b/testing/emacs-xorg/noaslr-dump.patch
@@ -0,0 +1,19 @@
+diff -urw orig/src/Makefile.in src/src/Makefile.in
+--- orig/src/Makefile.in 2015-02-09 14:14:38.576648826 +0000
++++ src/src/Makefile.in 2015-02-09 14:15:11.662322918 +0000
+@@ -455,6 +455,7 @@
+ ifeq ($(CANNOT_DUMP),yes)
+ ln -f temacs$(EXEEXT) $@
+ else
++ paxctl -rC temacs$(EXEEXT)
+ LC_ALL=C $(RUN_TEMACS) -batch -l loadup dump
+ $(PAXCTL_if_present) -zex $@
+ ln -f $@ bootstrap-emacs$(EXEEXT)
+@@ -659,6 +660,7 @@
+ ifeq ($(CANNOT_DUMP),yes)
+ ln -f temacs$(EXEEXT) $@
+ else
++ paxctl -rC temacs$(EXEEXT)
+ $(RUN_TEMACS) --batch --load loadup bootstrap
+ $(PAXCTL_if_present) -zex emacs$(EXEEXT)
+ mv -f emacs$(EXEEXT) $@