diff options
Diffstat (limited to 'meta-oe/recipes-connectivity/networkmanager/networkmanager/0001-don-t-try-to-run-sbin-dhclient-to-get-the-version-nu.patch')
-rw-r--r-- | meta-oe/recipes-connectivity/networkmanager/networkmanager/0001-don-t-try-to-run-sbin-dhclient-to-get-the-version-nu.patch | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/meta-oe/recipes-connectivity/networkmanager/networkmanager/0001-don-t-try-to-run-sbin-dhclient-to-get-the-version-nu.patch b/meta-oe/recipes-connectivity/networkmanager/networkmanager/0001-don-t-try-to-run-sbin-dhclient-to-get-the-version-nu.patch new file mode 100644 index 000000000..5c9ed92b8 --- /dev/null +++ b/meta-oe/recipes-connectivity/networkmanager/networkmanager/0001-don-t-try-to-run-sbin-dhclient-to-get-the-version-nu.patch | |||
@@ -0,0 +1,36 @@ | |||
1 | From 7dd40db6606c3b3559365a03944cb99aee5ceabc Mon Sep 17 00:00:00 2001 | ||
2 | From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com> | ||
3 | Date: Thu, 4 Apr 2013 12:57:58 +0200 | ||
4 | Subject: [PATCH] don't try to run /sbin/dhclient to get the version number, | ||
5 | this break cross-compiling | ||
6 | MIME-Version: 1.0 | ||
7 | Content-Type: text/plain; charset=UTF-8 | ||
8 | Content-Transfer-Encoding: 8bit | ||
9 | |||
10 | Upstream-Status: Inappropriate [build system specific] | ||
11 | |||
12 | Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> | ||
13 | --- | ||
14 | configure.ac | 6 ------ | ||
15 | 1 files changed, 0 insertions(+), 6 deletions(-) | ||
16 | |||
17 | diff --git a/configure.ac b/configure.ac | ||
18 | index cc66e9b..7163287 100644 | ||
19 | --- a/configure.ac | ||
20 | +++ b/configure.ac | ||
21 | @@ -488,12 +488,6 @@ AS_IF([test -z "$with_dhcpcd"], with_dhcpcd=yes) | ||
22 | # Search and check the executables | ||
23 | if test "$with_dhclient" = "yes"; then | ||
24 | AC_PATH_PROGS(with_dhclient, dhclient, no, /sbin:/usr/sbin:/usr/local/sbin) | ||
25 | - if test "$with_dhclient" != "no"; then | ||
26 | - if ! $with_dhclient --version 2>&1 | grep -q "^isc-dhclient-4\."; then | ||
27 | - AC_MSG_WARN([Cannot use dhclient, version 4.x is required]) | ||
28 | - with_dhclient=no | ||
29 | - fi | ||
30 | - fi | ||
31 | fi | ||
32 | if test "$with_dhcpcd" = "yes"; then | ||
33 | AC_PATH_PROGS(with_dhcpcd, dhcpcd, no, /sbin:/usr/sbin:/usr/local/sbin) | ||
34 | -- | ||
35 | 1.7.6.5 | ||
36 | |||