From owner-freebsd-ports Wed Sep 30 01:10:23 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA20948 for freebsd-ports-outgoing; Wed, 30 Sep 1998 01:10:23 -0700 (PDT) (envelope-from owner-freebsd-ports@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id BAA20864 for ; Wed, 30 Sep 1998 01:10:11 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id BAA14805; Wed, 30 Sep 1998 01:10:01 -0700 (PDT) Date: Wed, 30 Sep 1998 01:10:01 -0700 (PDT) Message-Id: <199809300810.BAA14805@freefall.freebsd.org> To: freebsd-ports@FreeBSD.ORG From: TAOKA Satoshi Subject: Re: ports/8090: ELF patch for editors/emacs (emacs-19.34b) Reply-To: TAOKA Satoshi Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR ports/8090; it has been noted by GNATS. From: TAOKA Satoshi 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