Summary: | ELF patch for editors/emacs (emacs-19.34b) | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | TAOKA Satoshi <taoka> | ||||
Component: | Individual Port(s) | Assignee: | freebsd-ports (Nobody) <ports> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Only Me | ||||||
Priority: | Normal | ||||||
Version: | Latest | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Attachments: |
|
Description
TAOKA Satoshi
1998-09-29 18:30:00 UTC
> [ELF patch for editors/emacs (emacs-19.34b)] > > This PR has two patch files for editors/emacs (emacs-19.34b). > patch-ac is a file which is renewed, and patch-ae is a new patch file. > These were derived from emacs-20.3. The next patch-ae is very smaller than patch-ae in the previous PR. [The new patch-ae] --- orig/unexelf.c Wed Jul 17 07:39:03 1996 +++ src/unexelf.c Wed Sep 30 09:35:47 1998 @@ -845,7 +845,9 @@ for (; symp < symendp; symp ++) if (strcmp ((char *) (symnames + symp->st_name), "_end") == 0 - || strcmp ((char *) (symnames + symp->st_name), "_edata") == 0) + || strcmp ((char *) (symnames + symp->st_name), "end") == 0 + || strcmp ((char *) (symnames + symp->st_name), "_edata") == 0 + || strcmp ((char *) (symnames + symp->st_name), "edata") == 0) memcpy (&symp->st_value, &new_bss_addr, sizeof (new_bss_addr)); } Note that patch-ac is needed in the previous PR. > [Notice] > If you apply new patch-ac, then -ltermcap is linked to emacs instead of > -lncurses. Because emacs terminates with a message 'Fatal error (11)' > if -lncurses is linked under ELF system. I found that emacs runs if both -lncurses and -ltermcap are linked to emacs. Why? State Changed From-To: open->closed Update committed, thanks! |