Explicitly add gtk-2.0 include path. This should be fixed more
comprehensively in later versions of ruby-gtk2.
Closes: https://bugs.gentoo.org/616682
Package-Manager: Portage-2.3.40, Repoman-2.3.9
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
-USE_RUBY="ruby21 ruby22 ruby23 ruby24"
+USE_RUBY="ruby23 ruby24"
inherit virtualx ruby-ng-gnome2
# Use standard icon
sed -i -e 's/"find"/"call-start"/' test/test_gtk_icon_theme.rb || die
+
+ # Fix search path for gtk-2.0 on Gentoo
+ sed -i -e "/include_paths =/ s:]$:,'/usr/include/gtk-2.0']:" ext/gtk2/extconf.rb || die
}
each_ruby_test() {