summaryrefslogtreecommitdiff
path: root/patches/uClibc/0.9.30.1/130-arm-ftruncate64.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/uClibc/0.9.30.1/130-arm-ftruncate64.patch')
-rw-r--r--patches/uClibc/0.9.30.1/130-arm-ftruncate64.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/patches/uClibc/0.9.30.1/130-arm-ftruncate64.patch b/patches/uClibc/0.9.30.1/130-arm-ftruncate64.patch
new file mode 100644
index 0000000..7bd8ef6
--- /dev/null
+++ b/patches/uClibc/0.9.30.1/130-arm-ftruncate64.patch
@@ -0,0 +1,17 @@
+Original patch from Gentoo.
+
+-= BEGIN original header =-
+-= END original header =-
+
+diff -durN uClibc-0.9.30.orig/libc/sysdeps/linux/arm/bits/uClibc_arch_features.h uClibc-0.9.30/libc/sysdeps/linux/arm/bits/uClibc_arch_features.h
+--- uClibc-0.9.30.orig/libc/sysdeps/linux/arm/bits/uClibc_arch_features.h 2008-09-25 10:50:56.000000000 +0200
++++ uClibc-0.9.30/libc/sysdeps/linux/arm/bits/uClibc_arch_features.h 2009-02-07 09:57:59.000000000 +0100
+@@ -39,4 +39,8 @@
+ /* define if target supports IEEE signed zero floats */
+ #define __UCLIBC_HAVE_SIGNED_ZERO__
+
++#ifdef __ARM_EABI__
++# define __UCLIBC_TRUNCATE64_HAS_4_ARGS__
++#endif
++
+ #endif /* _BITS_UCLIBC_ARCH_FEATURES_H */