system/vlock: Fix build for -current.

Signed-off-by: B. Watson <yalhcru@gmail.com>
This commit is contained in:
B. Watson 2017-06-21 01:25:49 -04:00 committed by Willy Sudiarto Raharjo
parent 1184ee1cf2
commit 843f252815

View file

@ -27,6 +27,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# 20170621 bkw: fix build on -current.
# 20170309 bkw: # 20170309 bkw:
# - take over maintenance # - take over maintenance
# - i486 => i586 # - i486 => i586
@ -83,6 +85,10 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -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 # patch by B. Watson, fixes the shell script wrapper so it loads
# the caca plugin when the -t/--timeout option is passed. # the caca plugin when the -t/--timeout option is passed.
patch -p1 < $CWD/fix_caca.diff patch -p1 < $CWD/fix_caca.diff