From 4c032a6b3e50f82f0ce7c7e80beb083e49af17bc Mon Sep 17 00:00:00 2001 From: adam Date: Sat, 3 Jan 2009 17:15:24 -0800 Subject: [PATCH] add #define __NESTEDVM__ to sys/config.h darcs-hash:20090104011524-5007d-b1092b69e940b1f8ba81be34689ac5a3cc68f01e.gz --- upstream/Makefile | 2 +- upstream/patches/newlib-nestedvm-define.patch | 13 +++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 upstream/patches/newlib-nestedvm-define.patch diff --git a/upstream/Makefile b/upstream/Makefile index eb2d8b4..0d717ba 100644 --- a/upstream/Makefile +++ b/upstream/Makefile @@ -23,7 +23,7 @@ configure_binutils = --target=mips-unknown-elf version_newlib = 1.11.0 url_newlib = ftp://sources.redhat.com/pub/newlib/newlib-$(version_newlib).tar.gz -patches_newlib = newlib-mips.patch newlib-tzset.patch newlib-malloc.patch newlib-nomemcpy.patch newlib-unix.patch newlib-unistd.patch +patches_newlib = newlib-mips.patch newlib-tzset.patch newlib-malloc.patch newlib-nomemcpy.patch newlib-unix.patch newlib-unistd.patch newlib-nestedvm-define.patch configure_newlib = --enable-multilib --target=mips-unknown-elf url_openbsdglob = http://www.brianweb.net/xwt/openbsdglob.tar.gz diff --git a/upstream/patches/newlib-nestedvm-define.patch b/upstream/patches/newlib-nestedvm-define.patch new file mode 100644 index 0000000..7af13a1 --- /dev/null +++ b/upstream/patches/newlib-nestedvm-define.patch @@ -0,0 +1,13 @@ +--- newlib/libc/include/sys/config.h 2009-01-03 17:00:12.000000000 -0800 ++++ newlib/libc/include/sys/config.h 2009-01-03 16:59:48.000000000 -0800 +@@ -3,6 +3,10 @@ + + #include /* floating point macros */ + ++#ifndef __NESTEDVM__ ++#define __NESTEDVM__ ++#endif ++ + /* exceptions first */ + #if defined(__H8500__) || defined(__W65__) + #define __SMALL_BITFIELDS -- 1.7.10.4