diff options
author | Titus von Boxberg <titus@v9g.de> | 2011-08-22 07:38:19 (GMT) |
---|---|---|
committer | Titus von Boxberg <titus@v9g.de> | 2011-08-22 07:38:19 (GMT) |
commit | 091a539c8bbd0419f5a8b0ee016bf8076f22658d (patch) | |
tree | 6e5180eb27e8c7b8b17b0a1205f3316ab83e28a2 /patches/uClibc/0.9.30/210-find-portable.patch | |
parent | 389450ecd054160e43f9d5f924af4458519d0616 (diff) |
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)
Diffstat (limited to 'patches/uClibc/0.9.30/210-find-portable.patch')
-rw-r--r-- | patches/uClibc/0.9.30/210-find-portable.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/patches/uClibc/0.9.30/210-find-portable.patch b/patches/uClibc/0.9.30/210-find-portable.patch new file mode 100644 index 0000000..86c5ae3 --- /dev/null +++ b/patches/uClibc/0.9.30/210-find-portable.patch @@ -0,0 +1,11 @@ +--- uClibc-0.9.30.orig/extra/scripts/install_headers.sh 2008-10-10 15:50:38.000000000 +0200 ++++ uClibc-0.9.30/extra/scripts/install_headers.sh 2011-08-21 09:49:03.000000000 +0200 +@@ -33,7 +33,7 @@ + ( + # We must cd, or else we'll prepend "$1" to filenames! + cd "$1" || exit 1 +-find ! -name '.' -a ! -path '*/.*' | sed -e 's/^\.\///' -e '/^config\//d' \ ++find . ! -name '.' -a ! -path '*/.*' | sed -e 's/^\.\///' -e '/^config\//d' \ + -e '/^config$/d' + ) | \ + ( |