diff options
author | ru <ru@FreeBSD.org> | 2002-11-13 11:50:40 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2002-11-13 11:50:40 +0000 |
commit | f056bc6c1666e5096f305d83cd829bb660562101 (patch) | |
tree | 42bb4b1a979c911ba92cbe874e5ffe4fd63e42d5 | |
parent | 02c7d00fbdd4f6cff671b03b1be3f8a4c81e053c (diff) | |
download | FreeBSD-src-f056bc6c1666e5096f305d83cd829bb660562101.zip FreeBSD-src-f056bc6c1666e5096f305d83cd829bb660562101.tar.gz |
Bootstrapping aid for 4.0-RELEASE.
-rw-r--r-- | gnu/usr.bin/cc/cc_tools/auto-host.h | 3 | ||||
-rw-r--r-- | lib/libncurses/Makefile | 4 | ||||
-rw-r--r-- | lib/ncurses/ncurses/Makefile | 4 | ||||
-rw-r--r-- | usr.sbin/crunch/crunchide/exec_elf32.c | 6 |
4 files changed, 17 insertions, 0 deletions
diff --git a/gnu/usr.bin/cc/cc_tools/auto-host.h b/gnu/usr.bin/cc/cc_tools/auto-host.h index a25c9b6..321bb32 100644 --- a/gnu/usr.bin/cc/cc_tools/auto-host.h +++ b/gnu/usr.bin/cc/cc_tools/auto-host.h @@ -357,7 +357,10 @@ /* #undef _GNU_SOURCE */ /* Define if you have a working <stdbool.h> header file. */ +#if (__FreeBSD_version >= 440003 && __FreeBSD_version < 500000) || \ + __FreeBSD_version >= 500014 #define HAVE_STDBOOL_H 1 +#endif /* Define if you can safely include both <string.h> and <strings.h>. */ #define STRING_WITH_STRINGS 1 diff --git a/lib/libncurses/Makefile b/lib/libncurses/Makefile index b757bc1..3e4fdae 100644 --- a/lib/libncurses/Makefile +++ b/lib/libncurses/Makefile @@ -25,7 +25,11 @@ BROKEN_LINKER= 0 BUILTIN_BOOL= 1 BOOL_TYPE= 0 HAVE_VSSCANF= 1 +.if defined(BOOTSTRAPPING) +HEADER_STDBOOL= 0 +.else HEADER_STDBOOL= 1 +.endif TYPE_OF_BOOL= unsigned char TYPEOF_CHTYPE= long WIDEC_SHIFT= 8 diff --git a/lib/ncurses/ncurses/Makefile b/lib/ncurses/ncurses/Makefile index b757bc1..3e4fdae 100644 --- a/lib/ncurses/ncurses/Makefile +++ b/lib/ncurses/ncurses/Makefile @@ -25,7 +25,11 @@ BROKEN_LINKER= 0 BUILTIN_BOOL= 1 BOOL_TYPE= 0 HAVE_VSSCANF= 1 +.if defined(BOOTSTRAPPING) +HEADER_STDBOOL= 0 +.else HEADER_STDBOOL= 1 +.endif TYPE_OF_BOOL= unsigned char TYPEOF_CHTYPE= long WIDEC_SHIFT= 8 diff --git a/usr.sbin/crunch/crunchide/exec_elf32.c b/usr.sbin/crunch/crunchide/exec_elf32.c index 5750ced6..571c5a8 100644 --- a/usr.sbin/crunch/crunchide/exec_elf32.c +++ b/usr.sbin/crunch/crunchide/exec_elf32.c @@ -155,7 +155,13 @@ ELFNAMEEND(check)(int fd, const char *fn) switch (xe16toh(eh.e_machine)) { case EM_386: break; case EM_ALPHA: break; +#ifndef EM_IA_64 +#define EM_IA_64 50 +#endif case EM_IA_64: break; +#ifndef EM_SPARCV9 +#define EM_SPARCV9 43 +#endif case EM_SPARCV9: break; /* ELFDEFNNAME(MACHDEP_ID_CASES) */ |