diff options
Diffstat (limited to 'patches/ffitarget-include-fix')
| -rw-r--r-- | patches/ffitarget-include-fix | 387 |
1 files changed, 0 insertions, 387 deletions
diff --git a/patches/ffitarget-include-fix b/patches/ffitarget-include-fix deleted file mode 100644 index b2a77db..0000000 --- a/patches/ffitarget-include-fix +++ /dev/null @@ -1,387 +0,0 @@ -Index: libffi/src/alpha/ffitarget.h -=================================================================== ---- libffi.orig/src/alpha/ffitarget.h -+++ libffi/src/alpha/ffitarget.h -@@ -1,5 +1,6 @@ - /* -----------------------------------------------------------------*-C-*- -- ffitarget.h - Copyright (c) 1996-2003 Red Hat, Inc. -+ ffitarget.h - Copyright (c) 2012 Anthony Green -+ Copyright (c) 1996-2003 Red Hat, Inc. - Target configuration macros for Alpha. - - Permission is hereby granted, free of charge, to any person obtaining -@@ -27,6 +28,10 @@ - #ifndef LIBFFI_TARGET_H - #define LIBFFI_TARGET_H - -+#ifndef LIBFFI_H -+#error "Please do not include ffitarget.h directly into your source. Use ffi.h instead." -+#endif -+ - #ifndef LIBFFI_ASM - typedef unsigned long ffi_arg; - typedef signed long ffi_sarg; -Index: libffi/src/arm/ffitarget.h -=================================================================== ---- libffi.orig/src/arm/ffitarget.h -+++ libffi/src/arm/ffitarget.h -@@ -1,6 +1,7 @@ - /* -----------------------------------------------------------------*-C-*- -- ffitarget.h - Copyright (c) 1996-2003 Red Hat, Inc. -- Copyright (c) 2010 CodeSourcery -+ ffitarget.h - Copyright (c) 2012 Anthony Green -+ Copyright (c) 2010 CodeSourcery -+ Copyright (c) 1996-2003 Red Hat, Inc. - - Target configuration macros for ARM. - -@@ -29,6 +30,10 @@ - #ifndef LIBFFI_TARGET_H - #define LIBFFI_TARGET_H - -+#ifndef LIBFFI_H -+#error "Please do not include ffitarget.h directly into your source. Use ffi.h instead." -+#endif -+ - #ifndef LIBFFI_ASM - typedef unsigned long ffi_arg; - typedef signed long ffi_sarg; -Index: libffi/src/avr32/ffitarget.h -=================================================================== ---- libffi.orig/src/avr32/ffitarget.h -+++ libffi/src/avr32/ffitarget.h -@@ -1,5 +1,6 @@ - /* -----------------------------------------------------------------*-C-*- -- ffitarget.h - Copyright (c) 2009 Bradley Smith <brad@brad-smith.co.uk> -+ ffitarget.h - Copyright (c) 2012 Anthony Green -+ Copyright (c) 2009 Bradley Smith <brad@brad-smith.co.uk> - Target configuration macros for AVR32. - - Permission is hereby granted, free of charge, to any person obtaining -@@ -27,6 +28,10 @@ - #ifndef LIBFFI_TARGET_H - #define LIBFFI_TARGET_H - -+#ifndef LIBFFI_H -+#error "Please do not include ffitarget.h directly into your source. Use ffi.h instead." -+#endif -+ - #ifndef LIBFFI_ASM - typedef unsigned long ffi_arg; - typedef signed long ffi_sarg; -Index: libffi/src/cris/ffitarget.h -=================================================================== ---- libffi.orig/src/cris/ffitarget.h -+++ libffi/src/cris/ffitarget.h -@@ -1,5 +1,6 @@ - /* -----------------------------------------------------------------*-C-*- -- ffitarget.h - Copyright (c) 1996-2003 Red Hat, Inc. -+ ffitarget.h - Copyright (c) 2012 Anthony Green -+ Copyright (c) 1996-2003 Red Hat, Inc. - Target configuration macros for CRIS. - - Permission is hereby granted, free of charge, to any person obtaining -@@ -27,6 +28,10 @@ - #ifndef LIBFFI_TARGET_H - #define LIBFFI_TARGET_H - -+#ifndef LIBFFI_H -+#error "Please do not include ffitarget.h directly into your source. Use ffi.h instead." -+#endif -+ - #ifndef LIBFFI_ASM - typedef unsigned long ffi_arg; - typedef signed long ffi_sarg; -Index: libffi/src/frv/ffitarget.h -=================================================================== ---- libffi.orig/src/frv/ffitarget.h -+++ libffi/src/frv/ffitarget.h -@@ -1,5 +1,6 @@ - /* -----------------------------------------------------------------*-C-*- -- ffitarget.h - Copyright (c) 1996-2004 Red Hat, Inc. -+ ffitarget.h - Copyright (c) 2012 Anthony Green -+ Copyright (c) 1996-2004 Red Hat, Inc. - Target configuration macros for FR-V - - Permission is hereby granted, free of charge, to any person obtaining -@@ -27,6 +28,10 @@ - #ifndef LIBFFI_TARGET_H - #define LIBFFI_TARGET_H - -+#ifndef LIBFFI_H -+#error "Please do not include ffitarget.h directly into your source. Use ffi.h instead." -+#endif -+ - /* ---- System specific configurations ----------------------------------- */ - - #ifndef LIBFFI_ASM -Index: libffi/src/ia64/ffitarget.h -=================================================================== ---- libffi.orig/src/ia64/ffitarget.h -+++ libffi/src/ia64/ffitarget.h -@@ -1,5 +1,6 @@ - /* -----------------------------------------------------------------*-C-*- -- ffitarget.h - Copyright (c) 1996-2003 Red Hat, Inc. -+ ffitarget.h - Copyright (c) 2012 Anthony Green -+ Copyright (c) 1996-2003 Red Hat, Inc. - Target configuration macros for IA-64. - - Permission is hereby granted, free of charge, to any person obtaining -@@ -27,6 +28,10 @@ - #ifndef LIBFFI_TARGET_H - #define LIBFFI_TARGET_H - -+#ifndef LIBFFI_H -+#error "Please do not include ffitarget.h directly into your source. Use ffi.h instead." -+#endif -+ - #ifndef LIBFFI_ASM - typedef unsigned long long ffi_arg; - typedef signed long long ffi_sarg; -Index: libffi/src/m32r/ffitarget.h -=================================================================== ---- libffi.orig/src/m32r/ffitarget.h -+++ libffi/src/m32r/ffitarget.h -@@ -1,5 +1,6 @@ - /* -----------------------------------------------------------------*-C-*- -- ffitarget.h - Copyright (c) 2004 Renesas Technology. -+ ffitarget.h - Copyright (c) 2012 Anthony Green -+ Copyright (c) 2004 Renesas Technology. - Target configuration macros for M32R. - - Permission is hereby granted, free of charge, to any person obtaining -@@ -26,6 +27,10 @@ - #ifndef LIBFFI_TARGET_H - #define LIBFFI_TARGET_H - -+#ifndef LIBFFI_H -+#error "Please do not include ffitarget.h directly into your source. Use ffi.h instead." -+#endif -+ - /* ---- Generic type definitions ----------------------------------------- */ - - #ifndef LIBFFI_ASM -Index: libffi/src/m68k/ffitarget.h -=================================================================== ---- libffi.orig/src/m68k/ffitarget.h -+++ libffi/src/m68k/ffitarget.h -@@ -1,5 +1,6 @@ - /* -----------------------------------------------------------------*-C-*- -- ffitarget.h - Copyright (c) 1996-2003 Red Hat, Inc. -+ ffitarget.h - Copyright (c) 2012 Anthony Green -+ Copyright (c) 1996-2003 Red Hat, Inc. - Target configuration macros for Motorola 68K. - - Permission is hereby granted, free of charge, to any person obtaining -@@ -27,6 +28,10 @@ - #ifndef LIBFFI_TARGET_H - #define LIBFFI_TARGET_H - -+#ifndef LIBFFI_H -+#error "Please do not include ffitarget.h directly into your source. Use ffi.h instead." -+#endif -+ - #ifndef LIBFFI_ASM - typedef unsigned long ffi_arg; - typedef signed long ffi_sarg; -Index: libffi/src/mips/ffitarget.h -=================================================================== ---- libffi.orig/src/mips/ffitarget.h -+++ libffi/src/mips/ffitarget.h -@@ -1,5 +1,6 @@ - /* -----------------------------------------------------------------*-C-*- -- ffitarget.h - Copyright (c) 1996-2003 Red Hat, Inc. -+ ffitarget.h - Copyright (c) 2012 Anthony Green -+ Copyright (c) 1996-2003 Red Hat, Inc. - Target configuration macros for MIPS. - - Permission is hereby granted, free of charge, to any person obtaining -@@ -27,6 +28,10 @@ - #ifndef LIBFFI_TARGET_H - #define LIBFFI_TARGET_H - -+#ifndef LIBFFI_H -+#error "Please do not include ffitarget.h directly into your source. Use ffi.h instead." -+#endif -+ - #ifdef linux - # include <asm/sgidefs.h> - #elif defined(__rtems__) -Index: libffi/src/moxie/ffitarget.h -=================================================================== ---- libffi.orig/src/moxie/ffitarget.h -+++ libffi/src/moxie/ffitarget.h -@@ -1,5 +1,5 @@ - /* -----------------------------------------------------------------*-C-*- -- ffitarget.h - Copyright (c) 2009 Anthony Green -+ ffitarget.h - Copyright (c) 2012, 2009 Anthony Green - Target configuration macros for Moxie - - Permission is hereby granted, free of charge, to any person obtaining -@@ -27,6 +27,10 @@ - #ifndef LIBFFI_TARGET_H - #define LIBFFI_TARGET_H - -+#ifndef LIBFFI_H -+#error "Please do not include ffitarget.h directly into your source. Use ffi.h instead." -+#endif -+ - /* ---- System specific configurations ----------------------------------- */ - - #ifndef LIBFFI_ASM -Index: libffi/src/pa/ffitarget.h -=================================================================== ---- libffi.orig/src/pa/ffitarget.h -+++ libffi/src/pa/ffitarget.h -@@ -1,5 +1,6 @@ - /* -----------------------------------------------------------------*-C-*- -- ffitarget.h - Copyright (c) 1996-2003 Red Hat, Inc. -+ ffitarget.h - Copyright (c) 2012 Anthony Green -+ Copyright (c) 1996-2003 Red Hat, Inc. - Target configuration macros for hppa. - - Permission is hereby granted, free of charge, to any person obtaining -@@ -27,6 +28,10 @@ - #ifndef LIBFFI_TARGET_H - #define LIBFFI_TARGET_H - -+#ifndef LIBFFI_H -+#error "Please do not include ffitarget.h directly into your source. Use ffi.h instead." -+#endif -+ - /* ---- System specific configurations ----------------------------------- */ - - #ifndef LIBFFI_ASM -Index: libffi/src/powerpc/ffitarget.h -=================================================================== ---- libffi.orig/src/powerpc/ffitarget.h -+++ libffi/src/powerpc/ffitarget.h -@@ -1,6 +1,8 @@ - /* -----------------------------------------------------------------*-C-*- -- ffitarget.h - Copyright (c) 1996-2003 Red Hat, Inc. -- Copyright (C) 2007, 2008, 2010 Free Software Foundation, Inc -+ ffitarget.h - Copyright (c) 2012 Anthony Green -+ Copyright (C) 2007, 2008, 2010 Free Software Foundation, Inc -+ Copyright (c) 1996-2003 Red Hat, Inc. -+ - Target configuration macros for PowerPC. - - Permission is hereby granted, free of charge, to any person obtaining -@@ -28,6 +30,10 @@ - #ifndef LIBFFI_TARGET_H - #define LIBFFI_TARGET_H - -+#ifndef LIBFFI_H -+#error "Please do not include ffitarget.h directly into your source. Use ffi.h instead." -+#endif -+ - /* ---- System specific configurations ----------------------------------- */ - - #if defined (POWERPC) && defined (__powerpc64__) /* linux64 */ -Index: libffi/src/s390/ffitarget.h -=================================================================== ---- libffi.orig/src/s390/ffitarget.h -+++ libffi/src/s390/ffitarget.h -@@ -1,5 +1,6 @@ - /* -----------------------------------------------------------------*-C-*- -- ffitarget.h - Copyright (c) 1996-2003 Red Hat, Inc. -+ ffitarget.h - Copyright (c) 2012 Anthony Green -+ Copyright (c) 1996-2003 Red Hat, Inc. - Target configuration macros for S390. - - Permission is hereby granted, free of charge, to any person obtaining -@@ -27,6 +28,10 @@ - #ifndef LIBFFI_TARGET_H - #define LIBFFI_TARGET_H - -+#ifndef LIBFFI_H -+#error "Please do not include ffitarget.h directly into your source. Use ffi.h instead." -+#endif -+ - #if defined (__s390x__) - #ifndef S390X - #define S390X -Index: libffi/src/sh/ffitarget.h -=================================================================== ---- libffi.orig/src/sh/ffitarget.h -+++ libffi/src/sh/ffitarget.h -@@ -1,5 +1,6 @@ - /* -----------------------------------------------------------------*-C-*- -- ffitarget.h - Copyright (c) 1996-2003 Red Hat, Inc. -+ ffitarget.h - Copyright (c) 2012 Anthony Green -+ Copyright (c) 1996-2003 Red Hat, Inc. - Target configuration macros for SuperH. - - Permission is hereby granted, free of charge, to any person obtaining -@@ -27,6 +28,10 @@ - #ifndef LIBFFI_TARGET_H - #define LIBFFI_TARGET_H - -+#ifndef LIBFFI_H -+#error "Please do not include ffitarget.h directly into your source. Use ffi.h instead." -+#endif -+ - /* ---- Generic type definitions ----------------------------------------- */ - - #ifndef LIBFFI_ASM -Index: libffi/src/sh64/ffitarget.h -=================================================================== ---- libffi.orig/src/sh64/ffitarget.h -+++ libffi/src/sh64/ffitarget.h -@@ -1,5 +1,6 @@ - /* -----------------------------------------------------------------*-C-*- -- ffitarget.h - Copyright (c) 1996-2003 Red Hat, Inc. -+ ffitarget.h - Copyright (c) 2012 Anthony Green -+ Copyright (c) 1996-2003 Red Hat, Inc. - Target configuration macros for SuperH - SHmedia. - - Permission is hereby granted, free of charge, to any person obtaining -@@ -27,6 +28,10 @@ - #ifndef LIBFFI_TARGET_H - #define LIBFFI_TARGET_H - -+#ifndef LIBFFI_H -+#error "Please do not include ffitarget.h directly into your source. Use ffi.h instead." -+#endif -+ - /* ---- Generic type definitions ----------------------------------------- */ - - #ifndef LIBFFI_ASM -Index: libffi/src/sparc/ffitarget.h -=================================================================== ---- libffi.orig/src/sparc/ffitarget.h -+++ libffi/src/sparc/ffitarget.h -@@ -1,5 +1,6 @@ - /* -----------------------------------------------------------------*-C-*- -- ffitarget.h - Copyright (c) 1996-2003 Red Hat, Inc. -+ ffitarget.h - Copyright (c) 2012 Anthony Green -+ Copyright (c) 1996-2003 Red Hat, Inc. - Target configuration macros for SPARC. - - Permission is hereby granted, free of charge, to any person obtaining -@@ -27,6 +28,10 @@ - #ifndef LIBFFI_TARGET_H - #define LIBFFI_TARGET_H - -+#ifndef LIBFFI_H -+#error "Please do not include ffitarget.h directly into your source. Use ffi.h instead." -+#endif -+ - /* ---- System specific configurations ----------------------------------- */ - - #if defined(__arch64__) || defined(__sparcv9) -Index: libffi/src/x86/ffitarget.h -=================================================================== ---- libffi.orig/src/x86/ffitarget.h -+++ libffi/src/x86/ffitarget.h -@@ -30,6 +30,10 @@ - #ifndef LIBFFI_TARGET_H - #define LIBFFI_TARGET_H - -+#ifndef LIBFFI_H -+#error "Please do not include ffitarget.h directly into your source. Use ffi.h instead." -+#endif -+ - /* ---- System specific configurations ----------------------------------- */ - - /* For code common to all platforms on x86 and x86_64. */ |
