Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] libiio: Add a patch from upstream to fix building without a C++ compiler
@ 2015-07-22  8:45 Paul Cercueil
  2015-07-22  9:01 ` Baruch Siach
  2015-07-22  9:05 ` Thomas Petazzoni
  0 siblings, 2 replies; 3+ messages in thread
From: Paul Cercueil @ 2015-07-22  8:45 UTC (permalink / raw)
  To: buildroot

This fixes a build issue reported by the autobuilder.

Signed-off-by: Paul Cercueil <paul.cercueil@analog.com>
---
 ...ake-fix-build-on-unix-systems-without-cpp.patch | 36 ++++++++++++++++++++++
 1 file changed, 36 insertions(+)
 create mode 100644 package/libiio/0002-cmake-fix-build-on-unix-systems-without-cpp.patch

diff --git a/package/libiio/0002-cmake-fix-build-on-unix-systems-without-cpp.patch b/package/libiio/0002-cmake-fix-build-on-unix-systems-without-cpp.patch
new file mode 100644
index 0000000..4839a39
--- /dev/null
+++ b/package/libiio/0002-cmake-fix-build-on-unix-systems-without-cpp.patch
@@ -0,0 +1,36 @@
+From 2e6fa357ffbe755bfecaecad4fc82e3307fe2831 Mon Sep 17 00:00:00 2001
+From: Paul Cercueil <paul.cercueil@analog.com>
+Date: Wed, 22 Jul 2015 10:25:01 +0200
+Subject: [PATCH] CMake: Fix build on UNIX systems without a C++ compiler
+
+Signed-off-by: Paul Cercueil <paul.cercueil@analog.com>
+---
+ bindings/csharp/CMakeLists.txt | 2 +-
+ bindings/python/CMakeLists.txt | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/bindings/csharp/CMakeLists.txt b/bindings/csharp/CMakeLists.txt
+index 8aafb8f..fceab88 100644
+--- a/bindings/csharp/CMakeLists.txt
++++ b/bindings/csharp/CMakeLists.txt
+@@ -1,5 +1,5 @@
+ cmake_minimum_required(VERSION 2.8.7)
+-project(libiio-sharp)
++project(libiio-sharp LANGUAGES NONE)
+ 
+ find_program(MCS_EXECUTABLE
+ 	NAMES mcs csc
+diff --git a/bindings/python/CMakeLists.txt b/bindings/python/CMakeLists.txt
+index 22ffdb4..76ceae8 100644
+--- a/bindings/python/CMakeLists.txt
++++ b/bindings/python/CMakeLists.txt
+@@ -1,5 +1,5 @@
+ cmake_minimum_required(VERSION 2.8.7)
+-project(libiio-py)
++project(libiio-py LANGUAGES NONE)
+ 
+ include(FindPythonInterp)
+ 
+-- 
+2.1.4
+
-- 
2.1.4

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [Buildroot] [PATCH] libiio: Add a patch from upstream to fix building without a C++ compiler
  2015-07-22  8:45 [Buildroot] [PATCH] libiio: Add a patch from upstream to fix building without a C++ compiler Paul Cercueil
@ 2015-07-22  9:01 ` Baruch Siach
  2015-07-22  9:05 ` Thomas Petazzoni
  1 sibling, 0 replies; 3+ messages in thread
From: Baruch Siach @ 2015-07-22  9:01 UTC (permalink / raw)
  To: buildroot

Hi Paul,

On Wed, Jul 22, 2015 at 10:45:05AM +0200, Paul Cercueil wrote:
> This fixes a build issue reported by the autobuilder.

Please add a link to the autobuild failure.

> Signed-off-by: Paul Cercueil <paul.cercueil@analog.com>
> ---
>  ...ake-fix-build-on-unix-systems-without-cpp.patch | 36 ++++++++++++++++++++++
>  1 file changed, 36 insertions(+)
>  create mode 100644 package/libiio/0002-cmake-fix-build-on-unix-systems-without-cpp.patch
> 
> diff --git a/package/libiio/0002-cmake-fix-build-on-unix-systems-without-cpp.patch b/package/libiio/0002-cmake-fix-build-on-unix-systems-without-cpp.patch
> new file mode 100644
> index 0000000..4839a39
> --- /dev/null
> +++ b/package/libiio/0002-cmake-fix-build-on-unix-systems-without-cpp.patch
> @@ -0,0 +1,36 @@
> +From 2e6fa357ffbe755bfecaecad4fc82e3307fe2831 Mon Sep 17 00:00:00 2001
> +From: Paul Cercueil <paul.cercueil@analog.com>
> +Date: Wed, 22 Jul 2015 10:25:01 +0200
> +Subject: [PATCH] CMake: Fix build on UNIX systems without a C++ compiler
> +

Please add a note on the upstream status of this patch.

> +Signed-off-by: Paul Cercueil <paul.cercueil@analog.com>
> +---
> + bindings/csharp/CMakeLists.txt | 2 +-
> + bindings/python/CMakeLists.txt | 2 +-
> + 2 files changed, 2 insertions(+), 2 deletions(-)
> +
> +diff --git a/bindings/csharp/CMakeLists.txt b/bindings/csharp/CMakeLists.txt
> +index 8aafb8f..fceab88 100644
> +--- a/bindings/csharp/CMakeLists.txt
> ++++ b/bindings/csharp/CMakeLists.txt
> +@@ -1,5 +1,5 @@
> + cmake_minimum_required(VERSION 2.8.7)
> +-project(libiio-sharp)
> ++project(libiio-sharp LANGUAGES NONE)
> + 
> + find_program(MCS_EXECUTABLE
> + 	NAMES mcs csc
> +diff --git a/bindings/python/CMakeLists.txt b/bindings/python/CMakeLists.txt
> +index 22ffdb4..76ceae8 100644
> +--- a/bindings/python/CMakeLists.txt
> ++++ b/bindings/python/CMakeLists.txt
> +@@ -1,5 +1,5 @@
> + cmake_minimum_required(VERSION 2.8.7)
> +-project(libiio-py)
> ++project(libiio-py LANGUAGES NONE)
> + 
> + include(FindPythonInterp)

baruch

-- 
     http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] [PATCH] libiio: Add a patch from upstream to fix building without a C++ compiler
  2015-07-22  8:45 [Buildroot] [PATCH] libiio: Add a patch from upstream to fix building without a C++ compiler Paul Cercueil
  2015-07-22  9:01 ` Baruch Siach
@ 2015-07-22  9:05 ` Thomas Petazzoni
  1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni @ 2015-07-22  9:05 UTC (permalink / raw)
  To: buildroot

Paul,

On Wed, 22 Jul 2015 10:45:05 +0200, Paul Cercueil wrote:
> This fixes a build issue reported by the autobuilder.
> 
> Signed-off-by: Paul Cercueil <paul.cercueil@analog.com>

I've added the autobuilder build failure reference as suggested by
Baruch and applied. Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-07-22  9:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-22  8:45 [Buildroot] [PATCH] libiio: Add a patch from upstream to fix building without a C++ compiler Paul Cercueil
2015-07-22  9:01 ` Baruch Siach
2015-07-22  9:05 ` Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox