# HG changeset patch # User Geoffrey Gardella # Date 1462234840 25200 # Node ID cfee16e6e6847a2044d3c1fe55ff2347b13a0243 # Parent 8693308c6031b8e05fda3e2d0909d8a2e4e61a83 23170303 augeas upgrade breaks ruby/augeas build diff -r 8693308c6031 -r cfee16e6e684 components/ruby/augeas/patches/augeas-01-extconf.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/components/ruby/augeas/patches/augeas-01-extconf.patch Mon May 02 17:20:40 2016 -0700 @@ -0,0 +1,23 @@ +Fix the environment so Ruby-Augeas finds the Augeas package information. +This has not been pushed upstream as it is Solaris-specific. + +--- ruby-augeas-0.5.0/ext/augeas/extconf.rb.orig 2016-04-29 14:31:16.171732595 -0600 ++++ ruby-augeas-0.5.0/ext/augeas/extconf.rb 2016-04-29 14:31:39.159244851 -0600 +@@ -23,12 +23,13 @@ + + extension_name = '_augeas' + +-unless pkg_config("augeas") +- raise "augeas-devel not installed" ++$CFLAGS += " -I/usr/include/libxml2" ++unless have_library("augeas") ++ raise "libaugeas not installed" + end + +-unless pkg_config("libxml-2.0") +- raise "libxml2-devel not installed" ++unless have_library("xml2") ++ raise "libxml2 not installed" + end + + create_makefile(extension_name)