summaryrefslogtreecommitdiffstats
path: root/development/atasm/atasm.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/atasm/atasm.SlackBuild')
-rw-r--r--development/atasm/atasm.SlackBuild15
1 files changed, 12 insertions, 3 deletions
diff --git a/development/atasm/atasm.SlackBuild b/development/atasm/atasm.SlackBuild
index 7923307007..3079667d35 100644
--- a/development/atasm/atasm.SlackBuild
+++ b/development/atasm/atasm.SlackBuild
@@ -6,6 +6,8 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20240505 bkw: update for v1.25.
+
# 20240207 bkw:
# - update for v1.23, which is a maintained fork from a new dev.
@@ -18,7 +20,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=atasm
-VERSION=${VERSION:-1.23}
+VERSION=${VERSION:-1.25}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -60,8 +62,15 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.gz \
--exclude='*.exe' --exclude='*.sln' --exclude="*.vcx*"
cd $PRGNAM-$VERSION
chown -R root:root .
-find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
- \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} + -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} +
+
+# this patch is from upstream git.
+patch -p1 < $CWD/0001-Fix-the-compiling-under-Linux-Mac.patch
+
+# this patch has been submitted to upstream, should be in the next
+# release.
+patch -p1 < $CWD/gcc11fix.diff
DOCDIR=/usr/doc/$PRGNAM-$VERSION