===================================================================
--- libffi.orig/ChangeLog
+++ libffi/ChangeLog
-@@ -1,3 +1,9 @@
+@@ -65,6 +65,12 @@
+ * testsuite/libffi.call/cls_longdouble.c: Likewise.
+ * testsuite/libffi.call/huge_struct.c: Likewise.
+
+2010-07-22 Dan Witte <dwitte@mozilla.com>
+
+ * src/*/ffitarget.h: Make FFI_LAST_ABI one past the last valid ABI.
2010-07-10 Evan Phoenix <evan@fallingsnow.net>
* src/closures.c (selinux_enabled_check): Fix strncmp usage bug.
-Index: libffi/src/arm/ffitarget.h
-===================================================================
---- libffi.orig/src/arm/ffitarget.h
-+++ libffi/src/arm/ffitarget.h
-@@ -34,8 +34,8 @@ typedef signed long ffi_sarg;
- typedef enum ffi_abi {
- FFI_FIRST_ABI = 0,
- FFI_SYSV,
-- FFI_DEFAULT_ABI = FFI_SYSV,
-- FFI_LAST_ABI = FFI_DEFAULT_ABI + 1
-+ FFI_LAST_ABI,
-+ FFI_DEFAULT_ABI = FFI_SYSV
- } ffi_abi;
- #endif
-
Index: libffi/src/avr32/ffitarget.h
===================================================================
--- libffi.orig/src/avr32/ffitarget.h
===================================================================
--- libffi.orig/src/s390/ffitarget.h
+++ libffi/src/s390/ffitarget.h
-@@ -40,8 +40,8 @@ typedef signed long ffi_sarg;
+@@ -42,8 +42,8 @@ typedef signed long ffi_sarg;
typedef enum ffi_abi {
FFI_FIRST_ABI = 0,
FFI_SYSV,
===================================================================
--- libffi.orig/src/sparc/ffitarget.h
+++ libffi/src/sparc/ffitarget.h
-@@ -42,12 +42,12 @@ typedef enum ffi_abi {
+@@ -44,12 +44,12 @@ typedef enum ffi_abi {
FFI_V8,
FFI_V8PLUS,
FFI_V9,