* [Buildroot] [PATCH 1/1] package/libvncserver: fix build without C++
@ 2019-06-23 8:25 Fabrice Fontaine
2019-06-23 10:55 ` Thomas Petazzoni
0 siblings, 1 reply; 2+ messages in thread
From: Fabrice Fontaine @ 2019-06-23 8:25 UTC (permalink / raw)
To: buildroot
Fixes:
- http://autobuild.buildroot.org/results/16aaa4e86a2dbf1acf95f10d5131b0f7b8a3d61a
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
...1-CMakeLists.txt-fix-build-without-C.patch | 33 +++++++++++++++++++
1 file changed, 33 insertions(+)
create mode 100644 package/libvncserver/0001-CMakeLists.txt-fix-build-without-C.patch
diff --git a/package/libvncserver/0001-CMakeLists.txt-fix-build-without-C.patch b/package/libvncserver/0001-CMakeLists.txt-fix-build-without-C.patch
new file mode 100644
index 0000000000..591c97fd6a
--- /dev/null
+++ b/package/libvncserver/0001-CMakeLists.txt-fix-build-without-C.patch
@@ -0,0 +1,33 @@
+From 868f0a9fa60bb45ee6cf762f323c5b3964b2ee69 Mon Sep 17 00:00:00 2001
+From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
+Date: Sun, 23 Jun 2019 10:18:59 +0200
+Subject: [PATCH] CMakeLists.txt: fix build without C++
+
+Specify that libvncserver is a C project file otherwise build will fail
+if no C++ compiler is found by cmake
+
+Fixes:
+ - http://autobuild.buildroot.org/results/16aaa4e86a2dbf1acf95f10d5131b0f7b8a3d61a
+
+Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
+[Upstream status: https://github.com/LibVNC/libvncserver/pull/317]
+---
+ CMakeLists.txt | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 0d3b4dc..ad609ae 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -1,7 +1,7 @@
+ cmake_minimum_required(VERSION 3.4)
+ cmake_policy(SET CMP0037 NEW)
+
+-project(LibVNCServer)
++project(LibVNCServer C)
+ include(CheckFunctionExists)
+ include(CheckSymbolExists)
+ include(CheckIncludeFile)
+--
+2.20.1
+
--
2.20.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Buildroot] [PATCH 1/1] package/libvncserver: fix build without C++
2019-06-23 8:25 [Buildroot] [PATCH 1/1] package/libvncserver: fix build without C++ Fabrice Fontaine
@ 2019-06-23 10:55 ` Thomas Petazzoni
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2019-06-23 10:55 UTC (permalink / raw)
To: buildroot
On Sun, 23 Jun 2019 10:25:51 +0200
Fabrice Fontaine <fontaine.fabrice@gmail.com> wrote:
> Fixes:
> - http://autobuild.buildroot.org/results/16aaa4e86a2dbf1acf95f10d5131b0f7b8a3d61a
>
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> ---
> ...1-CMakeLists.txt-fix-build-without-C.patch | 33 +++++++++++++++++++
> 1 file changed, 33 insertions(+)
> create mode 100644 package/libvncserver/0001-CMakeLists.txt-fix-build-without-C.patch
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-06-23 10:55 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-06-23 8:25 [Buildroot] [PATCH 1/1] package/libvncserver: fix build without C++ Fabrice Fontaine
2019-06-23 10:55 ` Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox