aboutsummaryrefslogtreecommitdiff
path: root/system/ext4magic/ext4magic.SlackBuild
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2022-02-05 16:45:32 +1300
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-02-06 15:47:04 +0700
commitaf599fc9462de4c2859dbd373b81490ed3b6122c (patch)
treeb78e7291c3b5ce004cccc97a4cb0e21f1f6ba28d /system/ext4magic/ext4magic.SlackBuild
parent31a033587dd2db58e74ca9c9bec2d941a764f70e (diff)
system/ext4magic: Fix build with newer gcc.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/ext4magic/ext4magic.SlackBuild')
-rw-r--r--system/ext4magic/ext4magic.SlackBuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/system/ext4magic/ext4magic.SlackBuild b/system/ext4magic/ext4magic.SlackBuild
index 4125ebdc314bd..34de5c3da7bee 100644
--- a/system/ext4magic/ext4magic.SlackBuild
+++ b/system/ext4magic/ext4magic.SlackBuild
@@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=ext4magic
VERSION=${VERSION:-0.3.2}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -72,6 +72,9 @@ cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
+# thanks arch maintainers
+patch -p1 < $CWD/01-i_dir_acl.patch
+patch -p1 < $CWD/02-Fix-undefined-reference-to-makedev.patch
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \