Skip to contentSkip to conversation

package/libpqxx: update dependencies

PATCH New James Knight 2 participants 2 messages Jan 17, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/libpqxx: update dependencies

As of v6.x, libpqxx takes advantage of thread support for transaction sleeps (adding BR2_TOOLCHAIN_HAS_THREADS).

Re-order dependencies for:
- Key feature (postgresql)
- Architectures dependencies
- Remaining dependencies

---
Fixes:
http://autobuild.buildroot.net/results/e1d6f62edfc5eae90953f0a93fdb30d713409c37/

---
 package/libpqxx/Config.in | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)
package/libpqxx/Config.in +7 -4
index 7832d2508ec6d4932d01d769e4d7642d01a45a0d..18f905b3780beeac9731e9ea24db971e3a4ddeb9 100644
@@ -1,14 +1,17 @@
 config BR2_PACKAGE_LIBPQXX
 	bool "libpqxx"
-	depends on BR2_INSTALL_LIBSTDCPP
-	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 # C++11
 	depends on BR2_PACKAGE_POSTGRESQL
+	depends on BR2_TOOLCHAIN_HAS_THREADS
+	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 # C++11
+	depends on BR2_INSTALL_LIBSTDCPP
 	help
 	  libpqxx is the official C++ client API for PostgreSQL, the
 	  enterprise-strength open-source relational database.
 
 	  http://pqxx.org/development/libpqxx/
 
-comment "libpqxx needs toolchain w/ C++ support, gcc >= 4.7"
-	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_7
+comment "libpqxx needs toolchain w/ C++, gcc >= 4.7, threads"
 	depends on BR2_PACKAGE_POSTGRESQL
+	depends on !BR2_INSTALL_LIBSTDCPP || \
+		!BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 || \
+		!BR2_TOOLCHAIN_HAS_THREADS
Signature · 1 line
2.13.3.windows.1
#1 lore raw

PATCH 1/1 package/libpqxx: update dependencies

Hello,

Quoted 8 lines · James Knight

As of v6.x, libpqxx takes advantage of thread support for transaction sleeps (adding BR2_TOOLCHAIN_HAS_THREADS).

Re-order dependencies for:
- Key feature (postgresql)
- Architectures dependencies
- Remaining dependencies

Quoted 4 lines

---
Fixes:
http://autobuild.buildroot.net/results/e1d6f62edfc5eae90953f0a93fdb30d713409c37/

This should have been before the --- and Signed-off-by, because we want to have this information as part of the commit log.

I've applied after adjusting this.

Thanks!

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com