summaryrefslogtreecommitdiffstats
path: root/testing/emacs/noaslr-dump.patch
diff options
context:
space:
mode:
authorstef <l0ls0fo2i@ctrlc.hu>2015-02-10 10:52:08 +0000
committerTimo Teräs <timo.teras@iki.fi>2015-02-10 10:52:08 +0000
commit1964efae661787a7828e42901708d098df07c664 (patch)
treec49347ff19306e7510640299a22cd08bbd37ecbf /testing/emacs/noaslr-dump.patch
parente76f95d20786682c01232f0bbc7f2608478efe5d (diff)
downloadaports-1964efae661787a7828e42901708d098df07c664.tar.bz2
aports-1964efae661787a7828e42901708d098df07c664.tar.xz
testing/emacs: new aport
The extensible, customizable, self-documenting real-time display editor http://www.gnu.org/software/emacs/emacs.html build without xorg support [tteras: fixed some dependencies, configure options and indenting]
Diffstat (limited to 'testing/emacs/noaslr-dump.patch')
-rw-r--r--testing/emacs/noaslr-dump.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/testing/emacs/noaslr-dump.patch b/testing/emacs/noaslr-dump.patch
new file mode 100644
index 000000000..b3baa4e5a
--- /dev/null
+++ b/testing/emacs/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) $@