Skip to contentSkip to conversation

package/freerdp: needs C++

PATCH New Yann E. MORIN 2 participants 2 messages Oct 4, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/freerdp: needs C++

FreeRDP does not have a single C++ source file, however it insists on having a C++ compiler. Removing that requirement is a bit too much involving, so we just depend on it...

Fixes:

    http://autobuild.buildroot.org/results/e5b/e5bee760d52e5ee433dcb6c8a7296f99312cfcf4/
---
 package/freerdp/Config.in | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)
package/freerdp/Config.in +6 -2
index b194515..cd61f41 100644
@@ -1,5 +1,9 @@
 config BR2_PACKAGE_FREERDP
 	bool "freerdp"
+	# FreeRDP doesn ot have a single C++ source file, however it
+	# insists on having a C++ compiler. Removing that requirement
+	# is a bit too much involving, so we just depend on it...
+	depends on BR2_INSTALL_LIBSTDCPP
 	depends on BR2_USE_WCHAR
 	depends on !BR2_STATIC_LIBS # uses dlfcn.h
 	depends on BR2_TOOLCHAIN_HAS_THREADS
@@ -79,6 +83,6 @@ config BR2_PACKAGE_FREERDP_CLIENT_WL
 
 endif
 
-comment "freerdp needs a toolchain w/ wchar, dynamic library, threads"
+comment "freerdp needs a toolchain w/ wchar, dynamic library, threads, C++"
 	depends on !BR2_USE_WCHAR || BR2_STATIC_LIBS \
-		|| !BR2_TOOLCHAIN_HAS_THREADS
+		|| !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP
Signature · 1 line
1.9.1
#1 lore raw

PATCH 1/1 package/freerdp: needs C++

Quoted 8 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Yann" == Yann E MORIN <[email protected]> writes:

FreeRDP does not have a single C++ source file, however it insists on having a C++ compiler. Removing that requirement is a bit too much involving, so we just depend on it...

Fixes:

    http://autobuild.buildroot.org/results/e5b/e5bee760d52e5ee433dcb6c8a7296f99312cfcf4/

Ok, could you contact upstream and inform them about the issue?

package/freerdp/Config.in line 3

Quoted 13 lines
---
 package/freerdp/Config.in | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)
package/freerdp/Config.in +1 -0
index b194515..cd61f41 100644
@@ -1,5 +1,9 @@
 config BR2_PACKAGE_FREERDP
 	bool "freerdp"
+	# FreeRDP doesn ot have a single C++ source file, however it

s/doesn ot/does not/

Committed with that fixed, thanks.

Signature · 1 line
Bye, Peter Korsgaard