From owner-freebsd-ports Tue Nov 16 5:50: 6 1999 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 63A5914D3D for ; Tue, 16 Nov 1999 05:50:02 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id FAA22306; Tue, 16 Nov 1999 05:50:02 -0800 (PST) (envelope-from gnats@FreeBSD.org) Date: Tue, 16 Nov 1999 05:50:02 -0800 (PST) Message-Id: <199911161350.FAA22306@freefall.freebsd.org> To: freebsd-ports@FreeBSD.org Cc: From: Steve Price Subject: Re: ports/14916: xemacs 21 package fixes/enhancements (fwd) Reply-To: Steve Price Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR ports/14916; it has been noted by GNATS. From: Steve Price To: freebsd-gnats-submit@freebsd.org Cc: Subject: Re: ports/14916: xemacs 21 package fixes/enhancements (fwd) Date: Tue, 16 Nov 1999 07:48:00 -0600 (CST) ---------- Forwarded message ---------- Date: Tue, 16 Nov 1999 08:49:49 +0100 From: Marcel Moolenaar To: ports@FreeBSD.ORG Subject: Re: ports/14916: xemacs 21 package fixes/enhancements wolman@cs.washington.edu wrote: > >Number: 14916 > >Category: ports > >Synopsis: xemacs 21 package fixes/enhancements I just want to take this opportunity to make my Alpha patches public: --- ./configure~ Tue Nov 2 12:13:13 1999 +++ ./configure Mon Nov 1 23:27:39 1999 @@ -1038,6 +1038,7 @@ case "$canonical" in *-*-linux* ) opsys=linux ;; + *-*-freebsd* ) opsys=freebsd ;; *-*-netbsd* ) opsys=netbsd ;; *-*-openbsd* ) opsys=openbsd ;; *-*-nextstep* ) opsys=nextstep ;; ...skipping... --- ./src/s/freebsd.h~ Sun Sep 27 09:59:20 1998 +++ ./src/s/freebsd.h Tue Nov 2 10:25:48 1999 @@ -54,10 +54,15 @@ #include #endif #define LD_SWITCH_SYSTEM +#ifdef __alpha__ +#define START_FILES pre-crt0.o /usr/lib/crt1.o /usr/lib/crtbegin.o +#define LIB_STANDARD -lgcc -lc -lgcc /usr/lib/crtend.o +#else #define START_FILES pre-crt0.o /usr/lib/crt1.o /usr/lib/crti.o /usr/lib/crtbegi n.o -#define UNEXEC unexelf.o #define LIB_STANDARD -lgcc -lc -lgcc /usr/lib/crtend.o /usr/lib/crtn.o +#endif #define LINKER "$(CC) -nostdlib" +#define UNEXEC unexelf.o #undef LIB_GCC #define LIB_GCC ...skipping... --- ./src/unexelf.c~ Sun Aug 15 03:29:56 1999 +++ ./src/unexelf.c Tue Nov 2 10:24:55 1999 @@ -515,6 +515,14 @@ # include #endif +#if defined(__FreeBSD__) && defined(__alpha__) +# ifdef __STDC__ +# define ElfW(type) Elf64_##type +# else +# define ElfW(type) Elf64_/**/type +# endif +#endif + #if __GNU_LIBRARY__ - 0 >= 6 # include /* get ElfW etc */ #endif -- Marcel Moolenaar mailto:marcel@scc.nl SCC Internetworking & Databases http://www.scc.nl/ The FreeBSD project mailto:marcel@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message