ruby/ruby-1.9.3-fix-s390x-build.patch

26 lines
598 B
Diff
Raw Normal View History

2013-02-08 23:54:37 +00:00
From d006c4d04aecbe80469a26a6114b776e9de4e3c8 Mon Sep 17 00:00:00 2001
2012-11-19 13:38:30 +00:00
From: =?UTF-8?q?V=C3=ADt=20Ondruch?= <vondruch@redhat.com>
Date: Mon, 19 Nov 2012 14:39:19 +0100
Subject: [PATCH] Fix s390x build.
---
ext/tk/extconf.rb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ext/tk/extconf.rb b/ext/tk/extconf.rb
2013-02-08 23:54:37 +00:00
index 8f3bff8..69e90a1 100644
2012-11-19 13:38:30 +00:00
--- a/ext/tk/extconf.rb
+++ b/ext/tk/extconf.rb
2012-01-18 14:54:01 +00:00
@@ -114,7 +114,7 @@ def is_macosx?
end
def maybe_64bit?
- /64|universal/ =~ RUBY_PLATFORM
+ /64|universal|s390x/ =~ RUBY_PLATFORM
end
def check_tcltk_version(version)
2012-11-19 13:38:30 +00:00
--
2013-02-08 23:54:37 +00:00
1.8.1
2012-11-19 13:38:30 +00:00