Skip to contentSkip to conversation

package/proj: needs wchar

PATCH New Bernd Kuhls 2 participants 2 messages Oct 14, 2019 – Oct 16, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/proj: needs wchar

Propagate dependency also to libgeotiff

Fixes:
http://autobuild.buildroot.net/results/f8e/f8e261dd64346caeff568a23621b3dd15ac3967c/

---
 package/libgeotiff/Config.in | 6 ++++--
 package/proj/Config.in       | 6 ++++--
 2 files changed, 8 insertions(+), 4 deletions(-)
package/libgeotiff/Config.in +4 -2
index 6ac8a51f7c..7ed296fb25 100644
@@ -3,6 +3,7 @@ config BR2_PACKAGE_LIBGEOTIFF
 	depends on BR2_INSTALL_LIBSTDCPP # proj
 	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 # proj
 	depends on BR2_TOOLCHAIN_HAS_THREADS # proj
+	depends on BR2_USE_WCHAR # proj
 	select BR2_PACKAGE_PROJ
 	select BR2_PACKAGE_TIFF
 	help
@@ -11,6 +12,7 @@ config BR2_PACKAGE_LIBGEOTIFF
 
 	  https://github.com/OSGeo/libgeotiff
 
-comment "libgeotiff needs a toolchain w/ C++, gcc >= 4.7, threads"
+comment "libgeotiff needs a toolchain w/ C++, gcc >= 4.7, threads, wchar"
 	depends on !BR2_INSTALL_LIBSTDCPP || \
-		!BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 || !BR2_TOOLCHAIN_HAS_THREADS
+		!BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 || \
+		!BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR
package/proj/Config.in +4 -2
index ced386f465..1952fc7d9a 100644
@@ -3,6 +3,7 @@ config BR2_PACKAGE_PROJ
 	depends on BR2_INSTALL_LIBSTDCPP
 	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 # C++11
 	depends on BR2_TOOLCHAIN_HAS_THREADS
+	depends on BR2_USE_WCHAR
 	select BR2_PACKAGE_SQLITE
 	help
 	  proj.4 is a standard UNIX filter function which converts
@@ -13,6 +14,7 @@ config BR2_PACKAGE_PROJ
 
 	  http://proj4.org/
 
-comment "proj needs a toolchain w/ C++, gcc >= 4.7, threads"
+comment "proj needs a toolchain w/ C++, gcc >= 4.7, threads, wchar"
 	depends on !BR2_INSTALL_LIBSTDCPP || \
-		!BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 || !BR2_TOOLCHAIN_HAS_THREADS
+		!BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 || \
+		!BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR
Signature · 1 line
2.20.1
#1 lore raw

PATCH 1/1 package/proj: needs wchar

Quoted 9 lines · On Mon, 14 Oct 2019 04:20:42 +0200 Bernd Kuhls <[email protected]> wrote:

Propagate dependency also to libgeotiff

Fixes:
http://autobuild.buildroot.net/results/f8e/f8e261dd64346caeff568a23621b3dd15ac3967c/

---
 package/libgeotiff/Config.in | 6 ++++--
 package/proj/Config.in       | 6 ++++--
 2 files changed, 8 insertions(+), 4 deletions(-)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com