diff options
author | gj <gj@FreeBSD.org> | 1999-11-19 04:56:15 +0800 |
---|---|---|
committer | gj <gj@FreeBSD.org> | 1999-11-19 04:56:15 +0800 |
commit | b46413d1c344e72b2e3d5ade63cb6ff4190baac2 (patch) | |
tree | 524aeb886674ee71b5aa1ef97ba54d0c8694ffd4 /editors | |
parent | 6b8f41070c70610c78b51e199ea2ce1be948abba (diff) | |
download | freebsd-ports-gnome-b46413d1c344e72b2e3d5ade63cb6ff4190baac2.tar.gz freebsd-ports-gnome-b46413d1c344e72b2e3d5ade63cb6ff4190baac2.tar.zst freebsd-ports-gnome-b46413d1c344e72b2e3d5ade63cb6ff4190baac2.zip |
Add Marcel's patches for Alpha support. I could only check that these
patches apply without error. I don't have an Alpha to test on, but I assume
that Marcel knows what he's doing.
PR: addendum to 14916
Submitted by: marcel
Approved by: the maintainer
Diffstat (limited to 'editors')
-rw-r--r-- | editors/xemacs-devel/files/patch-af | 7 | ||||
-rw-r--r-- | editors/xemacs-devel/files/patch-aj | 19 | ||||
-rw-r--r-- | editors/xemacs-devel/files/patch-ak | 17 | ||||
-rw-r--r-- | editors/xemacs/files/patch-af | 7 | ||||
-rw-r--r-- | editors/xemacs/files/patch-aj | 19 | ||||
-rw-r--r-- | editors/xemacs/files/patch-ak | 17 | ||||
-rw-r--r-- | editors/xemacs21/files/patch-af | 7 | ||||
-rw-r--r-- | editors/xemacs21/files/patch-aj | 19 | ||||
-rw-r--r-- | editors/xemacs21/files/patch-ak | 17 |
9 files changed, 129 insertions, 0 deletions
diff --git a/editors/xemacs-devel/files/patch-af b/editors/xemacs-devel/files/patch-af index d1b1c6f1b50a..11154b4c8035 100644 --- a/editors/xemacs-devel/files/patch-af +++ b/editors/xemacs-devel/files/patch-af @@ -1,5 +1,12 @@ --- configure~ Fri Oct 8 15:34:48 1999 +++ configure Fri Oct 8 15:36:43 1999 +@@ -1038,6 +1038,7 @@ + + case "$canonical" in + *-*-linux* ) opsys=linux ;; ++ *-*-freebsd* ) opsys=freebsd ;; + *-*-netbsd* ) opsys=netbsd ;; + *-*-openbsd* ) opsys=openbsd ;; @@ -11108,7 +11108,7 @@ if test "$with_database_berkdb" != "no"; then echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 diff --git a/editors/xemacs-devel/files/patch-aj b/editors/xemacs-devel/files/patch-aj new file mode 100644 index 000000000000..ec7bc9284938 --- /dev/null +++ b/editors/xemacs-devel/files/patch-aj @@ -0,0 +1,19 @@ +--- ./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/crtbegin.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 + diff --git a/editors/xemacs-devel/files/patch-ak b/editors/xemacs-devel/files/patch-ak new file mode 100644 index 000000000000..a45db5e1084d --- /dev/null +++ b/editors/xemacs-devel/files/patch-ak @@ -0,0 +1,17 @@ +--- ./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 diff --git a/editors/xemacs/files/patch-af b/editors/xemacs/files/patch-af index d1b1c6f1b50a..11154b4c8035 100644 --- a/editors/xemacs/files/patch-af +++ b/editors/xemacs/files/patch-af @@ -1,5 +1,12 @@ --- configure~ Fri Oct 8 15:34:48 1999 +++ configure Fri Oct 8 15:36:43 1999 +@@ -1038,6 +1038,7 @@ + + case "$canonical" in + *-*-linux* ) opsys=linux ;; ++ *-*-freebsd* ) opsys=freebsd ;; + *-*-netbsd* ) opsys=netbsd ;; + *-*-openbsd* ) opsys=openbsd ;; @@ -11108,7 +11108,7 @@ if test "$with_database_berkdb" != "no"; then echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 diff --git a/editors/xemacs/files/patch-aj b/editors/xemacs/files/patch-aj new file mode 100644 index 000000000000..ec7bc9284938 --- /dev/null +++ b/editors/xemacs/files/patch-aj @@ -0,0 +1,19 @@ +--- ./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/crtbegin.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 + diff --git a/editors/xemacs/files/patch-ak b/editors/xemacs/files/patch-ak new file mode 100644 index 000000000000..a45db5e1084d --- /dev/null +++ b/editors/xemacs/files/patch-ak @@ -0,0 +1,17 @@ +--- ./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 diff --git a/editors/xemacs21/files/patch-af b/editors/xemacs21/files/patch-af index d1b1c6f1b50a..11154b4c8035 100644 --- a/editors/xemacs21/files/patch-af +++ b/editors/xemacs21/files/patch-af @@ -1,5 +1,12 @@ --- configure~ Fri Oct 8 15:34:48 1999 +++ configure Fri Oct 8 15:36:43 1999 +@@ -1038,6 +1038,7 @@ + + case "$canonical" in + *-*-linux* ) opsys=linux ;; ++ *-*-freebsd* ) opsys=freebsd ;; + *-*-netbsd* ) opsys=netbsd ;; + *-*-openbsd* ) opsys=openbsd ;; @@ -11108,7 +11108,7 @@ if test "$with_database_berkdb" != "no"; then echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 diff --git a/editors/xemacs21/files/patch-aj b/editors/xemacs21/files/patch-aj new file mode 100644 index 000000000000..ec7bc9284938 --- /dev/null +++ b/editors/xemacs21/files/patch-aj @@ -0,0 +1,19 @@ +--- ./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/crtbegin.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 + diff --git a/editors/xemacs21/files/patch-ak b/editors/xemacs21/files/patch-ak new file mode 100644 index 000000000000..a45db5e1084d --- /dev/null +++ b/editors/xemacs21/files/patch-ak @@ -0,0 +1,17 @@ +--- ./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 |