From df34379cc4505e01b2d7e7c6611df808da46bf15 Mon Sep 17 00:00:00 2001 From: Eric Hameleers Date: Wed, 17 Jun 2020 14:10:24 +0200 Subject: deps/util-linux: get rid of compressed patches in the git repo --- deps/util-linux/util-linux.SlackBuild | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'deps/util-linux/util-linux.SlackBuild') diff --git a/deps/util-linux/util-linux.SlackBuild b/deps/util-linux/util-linux.SlackBuild index 3c33fe5..31eb6c1 100755 --- a/deps/util-linux/util-linux.SlackBuild +++ b/deps/util-linux/util-linux.SlackBuild @@ -117,11 +117,11 @@ fi # Changing the fdisk -l output (this was done prior to util-linux-ng) broke # our installation scripts, so we have changed the name of partition type # 83 back to "Linux swap": -zcat $CWD/util-linux.fdisk-no-solaris.diff.gz | patch -p1 --verbose || exit 1 +cat $CWD/util-linux.fdisk-no-solaris.diff | patch -p1 --verbose || exit 1 # Revert to the behavior of earlier versions of fdisk which did not list the # /dev/ram* devices in 'fdisk -l' output: -zcat $CWD/util-linux.do.not.list.ram.devices.diff.gz | patch -p1 --verbose || exit 1 +cat $CWD/util-linux.do.not.list.ram.devices.diff | patch -p1 --verbose || exit 1 # This just call the configure script with $1 either being 2 for python2 # or 3 for python3. @@ -246,7 +246,7 @@ cd $TMP || exit 1 rm -rf ziptool-$ZIPTOOLVERS tar xvf $CWD/ziptool-$ZIPTOOLVERS.tar.xz || exit 1 cd ziptool-$ZIPTOOLVERS || exit 1 -zcat $CWD/ziptool-fix_build.patch.gz | patch -p1 || exit 1 +cat $CWD/ziptool-fix_build.patch | patch -p1 || exit 1 mkdir scsi cat $CWD/scsi_ioctl.h > scsi/scsi_ioctl.h chown -R root:root . @@ -264,7 +264,7 @@ cd $TMP || exit 1 rm -rf bsdstrings tar xvf $CWD/bsdstrings.tar.gz || exit 1 cd bsdstrings || exit 1 -zcat $CWD/bsdstrings-util-linux_overflow.diff.gz | patch -p1 --verbose || exit 1 +cat $CWD/bsdstrings-util-linux_overflow.diff | patch -p1 --verbose || exit 1 make || exit 1 strip strings cat strings > $PKG/usr/bin/strings-BSD @@ -277,7 +277,7 @@ rm -rf adjtimex-$ADJTIMEXVERS tar xvf $CWD/adjtimex_${ADJTIMEXVERS}.orig.tar.gz || exit 1 cd adjtimex-$ADJTIMEXVERS || exit 1 chown -R root:root . -zcat $CWD/adjtimex_1.29-2.2.diff.gz | patch -p1 || exit 1 +cat $CWD/adjtimex_1.29-2.2.diff | patch -p1 || exit 1 CFLAGS=-O2 ./configure --prefix=/usr || exit 1 make || exit 1 strip adjtimex @@ -294,10 +294,10 @@ rm -rf setserial-$SETSERIALVERS tar xvf $CWD/setserial-$SETSERIALVERS.tar.gz || exit 1 cd setserial-$SETSERIALVERS || exit 1 chown -R root:root . -zcat $CWD/setserial-rc.serial.diff.gz | patch -E -p1 --verbose || exit 1 -zcat $CWD/setserial-undef_TIOCGHAYESESP.diff.gz | patch -E -p1 --verbose || exit 1 +cat $CWD/setserial-rc.serial.diff | patch -E -p1 --verbose || exit 1 +cat $CWD/setserial-undef_TIOCGHAYESESP.diff | patch -E -p1 --verbose || exit 1 # The original config.{guess,sub} do not work on x86_64 -cp -p /usr/share/libtool/config/config.{guess,sub} . +cp -p /usr/share/libtool/build-aux/config.{guess,sub} . ./configure --prefix=/usr || exit 1 make || exit 1 strip setserial @@ -374,7 +374,7 @@ cp -a AUTHORS COPYING* DEPRECATED NEWS README* \ mkdir $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc -zcat $CWD/doinst.sh.gz > $PKG/install/doinst.sh +cat $CWD/doinst.sh > $PKG/install/doinst.sh cd $PKG /sbin/makepkg -l y -c n $TMP/util-linux-$VERSION-$ARCH-$BUILD.txz -- cgit v1.2.3