diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2010-12-24 12:43:10 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2010-12-24 12:43:10 +0000 |
commit | d4570b422e46cc8efbf9c51d112b9afb69b993df (patch) | |
tree | 64bec97fa29cb062a18ac94c5eac3581339d9bfd /m68k-unknown-amigaos/recipes/patches/ndk/ndk.inline.intuition.h.p | |
parent | dd3d652af7ca6ff66409e9c2510fbe6810d42c13 (diff) | |
download | toolchains-d4570b422e46cc8efbf9c51d112b9afb69b993df.tar.gz toolchains-d4570b422e46cc8efbf9c51d112b9afb69b993df.tar.bz2 |
A motley selection of changes, which ultimately result in a toolchain that produces binaries:
* Makefile:
Change to a two-stage build and build+install clib2 between stages
Other, associated changes to reflect additional patches etc
* recipes/files/gcc:
Contents moved to recipes/files/gcc/gcc
Various changes to the target configuration to reflect use of clib2
* recipes/files/ndk:
Additional header files for the NDK to permit clib2 to build
* recipes/files/clib2:
Add sys/wait.h to clib2, and stub out wait(), vfork(), and pipe() for the benefit of libiberty
* recipes/patches/gcc/(config.host.p,config.gcc.p):
Renamed to gcc.\1
* recipes/patches/gcc/libgcc.config.host.p:
Make libgcc aware of our target triple
* recipes/patches/binutils/gas.app.c.p:
Backport a 5-year old fix that prevents the GAS lexer dropping input on the floor
* recipes/patches/ndk/ndk.inline.intuition.h.p:
Hack around inline function needing access to a variable from the place it was inlined
* recipes/patches/clib2/clib2.modern_gcc.p:
Fix up clib2 to compile with modern GCC
* recipes/patches/clib2/clib2.include.unistd.h.p:
Export definitions of vfork() and pipe()
* recipes/patches/clib2/clib2.include.fcntl.h.p:
Define FD_CLOEXEC -- the clib2 fcntl() implementation will ignore F_GETFD/F_SETFD anyway
* recipes/patches/clib2/clib2.GNUmakefile.68k.p:
Reflect our use of a full target triple in the toolchain settings
Add stubs.c to build
Do not attempt to build resident/resident32 library variants
svn path=/toolchains/; revision=11120
Diffstat (limited to 'm68k-unknown-amigaos/recipes/patches/ndk/ndk.inline.intuition.h.p')
-rw-r--r-- | m68k-unknown-amigaos/recipes/patches/ndk/ndk.inline.intuition.h.p | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/m68k-unknown-amigaos/recipes/patches/ndk/ndk.inline.intuition.h.p b/m68k-unknown-amigaos/recipes/patches/ndk/ndk.inline.intuition.h.p new file mode 100644 index 0000000..9ecfa19 --- /dev/null +++ b/m68k-unknown-amigaos/recipes/patches/ndk/ndk.inline.intuition.h.p @@ -0,0 +1,18 @@ +--- sys-include/inline/intuition.h 2010-12-23 22:23:29.000000000 +0000 ++++ sys-include/inline/intuition.h 2010-12-23 22:18:23.000000000 +0000 +@@ -449,11 +449,14 @@ + , INTUITION_BASE_NAME) + + #ifndef NO_INLINE_STDARG +-__inline APTR NewObject(struct IClass * classPtr, CONST_STRPTR classID, ULONG tagList, ...) ++__inline APTR NewObjectI(void *INTUITION_BASE_NAME, struct IClass * classPtr, CONST_STRPTR classID, ULONG tagList, ...) + { + return NewObjectA(classPtr, classID, (const struct TagItem *) &tagList); + } + ++#define NewObject(classPtr, classID, tagList, ...) \ ++ NewObjectI(INTUITION_BASE_NAME, classPtr, classID, tagList, __VA_ARGS__) ++ + #endif + + #define DisposeObject(object) \ |