Mercurial > hg > aboriginal
changeset 912:505e0d613464
Squashfs doesn't build against uClibc 0.9.30.1, fix from Natanael Copa.
author | Rob Landley <rob@landley.net> |
---|---|
date | Wed, 02 Dec 2009 19:07:29 -0600 |
parents | b69d7013e16e |
children | 6a0f58ba29d3 |
files | sources/patches/squashfs-tools-4.0-uclibc-get_nprocs.patch |
diffstat | 1 files changed, 22 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sources/patches/squashfs-tools-4.0-uclibc-get_nprocs.patch Wed Dec 02 19:07:29 2009 -0600 @@ -0,0 +1,22 @@ +--- a/squashfs-tools/mksquashfs.c Wed Dec 2 10:30:31 2009 ++++ b/squashfs-tools/mksquashfs.c Wed Dec 2 10:31:34 2009 +@@ -3705,7 +3705,7 @@ + processors = 1; + } + #else +- processors = get_nprocs(); ++ processors = sysconf(_SC_NPROCESSORS_ONLN); + #endif + } + +--- a/squashfs-tools/unsquashfs.c Wed Dec 2 10:30:31 2009 ++++ b/squashfs-tools/unsquashfs.c Wed Dec 2 10:31:34 2009 +@@ -1811,7 +1811,7 @@ + processors = 1; + } + #else +- processors = get_nprocs(); ++ processors = sysconf(_SC_NPROCESSORS_ONLN); + #endif + } +