Skip to contentSkip to conversation

libmemcached: disable libmudflapth support

PATCH New Gustavo Zacarias 2 participants 4 messages Nov 11, 2014 – Nov 12, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 libmemcached: disable libmudflapth support

We're not handling it (copying it) for external toolchains and it's causing build failures. Fixes:
http://autobuild.buildroot.net/results/9d1/9d1e414850307487d65435216ae0ddee56d1098f/
http://autobuild.buildroot.net/results/f08/f08c8e5514e054397428677f08fadac5386189dc/

---
 package/libmemcached/libmemcached.mk | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
package/libmemcached/libmemcached.mk +3 -1
index 5ba2044..daeb283 100644
@@ -7,7 +7,9 @@
 LIBMEMCACHED_VERSION_MAJOR = 1.0
 LIBMEMCACHED_VERSION = $(LIBMEMCACHED_VERSION_MAJOR).18
 LIBMEMCACHED_SITE = http://launchpad.net/libmemcached/$(LIBMEMCACHED_VERSION_MAJOR)/$(LIBMEMCACHED_VERSION)/+download
-LIBMEMCACHED_CONF_ENV = ac_cv_prog_cc_c99='-std=gnu99'
+LIBMEMCACHED_CONF_ENV = ac_cv_prog_cc_c99='-std=gnu99' \
+	ax_cv_check_cflags__Werror__fmudflapth=no \
+	ax_cv_check_cxxflags__Werror__fmudflapth=no
 LIBMEMCACHED_CONF_OPTS = --disable-dtrace
 LIBMEMCACHED_INSTALL_STAGING = YES
 LIBMEMCACHED_DEPENDENCIES = $(if $(BR2_PACKAGE_LIBEVENT),libevent)
Signature · 1 line
2.0.4
#1 lore raw

PATCH 2/2 bmon: uclinux is also linux

Fixes:
http://autobuild.buildroot.net/results/4d0/4d0c3c8b68b37f532378f19041379cb5c5798950/

---
 .../bmon/0001-build-uclinux-is-also-linux.patch    | 25 ++++++++++++++++++++++
 package/bmon/bmon.mk                               |  2 ++
 2 files changed, 27 insertions(+)
 create mode 100644 package/bmon/0001-build-uclinux-is-also-linux.patch
package/bmon/0001-build-uclinux-is-also-linux.patch new file +25 -0
new file mode 100644
index 0000000..18f517e
@@ -0,0 +1,25 @@
+From adcf320db5cc2844209d001f9484b0ff0cab4e0b Mon Sep 17 00:00:00 2001
+From: Gustavo Zacarias <[email protected]>
+Date: Tue, 11 Nov 2014 20:22:37 -0300
+Subject: [PATCH] build: uclinux is also linux
+
+Signed-off-by: Gustavo Zacarias <[email protected]>
+---
+Status: pull request in github
+
+diff --git a/configure.ac b/configure.ac
+index 3059e52..10388fd 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -70,7 +70,7 @@ fi
+ PKG_CHECK_MODULES([CONFUSE], [libconfuse], [], AC_MSG_ERROR([requires libconfuse]))
+ 
+ case ${target_os} in
+-    linux*)
++    linux*|uclinux*)
+         PKG_CHECK_MODULES([LIBNL], [libnl-3.0], [], AC_MSG_ERROR([requires libnl3-dev]))
+         PKG_CHECK_MODULES([LIBNL_ROUTE], [libnl-route-3.0], [], AC_MSG_ERROR([requires libnl3-route]))
+     ;;
+-- 
+2.0.4
+
package/bmon/bmon.mk +2 -0
index d440156..99f074b 100644
@@ -9,6 +9,8 @@ BMON_SITE = https://github.com/tgraf/bmon/releases/download/v$(BMON_VERSION)/
 BMON_DEPENDENCIES = host-pkgconf libconfuse libnl ncurses
 BMON_LICENSE = BSD-2c
 BMON_LICENSE_FILES = LICENSE
+# For 0001-build-uclinux-is-also-linux.patch
+BMON_AUTORECONF = YES
 
 # link dynamically unless explicitly requested otherwise
 ifeq ($(BR2_PREFER_STATIC_LIB),)
Signature · 1 line
2.0.4
#3 lore raw

PATCH 1/2 libmemcached: disable libmudflapth support

In reply to Gustavo Zacarias
Quoted 8 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Gustavo" == Gustavo Zacarias <[email protected]> writes:

We're not handling it (copying it) for external toolchains and it's causing build failures. Fixes:
http://autobuild.buildroot.net/results/9d1/9d1e414850307487d65435216ae0ddee56d1098f/
http://autobuild.buildroot.net/results/f08/f08c8e5514e054397428677f08fadac5386189dc/

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard