aboutsummaryrefslogtreecommitdiff
path: root/network/ncp/ncp.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/ncp/ncp.SlackBuild')
-rw-r--r--network/ncp/ncp.SlackBuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/network/ncp/ncp.SlackBuild b/network/ncp/ncp.SlackBuild
index 4f18477fee..dc6ce8d238 100644
--- a/network/ncp/ncp.SlackBuild
+++ b/network/ncp/ncp.SlackBuild
@@ -6,6 +6,7 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20250514 bkw: BUILD=5, fix ncp command (npush and npoll were already OK).
# 20230706 bkw: BUILD=4, someone updated libowfat and broke my build.
# 20230103 bkw: BUILD=3, how did I miss broken symlinks?
# 20220207 bkw: BUILD=2, libowfat changed its dir structure.
@@ -14,7 +15,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=ncp
VERSION=${VERSION:-1.2.4}
-BUILD=${BUILD:-4}
+BUILD=${BUILD:-5}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -63,6 +64,9 @@ cd $PRGNAM-$VERSION
chown -R root:root .
chmod 644 *
+# Fix from upstream's CVS. The libowfat socket API changed slightly.
+patch -p1 < $CWD/fix-ncp-command.diff
+
# We want symlinks, not hardlinks.
sed -i 's,ln -f,ln -s,' GNUmakefile