diff options
author | mezz <mezz@FreeBSD.org> | 2006-07-11 04:43:54 +0800 |
---|---|---|
committer | mezz <mezz@FreeBSD.org> | 2006-07-11 04:43:54 +0800 |
commit | 329027d05a08b0fea2a52ce107445ac1a47b019a (patch) | |
tree | 5973ba1e533dfe45caacb634414710bdac4cdd8f | |
parent | 936a45c40d0a15529f182c23657ce08b8ceb7566 (diff) | |
download | freebsd-ports-gnome-329027d05a08b0fea2a52ce107445ac1a47b019a.tar.gz freebsd-ports-gnome-329027d05a08b0fea2a52ce107445ac1a47b019a.tar.zst freebsd-ports-gnome-329027d05a08b0fea2a52ce107445ac1a47b019a.zip |
Fix the build with ruby-gtk2/ruby-gnome2 0.15.0.
Reported by: linimon
Submitted by: Kouhei Sutou (ruby-gnome2 developer)
-rw-r--r-- | x11/ruby-gtktrayicon/files/patch-extconf.rb | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/x11/ruby-gtktrayicon/files/patch-extconf.rb b/x11/ruby-gtktrayicon/files/patch-extconf.rb new file mode 100644 index 000000000000..818d5c4320fe --- /dev/null +++ b/x11/ruby-gtktrayicon/files/patch-extconf.rb @@ -0,0 +1,16 @@ +--- extconf.rb.orig 2004-06-03 02:00:39.000000000 +0900 ++++ extconf.rb 2006-07-10 15:53:56.000000000 +0900 +@@ -2,12 +2,7 @@ + require 'mkmf-gnome2' + + PKGConfig.have_package('gtk+-2.0') or exit 1 +-begin +- require 'gtk2' +-rescue => e +- $stderr.puts "Ruby/GTK couldn't be initialized ('#{e}')" +- exit 1 +-end ++have_header("rbgtk.h") or exit 1 + [ 'libintl.h', 'X11/Xatom.h', 'gdk/gdkx.h' ].each do |header| + have_header(header) or exit 1 + end |