$NetBSD: patch-ap,v 1.3 2009/05/31 09:00:48 obache Exp $ use gem version rcairo as fallback --- pango/src/lib/pango.rb.orig 2007-12-28 09:01:22.000000000 +0000 +++ pango/src/lib/pango.rb @@ -8,7 +8,12 @@ require 'glib2' begin + begin require 'cairo' + rescue LoadError + require 'rubygems' + require 'cairo' + end rescue LoadError end require 'pango.so'