summaryrefslogtreecommitdiff
path: root/multimedia/xawtv/xawtv.SlackBuild
diff options
context:
space:
mode:
authorBenjamin Trigona-Harany <slackbuilds@jaxartes.net>2021-04-20 07:28:35 +0200
committerRobby Workman <rworkman@slackbuilds.org>2021-04-21 21:23:41 -0500
commit13c9b1eb87d937e079ce6453fc07cba19631f17c (patch)
tree94f4af01e34a7e0b8baa9e55cb0bfb78df8cf38c /multimedia/xawtv/xawtv.SlackBuild
parent113f9415ec405404f55f87d79c75aabc55283536 (diff)
downloadslackbuilds-13c9b1eb87d937e079ce6453fc07cba19631f17c.tar.gz
multimedia/xawtv: Fix build on Slackware 15.
Signed-off-by: Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
Diffstat (limited to 'multimedia/xawtv/xawtv.SlackBuild')
-rw-r--r--multimedia/xawtv/xawtv.SlackBuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/multimedia/xawtv/xawtv.SlackBuild b/multimedia/xawtv/xawtv.SlackBuild
index 4157d83657..6d11116b70 100644
--- a/multimedia/xawtv/xawtv.SlackBuild
+++ b/multimedia/xawtv/xawtv.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for xawtv
-# Copyright 2017-2020 Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
+# Copyright 2017-2021 Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -69,6 +69,9 @@ 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_siglist\[signal\]/strsignal\(signal\)/" console/record.c
+sed -i "s/sys_siglist\[termsig\]/strsignal\(termsig\)/" console/fbtools.c x11/rootv.c
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \