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

26 lines
598 B
Diff
Raw Normal View History

2012-11-19 13:38:30 +00:00
From d710179fcc088a201339a28fa6a5779da8e6ab62 Mon Sep 17 00:00:00 2001
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
index 72dd6cf..5c6081e 100644
--- 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
--
1.8.0