From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 3B8A11382C5 for ; Fri, 26 Jun 2020 09:29:48 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 54CD1E08D6; Fri, 26 Jun 2020 09:29:46 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id DB1D6E08D6 for ; Fri, 26 Jun 2020 09:29:45 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5DBF934F19E for ; Fri, 26 Jun 2020 09:29:44 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 332952A4 for ; Fri, 26 Jun 2020 09:29:40 +0000 (UTC) From: "Hans de Graaff" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Hans de Graaff" Message-ID: <1593163771.39332659b3b8bf082b527dc67d32a1faf1753bb9.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/rubyzip/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/rubyzip/rubyzip-1.3.0.ebuild dev-ruby/rubyzip/rubyzip-2.3.0.ebuild X-VCS-Directories: dev-ruby/rubyzip/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 39332659b3b8bf082b527dc67d32a1faf1753bb9 X-VCS-Branch: master Date: Fri, 26 Jun 2020 09:29:40 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 0d960b75-9b95-4c44-aa64-a72af792c394 X-Archives-Hash: 27e05f3581e5abad09166c358c12879d commit: 39332659b3b8bf082b527dc67d32a1faf1753bb9 Author: Hans de Graaff gentoo org> AuthorDate: Fri Jun 26 09:29:23 2020 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Fri Jun 26 09:29:31 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=39332659 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 gentoo.org> dev-ruby/rubyzip/rubyzip-1.3.0.ebuild | 3 +++ dev-ruby/rubyzip/rubyzip-2.3.0.ebuild | 3 +++ 2 files changed, 6 insertions(+) diff --git a/dev-ruby/rubyzip/rubyzip-1.3.0.ebuild b/dev-ruby/rubyzip/rubyzip-1.3.0.ebuild index cc2a60650cc..5193e0b8746 100644 --- a/dev-ruby/rubyzip/rubyzip-1.3.0.ebuild +++ b/dev-ruby/rubyzip/rubyzip-1.3.0.ebuild @@ -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 } diff --git a/dev-ruby/rubyzip/rubyzip-2.3.0.ebuild b/dev-ruby/rubyzip/rubyzip-2.3.0.ebuild index 16bec97ba96..f7274c64078 100644 --- a/dev-ruby/rubyzip/rubyzip-2.3.0.ebuild +++ b/dev-ruby/rubyzip/rubyzip-2.3.0.ebuild @@ -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 }