squashfs_tools: fix build

This commit is contained in:
Sergei Reznikov
2017-10-24 16:05:27 +03:00
parent dee96834a7
commit 822f5d01af

View File

@@ -9,15 +9,15 @@ systems) where low overhead is needed."
HOMEPAGE="http://squashfs.sourceforge.net/"
COPYRIGHT="2002-2014 Philip Lougher"
LICENSE="GNU GPL v2"
REVISION="2"
REVISION="3"
SOURCE_URI="https://downloads.sf.net/squashfs/squashfs$portVersion.tar.gz"
CHECKSUM_SHA256="0d605512437b1eb800b4736791559295ee5f60177e102e4d4ccd0ee241a5f3f6"
SOURCE_DIR="squashfs$portVersion/squashfs-tools"
debianRevision="3"
SOURCE_FILENAME_2="squashfs-tools_$portVersion-$debianRevision.debian.tar.xz"
SOURCE_FILENAME_2="squashfs-tools_$portVersion-$debianRevision+deb9u1.debian.tar.xz"
SOURCE_URI_2="http://httpredir.debian.org/debian/pool/main/s/squashfs-tools/$SOURCE_FILENAME_2"
CHECKSUM_SHA256_2="1c296cc147e322e7124bf23a3c242ac83f6a986e6d6f64829ad2424b33914fc4"
CHECKSUM_SHA256_2="760fa5221778a851883b0843c9ee50662af0b33e6674909b79b8ab1312c6446a"
commit="dceb729f0369d72f1d7820705fd12510b71446d2"
patchsetBaseUri="https://gitweb.gentoo.org/repo/gentoo.git/plain/sys-fs/squashfs-tools/files"
@@ -86,6 +86,9 @@ PATCH()
patch -p2 -i $sourceDir2/debian/patches/0002-*.patch
patch -p2 -i $sourceDir2/debian/patches/0003-*.patch
patch -p2 -i $sourceDir2/debian/patches/0004-*.patch
patch -p2 -i $sourceDir2/debian/patches/0006-*.patch
# previously applied) patch detected?
# patch -p2 -i $sourceDir2/debian/patches/0007-*.patch
patch -p2 -i $sourceDir3/$SOURCE_FILENAME_3
patch -p2 -i $sourceDir4/$SOURCE_FILENAME_4
patch -p2 -i $sourceDir6/$SOURCE_FILENAME_6