squashfs:

- update to squashfs4.0-20091205
This commit is contained in:
Stephan Raue 2009-12-05 14:49:15 +01:00
parent 0df46679da
commit 0c6da76f35
4 changed files with 15 additions and 25 deletions

View File

@ -7,7 +7,8 @@ $SCRIPTS/build toolchain
setup_toolchain host
cd $BUILD/$1*/squashfs-tools
make mksquashfs
mkdir -p $ROOT/$TOOLCHAIN/bin
cp mksquashfs $ROOT/$TOOLCHAIN/bin
cp mksquashfs $ROOT/$TOOLCHAIN/bin

View File

@ -1,23 +0,0 @@
diff -Naur squashfs4.0-old/squashfs-tools/mksquashfs.c squashfs4.0-new/squashfs-tools/mksquashfs.c
--- squashfs4.0-old/squashfs-tools/mksquashfs.c 2009-04-05 14:22:48.000000000 -0700
+++ squashfs4.0-new/squashfs-tools/mksquashfs.c 2009-09-14 14:25:37.000000000 -0700
@@ -1733,8 +1733,8 @@
entry->buffer->block = bytes;
bytes += compressed_size;
fragments_outstanding --;
- pthread_mutex_unlock(&fragment_mutex);
queue_put(to_writer, entry->buffer);
+ pthread_mutex_unlock(&fragment_mutex);
pthread_mutex_lock(&fragment_mutex);
TRACE("fragment_locked writing fragment %d, compressed size %d"
"\n", entry->fragment, compressed_size);
@@ -2426,8 +2426,8 @@
write_buffer->block = bytes;
bytes += compressed_size;
fragments_outstanding --;
- pthread_mutex_unlock(&fragment_mutex);
queue_put(to_writer, write_buffer);
+ pthread_mutex_unlock(&fragment_mutex);
TRACE("Writing fragment %lld, uncompressed size %d, "
"compressed size %d\n", file_buffer->block,
file_buffer->size, compressed_size);

View File

@ -0,0 +1,12 @@
diff -Naur squashfs4.0-20091205/squashfs-tools/Makefile squashfs4.0-20091205.patch/squashfs-tools/Makefile
--- squashfs4.0-20091205/squashfs-tools/Makefile 2009-10-14 05:32:57.000000000 +0200
+++ squashfs4.0-20091205.patch/squashfs-tools/Makefile 2009-12-05 14:45:55.389177120 +0100
@@ -2,7 +2,7 @@
# Building LZMA support
# Download LZMA sdk (4.65 used in development, other versions may work),
# set LZMA_DIR to unpacked source, and uncomment next line
-LZMA_SUPPORT = 1
+#LZMA_SUPPORT = 1
LZMA_DIR = ../../../LZMA/lzma465
#Compression default.

View File

@ -1 +1 @@
http://switch.dl.sourceforge.net/sourceforge/squashfs/squashfs4.0.tar.gz
http://sources.openelec.tv/svn/squashfs4.0-20091205.tar.bz2