diff options
author | B. Watson <urchlay@slackware.uk> | 2024-04-16 13:18:32 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2024-04-20 21:14:39 +0700 |
commit | 8c905ecc13f26c72b70cbe60034ff69409989a54 (patch) | |
tree | 1d41038e687931848856bada0d276a28feba4401 /system | |
parent | 889eb5e066378513a00d06aaba83e6e1b02fc042 (diff) |
system/vlock: Fix build with updated libcaca.
Signed-off-by: B. Watson <urchlay@slackware.uk>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system')
-rw-r--r-- | system/vlock/vlock.SlackBuild | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/system/vlock/vlock.SlackBuild b/system/vlock/vlock.SlackBuild index 24c1732b85d5d..95ff35feed50c 100644 --- a/system/vlock/vlock.SlackBuild +++ b/system/vlock/vlock.SlackBuild @@ -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. |