summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/connman/connman/disable_alg-test.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-connectivity/connman/connman/disable_alg-test.patch')
-rw-r--r--meta/recipes-connectivity/connman/connman/disable_alg-test.patch46
1 files changed, 46 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/connman/connman/disable_alg-test.patch b/meta/recipes-connectivity/connman/connman/disable_alg-test.patch
new file mode 100644
index 0000000000..c231d75c4f
--- /dev/null
+++ b/meta/recipes-connectivity/connman/connman/disable_alg-test.patch
@@ -0,0 +1,46 @@
1From b9a20c8eb61b600ced284646a1bea588fdd8a5ea Mon Sep 17 00:00:00 2001
2From: Otavio Salvador <otavio@ossystems.com.br>
3Date: Fri, 16 Dec 2011 19:31:59 -0200
4Subject: [PATCH] Disable building of alg-test
5
6alg-test utility depends on linux/if_alg.h header that is only
7available on kernels >= 2.6.39.
8
9Upstream Status: Inappropriate [configuration]
10
11Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
12---
13 Makefile.am | 2 +-
14 configure.ac | 3 ---
15 2 files changed, 1 insertions(+), 4 deletions(-)
16
17diff --git a/Makefile.am b/Makefile.am
18index d5a76f9..d42a766 100644
19--- a/Makefile.am
20+++ b/Makefile.am
21@@ -144,7 +144,7 @@ noinst_PROGRAMS += tools/wispr tools/supplicant-test \
22 tools/dbus-test tools/polkit-test \
23 tools/iptables-test tools/tap-test tools/wpad-test \
24 tools/stats-tool tools/private-network-test \
25- tools/alg-test unit/test-session
26+ unit/test-session
27
28 tools_wispr_SOURCES = $(gweb_sources) tools/wispr.c
29 tools_wispr_LDADD = @GLIB_LIBS@ @GNUTLS_LIBS@ -lresolv
30diff --git a/configure.ac b/configure.ac
31index f63fea8..67bfe85 100644
32--- a/configure.ac
33+++ b/configure.ac
34@@ -437,9 +437,6 @@ if (test "${enable_tools}" = "yes"); then
35 AC_MSG_ERROR(GnuTLS library is required))
36 AC_SUBST(GNUTLS_CFLAGS)
37 AC_SUBST(GNUTLS_LIBS)
38-
39- AC_CHECK_HEADERS(linux/if_alg.h, dummy=yes,
40- AC_MSG_ERROR(User-space algorithm header files are required))
41 fi
42 AM_CONDITIONAL(TOOLS, test "${enable_tools}" = "yes")
43
44--
451.7.7.3
46