aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2020-07-22 14:19:30 +0200
committerRobby Workman <rworkman@slackbuilds.org>2021-04-17 23:09:19 -0500
commit7adede72eac8e6d99285997ebba219a1bc553ba7 (patch)
tree1e04fc5e8b640d45f9c5d8f02152df7b221fe428
parentda166833faaf7fae5a5bd794fb494fa365581686 (diff)
system/aterm: Fix building on current.
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 9e8240abca9b..833033ab0eff 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 \