Package Details: squashfs-tools-git 1935.c570c61-1

Git Clone URL: https://aur.archlinux.org/squashfs-tools-git.git (read-only, click to copy)
Package Base: squashfs-tools-git
Description: Tools for squashfs, a highly compressed read-only filesystem for Linux.
Upstream URL: https://github.com/plougher/squashfs-tools
Licenses: GPL2
Conflicts: squashfs-tools
Provides: squashfs-tools
Submitter: MikuroK
Maintainer: MikuroK
Last Packager: MikuroK
Votes: 1
Popularity: 0.000000
First Submitted: 2018-01-23 12:47 (UTC)
Last Updated: 2020-02-16 07:50 (UTC)

Required by (87)

Sources (1)

Latest Comments

MikuroK commented on 2018-11-30 09:39 (UTC)

@hunger; done, thanks for the heads up. As a side note, I'm surprised someone else is using this, I take it you were also after that zstd support?

hunger commented on 2018-11-29 21:10 (UTC)

Please apply the patch given below. It fixes the build with current glibc versions. The patch is downloaded from one of the PR on github.

hunger commented on 2018-11-29 21:08 (UTC) (edited on 2018-11-29 21:15 (UTC) by eschwartz)

diff --git a/PKGBUILD b/PKGBUILD
index 5534ab3..31d28ab 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,7 +7,7 @@

 pkgname=squashfs-tools-git
 _pkgbasename=squashfs-tools
-pkgver=1806.fb33dfc
+pkgver=1808.6e242dc
 pkgrel=1
 pkgdesc="Tools for squashfs, a highly compressed read-only filesystem for Linux."
 url="https://github.com/plougher/squashfs-tools"
@@ -16,16 +16,23 @@ arch=('x86_64')
 depends=('zlib' 'lzo' 'xz' 'lz4' 'zstd')
 conflicts=('squashfs-tools')
 provides=('squashfs-tools')
-source=("squashfs-tools::git+https://github.com/plougher/squashfs-tools.git")
-md5sums=('SKIP')
+source=("${_pkgbasename}::git+https://github.com/plougher/squashfs-tools.git"
+        "glibc-compat.patch::https://patch-diff.githubusercontent.com/raw/plougher/squashfs-tools/pull/52.patch")
+sha256sums=('SKIP'
+            '8eccc022ba150c0e925e43801ea9cd1b1d3b3e40485764e114251ab5c28a0030')

 pkgver() {
-       cd ${_pkgbasename}
+    cd "${_pkgbasename}"
        echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD)
 }

+prepare() {
+    cd "${srcdir}/${_pkgbasename}"
+    patch -Np1 -i "../glibc-compat.patch"
+}
+
 build() {
-    cd "$srcdir"/${_pkgbasename}/${_pkgbasename}
+    cd "$srcdir/${_pkgbasename}/${_pkgbasename}"
     CFLAGS="$CFLAGS -O2" make XZ_SUPPORT=1 LZO_SUPPORT=1 LZMA_XZ_SUPPORT=1 LZ4_SUPPORT=1 ZSTD_SUPPORT=1
 }