From 1061ca45a048e4418aa177914788405068bb20bc Mon Sep 17 00:00:00 2001 From: David Spencer Date: Thu, 23 Jul 2015 12:23:30 +0100 Subject: multimedia/flvtool2: Fixed to build with ruby-1.9. Signed-off-by: David Spencer --- multimedia/flvtool2/flvtool2.SlackBuild | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/multimedia/flvtool2/flvtool2.SlackBuild b/multimedia/flvtool2/flvtool2.SlackBuild index 1f20b403e7..b93d43fe88 100644 --- a/multimedia/flvtool2/flvtool2.SlackBuild +++ b/multimedia/flvtool2/flvtool2.SlackBuild @@ -72,6 +72,11 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; +# Fix build with ruby-1.9 (it dislikes the Mac detritus in the tarball) +find . -name '._*' -delete +# Fix (harmless) deprecation warning +sed -i -e 's/::Config::CONFIG/::RbConfig::CONFIG/' setup.rb + ruby setup.rb config ruby setup.rb setup ruby setup.rb install --prefix=$PKG -- cgit v1.2.3