From 13c9b1eb87d937e079ce6453fc07cba19631f17c Mon Sep 17 00:00:00 2001 From: Benjamin Trigona-Harany Date: Tue, 20 Apr 2021 07:28:35 +0200 Subject: multimedia/xawtv: Fix build on Slackware 15. Signed-off-by: Benjamin Trigona-Harany --- multimedia/xawtv/xawtv.SlackBuild | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'multimedia/xawtv') 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 +# Copyright 2017-2021 Benjamin Trigona-Harany # 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 \ -- cgit v1.2.3