summaryrefslogtreecommitdiffstats
path: root/network/syncterm/syncterm.SlackBuild
diff options
context:
space:
mode:
author B. Watson <urchlay@slackware.uk>2024-02-18 17:05:07 -0500
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2024-02-24 15:35:04 +0700
commitbe6e64e08ff2a900fbb5fd9ea3b3786fb3154c40 (patch)
treea7f894f21e84b6317a470de98436004d15707891 /network/syncterm/syncterm.SlackBuild
parent35b9e6ba6210bc726535a2bcc79a3eb7f715c876 (diff)
downloadslackbuilds-be6e64e08ff2a900fbb5fd9ea3b3786fb3154c40.tar.gz
slackbuilds-be6e64e08ff2a900fbb5fd9ea3b3786fb3154c40.tar.xz
network/syncterm: Fix build on -current.
Signed-off-by: B. Watson <urchlay@slackware.uk> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to '')
-rw-r--r--network/syncterm/syncterm.SlackBuild11
1 files changed, 10 insertions, 1 deletions
diff --git a/network/syncterm/syncterm.SlackBuild b/network/syncterm/syncterm.SlackBuild
index 39921705c4..4f746b2568 100644
--- a/network/syncterm/syncterm.SlackBuild
+++ b/network/syncterm/syncterm.SlackBuild
@@ -20,11 +20,14 @@
# Note: phigan on #atari tells me they're "almost ready" to release 1.2,
# so this may get updated soon.
+# 20240218 bkw: BUILD=2
+# - add compile fix for -current.
+
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=syncterm
VERSION=${VERSION:-1.1}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -73,6 +76,12 @@ find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} + -o \
# system-wide dialing list.
patch -p1 < $CWD/manpage.diff
+# 20240218 bkw: fix compilation on -current (or so I am assured). Doesn't
+# hurt anything on 15.0. Patch originally from:
+# https://raw.github.com/nullman/config/master/common/.nixos/pkgs/syncterm/0002-use-sched-yield-53264f2b.diff
+# ...brought to my attention by Joshua E. Roybal via email.
+patch -p1 < $CWD/0002-use-sched-yield-53264f2b.diff
+
# This is a big hassle: -O3 is hardcoded in a makefile... which is
# inside a zip file. To force our flags, we have to extract the zip
# file, mod the makefile, then re-zip it. Using -0 with zip means