Skip site navigation (1)Skip section navigation (2)
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
Message-ID:  <38310C9D.A3EDBAFD@scc.nl>
References:  <19991116012038.D54DA14E58@hub.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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?38310C9D.A3EDBAFD>