Bug#711706: src:freealut: uses deprecated find -perm +0123
Adam Borowski
kilobyte at angband.pl
Sat Jun 8 19:49:53 UTC 2013
Package: src:freealut
Version: 1.1.0-3
Severity: normal
Tags: patch
Hi!
An incoming version of findutils drops the syntax of find -perm +0123,
which contradicts POSIX and thus has been deprecated since 2005. The
replacement is -perm /0123.
freealut uses it in three times in its build system, two of which look
like they should be built from source rather than to patch the output
of an automated tool. Inappropriateness of patching Makefile.in aside,
to fix the problem at hand, please run:
sed -i 's:-perm +\([0-9]\):-perm /\1:g' `find -type f`
-- System Information:
Debian Release: jessie/sid
APT prefers unstable
APT policy: (500, 'unstable'), (150, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.9.4-x32 (SMP w/6 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
More information about the Pkg-games-devel
mailing list