From 7865e9a7c233010ffc38ead0ccc30c1b723109e6 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Wed, 30 Mar 2022 15:21:00 -0400 Subject: [PATCH] development/latrace: Fix download URL. Signed-off-by: B. Watson Signed-off-by: Willy Sudiarto Raharjo --- development/latrace/latrace.SlackBuild | 15 ++++++--------- development/latrace/latrace.info | 2 +- 2 files changed, 7 insertions(+), 10 deletions(-) diff --git a/development/latrace/latrace.SlackBuild b/development/latrace/latrace.SlackBuild index 46c127881a..d820cfaa01 100644 --- a/development/latrace/latrace.SlackBuild +++ b/development/latrace/latrace.SlackBuild @@ -19,15 +19,12 @@ PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 @@ -37,8 +34,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -61,8 +58,8 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 cd $PRGNAM-$VERSION chown -R root:root . find -L . \ - -type d -exec chmod 0755 {} \; -o \ - -type f -exec chmod u+rw,go+r-w,a-s {} \; + -type d -exec chmod 0755 {} \+ -o \ + -type f -exec chmod u+rw,go+r-w,a-s {} \+ # Thanks archlinux! patch -p0 < $CWD/fix-scanner-config-for-flex-2.6.x.patch @@ -80,7 +77,7 @@ CXXFLAGS="$SLKCFLAGS" \ --docdir=/usr/doc/$PRGNAM-$VERSION \ --build=$ARCH-slackware-linux -make +make -j1 # 20220330 bkw: parallel builds are broken make install ROOTDIR=$PKG # Let's not clobber the main config file, but the headers in diff --git a/development/latrace/latrace.info b/development/latrace/latrace.info index 6ed617a672..1f861bd924 100644 --- a/development/latrace/latrace.info +++ b/development/latrace/latrace.info @@ -1,7 +1,7 @@ PRGNAM="latrace" VERSION="0.5.11" HOMEPAGE="http://people.redhat.com/jolsa/latrace/" -DOWNLOAD="http://people.redhat.com/jolsa/latrace/dl/latrace-0.5.11.tar.bz2" +DOWNLOAD="http://pkgs.fedoraproject.org/repo/pkgs/latrace/latrace-0.5.11.tar.bz2/138457c7b9eaf3246eddb7856702cddf/latrace-0.5.11.tar.bz2" MD5SUM="138457c7b9eaf3246eddb7856702cddf" DOWNLOAD_x86_64="" MD5SUM_x86_64=""