summaryrefslogtreecommitdiffstats
path: root/editors/emacs
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>1998-10-10 16:09:23 +0000
committersteve <steve@FreeBSD.org>1998-10-10 16:09:23 +0000
commit877432cb380f87d95ddc2de7e7b8ce1ee83ad93d (patch)
tree45db7716c31644171986f262f6cf4db8229e3bc2 /editors/emacs
parent3cac0f410ac87b1c41963caa17ad60db9cfe7b5b (diff)
downloadFreeBSD-ports-877432cb380f87d95ddc2de7e7b8ce1ee83ad93d.zip
FreeBSD-ports-877432cb380f87d95ddc2de7e7b8ce1ee83ad93d.tar.gz
Allow emacs to run stripped.
Submitted by: TAOKA Satoshi <taoka@infonets.hiroshima-u.ac.jp>
Diffstat (limited to 'editors/emacs')
-rw-r--r--editors/emacs/files/patch-ae16
1 files changed, 13 insertions, 3 deletions
diff --git a/editors/emacs/files/patch-ae b/editors/emacs/files/patch-ae
index 09b0616..82b5e69 100644
--- a/editors/emacs/files/patch-ae
+++ b/editors/emacs/files/patch-ae
@@ -1,6 +1,16 @@
---- orig/unexelf.c Wed Jul 17 07:39:03 1996
-+++ src/unexelf.c Wed Sep 30 09:35:47 1998
-@@ -845,7 +845,9 @@
+--- src/unexelf.c.orig Fri Oct 2 12:55:43 1998
++++ src/unexelf.c Fri Oct 2 13:02:05 1998
+@@ -678,7 +678,8 @@
+ if (n < 0)
+ fatal ("Couldn't find segment next to .bss in %s\n", old_name, 0);
+
+- NEW_PROGRAM_H (n).p_filesz += new_data2_size;
++/* NEW_PROGRAM_H (n).p_filesz += new_data2_size; */
++ NEW_PROGRAM_H (n).p_filesz = new_bss_addr - NEW_PROGRAM_H (n).p_vaddr; /* From emacs 20.3 */
+ NEW_PROGRAM_H (n).p_memsz = NEW_PROGRAM_H (n).p_filesz;
+
+ #if 0 /* Maybe allow section after data2 - does this ever happen? */
+@@ -845,7 +846,9 @@
for (; symp < symendp; symp ++)
if (strcmp ((char *) (symnames + symp->st_name), "_end") == 0
OpenPOWER on IntegriCloud