patches/uClibc/0.9.30.1/130-arm-ftruncate64.patch
author Anthony Foiani <anthony.foiani@gmail.com>
Thu Apr 26 19:55:59 2012 -0600 (2012-04-26)
changeset 2939 58974be61289
permissions -rw-r--r--
Allow multi-word "install" command.

Autoconf can determine that the correct install command includes flags,
e.g., "/usr/bin/install -c". When using this as a command, we can't
enclose the value in double-quotes, as that makes some shells use the
whole expression as a filename:

# this is the value returned by autoconf and stored in CT_install
$ ins="/usr/bin/install -c"

# if we call it with quotes, the command is not found
$ "${ins}"
bash: /usr/bin/install -c: No such file or directory

# removing the quotes lets it work as expected
$ ${ins}
/usr/bin/install: missing file operand
Try `/usr/bin/install --help' for more information.

Signed-Off-By: Anthony Foiani <anthony.foiani@gmail.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 */