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 / proftpd / 0001-fix-kernel-header-capability-version.patch
diff --git a/cirros-testvm/src-cirros/buildroot-2015.05/package/proftpd/0001-fix-kernel-header-capability-version.patch b/cirros-testvm/src-cirros/buildroot-2015.05/package/proftpd/0001-fix-kernel-header-capability-version.patch
new file mode 100644 (file)
index 0000000..4401c9a
--- /dev/null
@@ -0,0 +1,12 @@
+--- a/lib/libcap/libcap.h      2008-08-22 19:49:48.000000000 -0700
++++ b/lib/libcap/libcap.h      2010-10-06 15:31:11.000000000 -0700
+@@ -65,7 +65,8 @@ struct _cap_struct {
+  */
+ #if !defined(_LINUX_CAPABILITY_VERSION_1) || \
+-            (_LINUX_CAPABILITY_VERSION_1 != 0x19980330)
++            ((_LINUX_CAPABILITY_VERSION_1 != 0x19980330) && \
++            (_LINUX_CAPABILITY_VERSION_1 != 0x20071026))
+ # error "Kernel <linux/capability.h> does not match library"
+ # error "file "libcap.h" --> fix and recompile libcap"