summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2017-06-21 01:25:49 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-06-24 08:32:49 +0700
commit843f252815f0c98f6cd25e5e238c2eac225b1de2 (patch)
tree83b5d5fdc09266f14dc5bd2e6e48b89d10456d3b
parent1184ee1cf2e4bba412e67bb841068f30d827b945 (diff)
downloadslackbuilds-843f252815f0c98f6cd25e5e238c2eac225b1de2.tar.gz
system/vlock: Fix build for -current.
Signed-off-by: B. Watson <yalhcru@gmail.com>
-rw-r--r--system/vlock/vlock.SlackBuild6
1 files changed, 6 insertions, 0 deletions
diff --git a/system/vlock/vlock.SlackBuild b/system/vlock/vlock.SlackBuild
index a109720151..20ed374a66 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.
+# 20170621 bkw: fix build on -current.
+
# 20170309 bkw:
# - take over maintenance
# - i486 => i586
@@ -83,6 +85,10 @@ 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 {} \;
+# 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
+
# patch by B. Watson, fixes the shell script wrapper so it loads
# the caca plugin when the -t/--timeout option is passed.
patch -p1 < $CWD/fix_caca.diff