diff options
Diffstat (limited to 'audio/eawpats/eawpats.SlackBuild')
-rw-r--r-- | audio/eawpats/eawpats.SlackBuild | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/audio/eawpats/eawpats.SlackBuild b/audio/eawpats/eawpats.SlackBuild index 83d7c5f14c7b4..d109f72ed968a 100644 --- a/audio/eawpats/eawpats.SlackBuild +++ b/audio/eawpats/eawpats.SlackBuild @@ -11,11 +11,20 @@ # This is the original author's site, but it's more polite to download # from the gentoo mirror (see .info file) +# 20140511 bkw: one patch was missing due to tar being silly. +# When extracting (with tar, which is really tar-1.26 on slack 14.1): +# tar: eawpats/charang.pat: implausibly old time stamp 1969-12-31 18:59:59 +# The file gets extracted fine, it's just a warning. But the old tar-1.13 +# used by makepkg just ignores the file, so it doesn't end up +# in the package! The fix is just to touch it after extraction. +# I only ever noticed this because allegro's pat2dat chokes on +# missing patches. + PRGNAM=eawpats VERSION=${VERSION:-12} SRCVER=${VERSION}_full ARCH=noarch -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} CWD=$(pwd) @@ -38,6 +47,9 @@ 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 {} \; +# see above +touch charang.pat + # Un-DOSify text files find . -type f -print0 | xargs -0 file | grep 'text.*CRLF' | \ cut -d: -f1 | xargs perl -i -pe 's/\r//g' |