patches/uClibc/0.9.30.1/130-arm-ftruncate64.patch
author "Yann E. MORIN" <yann.morin.1998@free.fr>
Wed Jun 25 23:33:01 2014 +0200 (2014-06-25)
changeset 3325 069f43a215cc
permissions -rw-r--r--
all: fix wildcard to work with make-4.x

In make-3.8x, the $(wildacrd) function would sort the entries,
while in make-4.x, it would just return the entries in any
unpredictable order [*]

Use the $(sort) function to get reproducible behaviour.

[*] Well, most probably the roder the entries appear when read
from readdir()

Reported-by: Andrew Ruder <andrew.ruder@elecsyscorp.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Tested-by: Andrew Ruder <andrew.ruder@elecsyscorp.com>
yann@1248
     1
Original patch from Gentoo.
yann@1248
     2
yann@1248
     3
-= BEGIN original header =-
yann@1248
     4
-= END original header =-
yann@1248
     5
yann@1248
     6
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
yann@1248
     7
--- uClibc-0.9.30.orig/libc/sysdeps/linux/arm/bits/uClibc_arch_features.h	2008-09-25 10:50:56.000000000 +0200
yann@1248
     8
+++ uClibc-0.9.30/libc/sysdeps/linux/arm/bits/uClibc_arch_features.h	2009-02-07 09:57:59.000000000 +0100
yann@1248
     9
@@ -39,4 +39,8 @@
yann@1248
    10
 /* define if target supports IEEE signed zero floats */
yann@1248
    11
 #define __UCLIBC_HAVE_SIGNED_ZERO__
yann@1248
    12
 
yann@1248
    13
+#ifdef __ARM_EABI__
yann@1248
    14
+# define __UCLIBC_TRUNCATE64_HAS_4_ARGS__
yann@1248
    15
+#endif
yann@1248
    16
+
yann@1248
    17
 #endif /* _BITS_UCLIBC_ARCH_FEATURES_H */