From owner-freebsd-ports Mon Nov 15 23:55:58 1999 Delivered-To: freebsd-ports@freebsd.org Received: from mail.scc.nl (node1374.a2000.nl [62.108.19.116]) by hub.freebsd.org (Postfix) with ESMTP id E2ACA14D58 for ; Mon, 15 Nov 1999 23:55:55 -0800 (PST) (envelope-from freebsd-ports@scc.nl) Received: (from daemon@localhost) by mail.scc.nl (8.9.3/8.9.3) id IAA22819 for ports@FreeBSD.org; Tue, 16 Nov 1999 08:49:57 +0100 (CET) (envelope-from freebsd-ports@scc.nl) Received: from GATEWAY by dwarf.hq.scc.nl with netnews for ports@FreeBSD.org (ports@FreeBSD.org) To: ports@FreeBSD.org Date: Tue, 16 Nov 1999 08:49:49 +0100 From: Marcel Moolenaar Message-ID: <38310C9D.A3EDBAFD@scc.nl> Organization: SCC vof Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit References: <19991116012038.D54DA14E58@hub.freebsd.org> Subject: Re: ports/14916: xemacs 21 package fixes/enhancements Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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