diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2011-03-19 21:26:49 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2011-03-19 21:26:49 +0100 |
commit | 614ba3455117d5514096723f414ad32706c67371 (patch) | |
tree | 2a42cdf15f347cb4b5e62f26abf857d28b24b0ae /target/tools/squashfs | |
parent | 074aa4df811138445a45ae9c77b39d94ef5d7672 (diff) |
add uClibc compat patch from buildroot
Diffstat (limited to 'target/tools/squashfs')
-rw-r--r-- | target/tools/squashfs/patches/uClibc-compat.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/target/tools/squashfs/patches/uClibc-compat.patch b/target/tools/squashfs/patches/uClibc-compat.patch new file mode 100644 index 000000000..00f2b22c0 --- /dev/null +++ b/target/tools/squashfs/patches/uClibc-compat.patch @@ -0,0 +1,24 @@ +diff -Nur squashfs4.0.orig/squashfs-tools/mksquashfs.c squashfs4.0/squashfs-tools/mksquashfs.c +--- squashfs4.0.orig/squashfs-tools/mksquashfs.c 2009-04-05 23:22:48.000000000 +0200 ++++ squashfs4.0/squashfs-tools/mksquashfs.c 2011-03-18 22:04:00.000000000 +0100 +@@ -3705,7 +3705,7 @@ + processors = 1; + } + #else +- processors = get_nprocs(); ++ processors = sysconf(_SC_NPROCESSORS_CONF); + #endif + } + +diff -Nur squashfs4.0.orig/squashfs-tools/unsquashfs.c squashfs4.0/squashfs-tools/unsquashfs.c +--- squashfs4.0.orig/squashfs-tools/unsquashfs.c 2009-04-05 23:23:06.000000000 +0200 ++++ squashfs4.0/squashfs-tools/unsquashfs.c 2011-03-18 22:03:31.000000000 +0100 +@@ -1811,7 +1811,7 @@ + processors = 1; + } + #else +- processors = get_nprocs(); ++ processors = sysconf(_SC_NPROCESSORS_CONF); + #endif + } + |