aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Fabrice Fontaine <fontaine.fabrice@gmail.com>2018-11-17 14:00:54 +0100
committerGravatar Peter Korsgaard <peter@korsgaard.com>2018-11-26 12:47:44 +0100
commit353477440b06b052c6c93f569e287ae5530cfe7b (patch)
tree5558748bf10a1d3be3109ff005085241ac87018a
parenta57968c88082252d2c3915d9e9c2f9351b5b5ba5 (diff)
downloadbuildroot-353477440b06b052c6c93f569e287ae5530cfe7b.tar.gz
buildroot-353477440b06b052c6c93f569e287ae5530cfe7b.tar.bz2
easydbus: fix build without C++
Specify that easydbus is a C project file otherwise build will fail if no C++ compiler is found by cmake Fixes: - http://autobuild.buildroot.org/results/486c3cd98124e7415dee2fd1463bd5e0fcc9ba91 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com> (cherry picked from commit e8fc4364a40a518fa21fe5c830675c7f30ede8ff) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r--package/easydbus/0001-easydbus-is-a-C-project-file.patch33
1 files changed, 33 insertions, 0 deletions
diff --git a/package/easydbus/0001-easydbus-is-a-C-project-file.patch b/package/easydbus/0001-easydbus-is-a-C-project-file.patch
new file mode 100644
index 0000000000..1c149c582c
--- /dev/null
+++ b/package/easydbus/0001-easydbus-is-a-C-project-file.patch
@@ -0,0 +1,33 @@
+From a4bd47f593fbe55bd3ab17532e64be74aff5b29d Mon Sep 17 00:00:00 2001
+From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
+Date: Sat, 17 Nov 2018 11:38:05 +0100
+Subject: [PATCH] easydbus is a C project file
+
+Specify that easydbus is a C project file otherwise build will fail if
+no C++ compiler is found by cmake
+
+Fixes:
+ - http://autobuild.buildroot.org/results/486c3cd98124e7415dee2fd1463bd5e0fcc9ba91
+
+Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
+[Upstream status: https://github.com/mniestroj/easydbus/pull/2]
+---
+ CMakeLists.txt | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 58ccb2d..575eb24 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -5,7 +5,7 @@
+ #
+
+ cmake_minimum_required(VERSION 2.6)
+-project(easydbus)
++project(easydbus C)
+
+ add_definitions("-Wall -Wextra -Wno-unused-parameter")
+ set(CMAKE_C_FLAGS_RELEASE "-O2")
+--
+2.17.1
+