The cirros image was rebuilt against the 3.13.0-83 kernel, drivers e1000e, igbvf...
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / perl / 0002-dynaloader-hints.patch
diff --git a/cirros-testvm/src-cirros/buildroot-2015.05/package/perl/0002-dynaloader-hints.patch b/cirros-testvm/src-cirros/buildroot-2015.05/package/perl/0002-dynaloader-hints.patch
new file mode 100644 (file)
index 0000000..2653b78
--- /dev/null
@@ -0,0 +1,13 @@
+Buildroot puts nlist.h into sysroot/usr/include,
+which is in the default include path.
+
+Signed-off-by: Alex Suykov <alex.suykov@gmail.com>
+
+--- a/ext/DynaLoader/hints/linux.pl
++++ b/ext/DynaLoader/hints/linux.pl
+@@ -1,5 +1 @@
+-# XXX Configure test needed.
+-# Some Linux releases like to hide their <nlist.h>
+-$self->{CCFLAGS} = $Config{ccflags} . ' -I/usr/include/libelf'
+-      if -f "/usr/include/libelf/nlist.h";
+ 1;