Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Nov 1999 05:50:02 -0800 (PST)
From:      Steve Price <sprice@hiwaay.net>
To:        freebsd-ports@FreeBSD.org
Subject:   Re: ports/14916: xemacs 21 package fixes/enhancements (fwd)
Message-ID:  <199911161350.FAA22306@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/14916; it has been noted by GNATS.

From: Steve Price <sprice@hiwaay.net>
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 <marcel@scc.nl>
 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 <stddef.h>
  #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 <sys/exec_elf.h>
  #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 <link.h>     /* 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199911161350.FAA22306>