summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBernd Kuhls <bernd.kuhls@t-online.de>2015-12-13 16:16:02 +0100
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-12-13 22:37:52 +0100
commit637ca57aefdb93aef6e74eb08cf032ed0570a607 (patch)
treec15f3834ac8c3fbfc4fc8345a80e53766588e0ec
parent37af71170a377480d8c4a18b7806a32dce99a652 (diff)
downloadbuildroot-637ca57aefdb93aef6e74eb08cf032ed0570a607.tar.gz
buildroot-637ca57aefdb93aef6e74eb08cf032ed0570a607.zip
package/read-edid: Fix compiler check, c++ is not needed
Fixes http://autobuild.buildroot.net/results/8c1/8c11e463b68121fe0331acf9f8a42a1d3fef40c7// and others Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/read-edid/0002-Fix-compiler-check.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/package/read-edid/0002-Fix-compiler-check.patch b/package/read-edid/0002-Fix-compiler-check.patch
new file mode 100644
index 0000000000..6c5f58c0bd
--- /dev/null
+++ b/package/read-edid/0002-Fix-compiler-check.patch
@@ -0,0 +1,19 @@
+Fix compiler check
+
+By default CMake looks for c++ which the project does not need.
+
+Patch by Thomas:
+http://lists.busybox.net/pipermail/buildroot/2015-December/146865.html
+
+Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
+
+diff -uNr read-edid-3.0.2.org/CMakeLists.txt read-edid-3.0.2/CMakeLists.txt
+--- read-edid-3.0.2.org/CMakeLists.txt 2014-02-05 17:27:26.000000000 +0100
++++ read-edid-3.0.2/CMakeLists.txt 2015-12-13 16:08:43.000000000 +0100
+@@ -1,5 +1,5 @@
+ cmake_minimum_required (VERSION 2.6)
+-project (read-edid)
++project (read-edid C)
+
+ option(I2CBUILD "Build I2C get-edid implementation" ON)
+ option(CLASSICBUILD "Build VBE get-edid implementation" ON)
OpenPOWER on IntegriCloud