summaryrefslogtreecommitdiff
path: root/external
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2016-06-24 09:28:12 +0200
committerDavid Tardon <dtardon@redhat.com>2016-06-24 09:28:12 +0200
commitf31de94b2dfbbb74a5f9767aef66b21aa56af2cf (patch)
treea4757c9d605d8dac89b2e03df32cb6f5820b3d80 /external
parentc0ec592ca65e844132be24b20a0c9daffe5f3a6d (diff)
fix android build
Change-Id: Iecc55d0e1efd74b9895aa8f71934efa887bb6984
Diffstat (limited to 'external')
-rw-r--r--external/libzmf/0001-add-missing-include.patch.126
-rw-r--r--external/libzmf/UnpackedTarball_libzmf.mk4
2 files changed, 30 insertions, 0 deletions
diff --git a/external/libzmf/0001-add-missing-include.patch.1 b/external/libzmf/0001-add-missing-include.patch.1
new file mode 100644
index 000000000000..db2a5c301ef5
--- /dev/null
+++ b/external/libzmf/0001-add-missing-include.patch.1
@@ -0,0 +1,26 @@
+From cec69125160906f147398c347860fee0e6aab8bf Mon Sep 17 00:00:00 2001
+From: David Tardon <dtardon@redhat.com>
+Date: Fri, 24 Jun 2016 09:26:21 +0200
+Subject: [PATCH] add missing include
+
+Change-Id: Ia21873123179902b2c3cad95b39db7d15c5b388a
+---
+ src/lib/ZMFCollector.cpp | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/src/lib/ZMFCollector.cpp b/src/lib/ZMFCollector.cpp
+index ded93c7..7e024b3 100644
+--- a/src/lib/ZMFCollector.cpp
++++ b/src/lib/ZMFCollector.cpp
+@@ -9,6 +9,8 @@
+
+ #include "ZMFCollector.h"
+
++#include <cmath>
++
+ #include <boost/math/constants/constants.hpp>
+ #include <boost/variant.hpp>
+
+--
+2.7.4
+
diff --git a/external/libzmf/UnpackedTarball_libzmf.mk b/external/libzmf/UnpackedTarball_libzmf.mk
index 324638479ebb..c917633c8a04 100644
--- a/external/libzmf/UnpackedTarball_libzmf.mk
+++ b/external/libzmf/UnpackedTarball_libzmf.mk
@@ -21,4 +21,8 @@ $(eval $(call gb_UnpackedTarball_add_patches,libzmf, \
endif
endif
+$(eval $(call gb_UnpackedTarball_add_patches,libzmf, \
+ external/libzmf/0001-add-missing-include.patch.1 \
+))
+
# vim: set noet sw=4 ts=4: