mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-22 19:44:21 +01:00
system/vlock: Fix build with updated libcaca.
Signed-off-by: B. Watson <urchlay@slackware.uk> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
889eb5e066
commit
8c905ecc13
1 changed files with 6 additions and 4 deletions
|
@ -27,6 +27,8 @@
|
|||
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
|
||||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
# 20240416 bkw: BUILD=4, fix build with latest libcaca from 15.0's patches/.
|
||||
|
||||
# 20170716 bkw: switch to github homepage/download.
|
||||
|
||||
# 20170621 bkw: fix build on -current.
|
||||
|
@ -42,7 +44,7 @@ cd $(dirname $0) ; CWD=$(pwd)
|
|||
|
||||
PRGNAM=vlock
|
||||
VERSION=${VERSION:-2.2.3}
|
||||
BUILD=${BUILD:-3}
|
||||
BUILD=${BUILD:-4}
|
||||
TAG=${TAG:-_SBo}
|
||||
PKGTYPE=${PKGTYPE:-tgz}
|
||||
|
||||
|
@ -91,9 +93,9 @@ chown -R root:root .
|
|||
find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
|
||||
\! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
|
||||
|
||||
# recent libcaca in -current no longer has the compatibility symlink
|
||||
# cucul.h => caca.h, so:
|
||||
sed -i 's,<cucul.h>,<caca.h>,' modules/caca.c
|
||||
# 20240416 bkw: Sometime after Slackware 15.0 was released, a patched
|
||||
# libcaca broke this.
|
||||
sed -i -e 's,cucul,caca,g' -e 's,CUCUL,CACA,g' modules/caca.c
|
||||
|
||||
# patch by B. Watson, fixes the shell script wrapper so it loads
|
||||
# the caca plugin when the -t/--timeout option is passed.
|
||||
|
|
Loading…
Reference in a new issue