Skip to contentSkip to conversation

mysql: needs mmu

PATCH New Gustavo Zacarias 2 participants 4 messages Dec 28, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/3 mysql: needs mmu

---
 package/collectd/Config.in     |    3 ++-
 package/mysql_client/Config.in |    1 +
 package/poco/Config.in         |    1 +
 3 files changed, 4 insertions(+), 1 deletions(-)
package/collectd/Config.in +2 -1
index fe520f8..74419f6 100644
@@ -212,7 +212,8 @@ config BR2_PACKAGE_COLLECTD_MEMORY
 
 config BR2_PACKAGE_COLLECTD_MYSQL
 	bool "mysql"
-	depends on BR2_INSTALL_LIBSTDCPP
+	depends on BR2_INSTALL_LIBSTDCPP # mysql
+	depends on BR2_USE_MMU # mysql
 	select BR2_PACKAGE_MYSQL_CLIENT
 	help
 	  Connects to a MySQL database and issues a "show status" command.
package/mysql_client/Config.in +1 -0
index f07fdb4..970b9b9 100644
@@ -1,6 +1,7 @@
 config BR2_PACKAGE_MYSQL_CLIENT
 	bool "MySQL client"
 	depends on BR2_INSTALL_LIBSTDCPP
+	depends on BR2_USE_MMU # fork()
 	select BR2_PACKAGE_NCURSES
 	select BR2_PACKAGE_READLINE
 	help
package/poco/Config.in +1 -0
index 36d8de9..20a8f2d 100644
@@ -51,6 +51,7 @@ config BR2_PACKAGE_POCO_DATA_SQLITE
 
 config BR2_PACKAGE_POCO_DATA_MYSQL
 	bool "mysql"
+	depends on BR2_USE_MMU # mysql
 	select BR2_PACKAGE_POCO_DATA
 	select BR2_PACKAGE_MYSQL_CLIENT
 
Signature · 1 line
1.7.8.6
#1 lore raw

PATCH 2/3 pcre: bump to version 8.32

Bump PCRE to version 8.32
Also add a patch to remove compatibility bits, fixing:
http://autobuild.buildroot.net/results/e380b838296c85ff9aeaec9fa088bded69670307/

---
 package/pcre/pcre-no-compat.patch |   31 +++++++++++++++++++++++++++++++
 package/pcre/pcre.mk              |    2 +-
 2 files changed, 32 insertions(+), 1 deletions(-)
 create mode 100644 package/pcre/pcre-no-compat.patch
package/pcre/pcre-no-compat.patch new file +31 -0
new file mode 100644
index 0000000..7099727
@@ -0,0 +1,31 @@
+Kill ABI compatibility bits, we don't need them.
+Fixes build failures on non-ELF (blackfin) targets.
+
+Signed-off-by: Gustavo Zacarias <[email protected]>
+
+diff -Nura pcre-8.32.orig/pcrecpp.cc pcre-8.32/pcrecpp.cc
+--- pcre-8.32.orig/pcrecpp.cc	2012-12-28 08:32:10.193847937 -0300
++++ pcre-8.32/pcrecpp.cc	2012-12-28 08:32:26.924376180 -0300
+@@ -58,22 +58,6 @@
+ // Special object that stands-in for no argument
+ Arg RE::no_arg((void*)NULL);
+ 
+-// This is for ABI compatibility with old versions of pcre (pre-7.6),
+-// which defined a global no_arg variable instead of putting it in the
+-// RE class.  This works on GCC >= 3, at least.  It definitely works
+-// for ELF, but may not for other object formats (Mach-O, for
+-// instance, does not support aliases.)  We could probably have a more
+-// inclusive test if we ever needed it.  (Note that not only the
+-// __attribute__ syntax, but also __USER_LABEL_PREFIX__, are
+-// gnu-specific.)
+-#if defined(__GNUC__) && __GNUC__ >= 3 && defined(__ELF__)
+-# define ULP_AS_STRING(x)            ULP_AS_STRING_INTERNAL(x)
+-# define ULP_AS_STRING_INTERNAL(x)   #x
+-# define USER_LABEL_PREFIX_STR       ULP_AS_STRING(__USER_LABEL_PREFIX__)
+-extern Arg no_arg
+-  __attribute__((alias(USER_LABEL_PREFIX_STR "_ZN7pcrecpp2RE6no_argE")));
+-#endif
+-
+ // If a regular expression has no error, its error_ field points here
+ static const string empty_string;
+ 
package/pcre/pcre.mk +1 -1
index 9947c4b..9e27cb5 100644
@@ -4,7 +4,7 @@
 #
 #############################################################
 
-PCRE_VERSION = 8.31
+PCRE_VERSION = 8.32
 PCRE_SITE = ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre
 PCRE_LICENSE = BSD-3c
 PCRE_LICENSE_FILES = LICENCE
Signature · 1 line
1.7.8.6
#2 lore raw

PATCH 3/3 sconeserver: fix depends

In reply to Gustavo Zacarias

sconeserver selects packages that have other depends that aren't taken account of.
Fixes
http://autobuild.buildroot.net/results/6e858387cfcb3f8d7422a29855a6a3c770d70c0e
among probably others.

---
 package/sconeserver/Config.in |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
package/sconeserver/Config.in +6 -0
index a7e5c75..0fc3a13 100644
@@ -32,12 +32,16 @@ config BR2_PACKAGE_SCONESERVER_HTTP_SCONESITE_IMAGE
 
 config BR2_PACKAGE_SCONESERVER_MYSQL
 	bool "mysql"
+	depends on BR2_USE_MMU # mysql
 	select BR2_PACKAGE_MYSQL_CLIENT
 	help
 	  MySQL module for Sconeserver
 
 config BR2_PACKAGE_SCONESERVER_BLUETOOTH
 	bool "bluetooth"
+	depends on BR2_USE_WCHAR # bluez->libglib2
+	depends on BR2_USE_MMU # bluez->dbus
+	depends on BR2_TOOLCHAIN_HAS_THREADS # bluez->dbus
 	select BR2_PACKAGE_BLUEZ_UTILS
 	help
 	  Bluetooth module for Sconeserver
@@ -50,6 +54,8 @@ config BR2_PACKAGE_SCONESERVER_RSS
 
 config BR2_PACKAGE_SCONESERVER_LOCATION
 	bool "location"
+	depends on BR2_USE_MMU # gpsd
+	depends on BR2_TOOLCHAIN_HAS_THREADS # gpsd
 	select BR2_PACKAGE_GPSD
 	help
 	  Location module for Sconeserver
Signature · 1 line
1.7.8.6