summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Matteo Bernardini2020-07-22 14:19:30 +0200
committer Matteo Bernardini2021-03-06 09:21:19 +0100
commitd66a267fa2aa94b07e59ab0827619442e0ec673f (patch)
tree4db30ccb19d77390100993d48b34e44aa1c5d0e4
parent3c59cb22425adf5d8a0d1a79baf00e6d9334c620 (diff)
downloadslackbuilds-aterm.tar.gz
system/aterm: Fix building on current.aterm
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
-rw-r--r--system/aterm/aterm.SlackBuild2
1 files changed, 2 insertions, 0 deletions
diff --git a/system/aterm/aterm.SlackBuild b/system/aterm/aterm.SlackBuild
index 9e8240abca..833033ab0e 100644
--- a/system/aterm/aterm.SlackBuild
+++ b/system/aterm/aterm.SlackBuild
@@ -69,6 +69,8 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+sed -i 's%<sys/stropts.h>%<sys/ioctl.h>%;s%I_PUSH,%TIOCPKT,%' src/command.c
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \