Date: Wed, 30 Sep 1998 01:10:01 -0700 (PDT) From: TAOKA Satoshi <taoka@infonets.hiroshima-u.ac.jp> To: freebsd-ports@FreeBSD.ORG Subject: Re: ports/8090: ELF patch for editors/emacs (emacs-19.34b) Message-ID: <199809300810.BAA14805@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/8090; it has been noted by GNATS. From: TAOKA Satoshi <taoka@infonets.hiroshima-u.ac.jp> To: freebsd-gnats-submit@freebsd.org Cc: Subject: Re: ports/8090: ELF patch for editors/emacs (emacs-19.34b) Date: Wed, 30 Sep 1998 17:09:22 +0900 > [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? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199809300810.BAA14805>