diff options
Diffstat (limited to 'community/ruby-gtk2/mkmf-gnome2.patch')
-rw-r--r-- | community/ruby-gtk2/mkmf-gnome2.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/community/ruby-gtk2/mkmf-gnome2.patch b/community/ruby-gtk2/mkmf-gnome2.patch new file mode 100644 index 000000000..a03ab9e4c --- /dev/null +++ b/community/ruby-gtk2/mkmf-gnome2.patch @@ -0,0 +1,19 @@ +*** mkmf-gnome2.rb.orig 2011-02-21 12:41:16.563334382 -0600 +--- mkmf-gnome2.rb 2011-02-21 12:41:37.610001048 -0600 +*************** +*** 364,370 **** + rescue LoadError + end + end +! return false if rcairo_source_dir.nil? + + if /mingw|cygwin|mswin32/ =~ RUBY_PLATFORM + options = {} +--- 364,370 ---- + rescue LoadError + end + end +! return false if rcairo_source_dir.nil? && !(PKGConfig.have_package('cairo') && have_header('rb_cairo.h')) + + if /mingw|cygwin|mswin32/ =~ RUBY_PLATFORM + options = {} |