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 / zmqpp / 0001-add-cstdlib-header-to-ensure-EXIT_FAILURE-presence.patch
diff --git a/cirros-testvm/src-cirros/buildroot-2015.05/package/zmqpp/0001-add-cstdlib-header-to-ensure-EXIT_FAILURE-presence.patch b/cirros-testvm/src-cirros/buildroot-2015.05/package/zmqpp/0001-add-cstdlib-header-to-ensure-EXIT_FAILURE-presence.patch
new file mode 100644 (file)
index 0000000..1458eca
--- /dev/null
@@ -0,0 +1,30 @@
+From 2c9271fa662b98e2a451b859f2506edf5f91c9bf Mon Sep 17 00:00:00 2001
+From: Lionel Orry <lionel.orry@gmail.com>
+Date: Fri, 15 May 2015 11:27:57 +0200
+Subject: [PATCH] add cstdlib header to ensure EXIT_FAILURE presence
+
+Using some cross-compiling toolchains, EXIT_FAILURE is not always
+properly defined without this inclusion.
+
+Add myself to AUTHORS.
+
+Signed-off-by: Lionel Orry <lionel.orry@gmail.com>
+---
+ src/client/main.cpp | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/client/main.cpp b/src/client/main.cpp
+index 082c06b..760f01a 100644
+--- a/src/client/main.cpp
++++ b/src/client/main.cpp
+@@ -3,6 +3,7 @@
+  *      Author: @benjamg
+  */
++#include <cstdlib>
+ #include <array>
+ #include <iostream>
+ #include <tuple>
+-- 
+2.1.0
+