mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
add patch to lets build libffi with uclibc-master
This commit is contained in:
parent
9b8ac23552
commit
b07b5ce44e
@ -11,6 +11,7 @@ cd $PKG_BUILD
|
||||
--sysconfdir=/etc \
|
||||
--disable-static \
|
||||
--enable-shared \
|
||||
--disable-debug \
|
||||
|
||||
make
|
||||
|
||||
|
@ -0,0 +1,27 @@
|
||||
see: https://svn.tfm.ro/tfm/server/uClibc/trunk/uClibc-0.9.30.1-tfm.patch
|
||||
|
||||
diff -Naur libffi-3.0.8/include/ffi.h.in libffi-3.0.8.patch/include/ffi.h.in
|
||||
--- libffi-3.0.8/include/ffi.h.in 2008-04-03 20:57:34.000000000 +0200
|
||||
+++ libffi-3.0.8.patch/include/ffi.h.in 2009-08-01 23:12:05.000000000 +0200
|
||||
@@ -70,19 +70,8 @@
|
||||
#include <stddef.h>
|
||||
#include <limits.h>
|
||||
|
||||
-/* LONG_LONG_MAX is not always defined (not if STRICT_ANSI, for example).
|
||||
- But we can find it either under the correct ANSI name, or under GNU
|
||||
- C's internal name. */
|
||||
-#ifdef LONG_LONG_MAX
|
||||
-# define FFI_LONG_LONG_MAX LONG_LONG_MAX
|
||||
-#else
|
||||
-# ifdef LLONG_MAX
|
||||
-# define FFI_LONG_LONG_MAX LLONG_MAX
|
||||
-# else
|
||||
-# ifdef __GNUC__
|
||||
-# define FFI_LONG_LONG_MAX __LONG_LONG_MAX__
|
||||
-# endif
|
||||
-# endif
|
||||
+#if defined __USE_ISOC99 && defined __GNUC__
|
||||
+# define FFI_LONG_LONG_MAX __LONG_LONG_MAX__
|
||||
#endif
|
||||
|
||||
/* The closure code assumes that this works on pointers, i.e. a size_t */
|
Loading…
x
Reference in New Issue
Block a user