mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-23 16:49:10 -07:00
dev-ruby/rubyzip: fix test on big-endian systems
Use the proper endian representation on all arches. Closes: https://bugs.gentoo.org/729632 Package-Manager: Portage-2.3.99, Repoman-2.3.23 Signed-off-by: Hans de Graaff <graaff@gentoo.org>
This commit is contained in:
@@ -46,4 +46,7 @@ all_ruby_prepare() {
|
||||
|
||||
# Add missing requires
|
||||
sed -i -e '1irequire "forwardable"; require "pathname"' test/input_stream_test.rb || die
|
||||
|
||||
# Fix broken test that uses native endian
|
||||
sed -i -e '/pack/ s/LLS/VVv/' test/file_extract_test.rb || die
|
||||
}
|
||||
|
||||
@@ -48,4 +48,7 @@ all_ruby_prepare() {
|
||||
|
||||
# Add missing requires
|
||||
sed -i -e '1irequire "forwardable"; require "pathname"' test/input_stream_test.rb || die
|
||||
|
||||
# Fix broken test that uses native endian
|
||||
sed -i -e '/pack/ s/LLS/VVv/' test/file_extract_test.rb || die
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user