patches/uClibc/0.9.30/210-find-portable.patch
author Titus von Boxberg <titus@v9g.de>
Mon Aug 22 09:38:19 2011 +0200 (2011-08-22)
branch1.12
changeset 2638 18d05b18e242
permissions -rw-r--r--
libc/uClibc: portability fixes to install_headers

Add patch files for uClibc-0.9.30:
extra/scripts/install_headers.sh: find must be called with path.
extra/scripts/unifdef.c: getline is declared in <stdio.h>, use different name.

Reported-by: "Guylhem Aznar" <crossgcc@guylhem.net>
Reported-by: "Titus von Boxberg" <titus@v9g.de>
Signed-off-by: "Titus von Boxberg" <titus@v9g.de>
(transplanted from b745004e1d29921a86b73694d912f1e1277db3e1)
     1 --- uClibc-0.9.30.orig/extra/scripts/install_headers.sh	2008-10-10 15:50:38.000000000 +0200
     2 +++ uClibc-0.9.30/extra/scripts/install_headers.sh	2011-08-21 09:49:03.000000000 +0200
     3 @@ -33,7 +33,7 @@
     4  (
     5  # We must cd, or else we'll prepend "$1" to filenames!
     6  cd "$1" || exit 1
     7 -find ! -name '.' -a ! -path '*/.*' | sed -e 's/^\.\///' -e '/^config\//d' \
     8 +find . ! -name '.' -a ! -path '*/.*' | sed -e 's/^\.\///' -e '/^config\//d' \
     9  	-e '/^config$/d'
    10  ) | \
    11  (