From 19f7624a2c060ef061a26ae24250304c12f1d2c3 Mon Sep 17 00:00:00 2001 From: Thomas Zander Date: Sat, 9 Apr 2022 23:49:06 +0200 Subject: multimedia/mkvtoolnix: Update to upstream release 66.0.0 Details: - Bugfixes and enhancements, see https://mkvtoolnix.download/doc/NEWS.md MFH: 2022Q2 --- .../mkvtoolnix/files/patch-rake.d_extensions.rb | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 multimedia/mkvtoolnix/files/patch-rake.d_extensions.rb (limited to 'multimedia/mkvtoolnix/files/patch-rake.d_extensions.rb') diff --git a/multimedia/mkvtoolnix/files/patch-rake.d_extensions.rb b/multimedia/mkvtoolnix/files/patch-rake.d_extensions.rb new file mode 100644 index 000000000000..ed8b289f3481 --- /dev/null +++ b/multimedia/mkvtoolnix/files/patch-rake.d_extensions.rb @@ -0,0 +1,23 @@ +--- rake.d/extensions.rb.orig 2022-03-13 12:54:56 UTC ++++ rake.d/extensions.rb +@@ -62,14 +62,14 @@ class Array + :windows => %w{linux macos unix x11}, + } + +- reject.each do |os, types| +- next if !$building_for[os] ++ # Treat other OS (e.g. FreeBSD) the same as Linux wrt. which files to compile ++ os = $building_for.keys.select { |key| $building_for[key] }.first ++ types = reject[os || :linux] + +- re = '(?:' + types.join('|') + ')' +- re = %r{(?:/|^)#{re}[_.]} ++ re = '(?:' + types.join('|') + ')' ++ re = %r{(?:/|^)#{re}[_.]} + +- self.reject! { |f| re.match f } +- end ++ self.reject! { |f| re.match f } + + return self + end -- cgit v1.2.3