summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-connectivity/networkmanager
diff options
context:
space:
mode:
authorKoen Kooi <koen@dominion.thruhere.net>2011-11-17 11:26:43 +0100
committerKoen Kooi <koen@dominion.thruhere.net>2011-11-17 11:26:43 +0100
commitbb4cd7b7c6922e724de62f91301a8d09bf49622f (patch)
treee50e4f49af396e715310fd8feb4ca9610b32ab90 /meta-oe/recipes-connectivity/networkmanager
parent86c42ab05a38a2c3b69c6279fca7084be32833e5 (diff)
downloadmeta-openembedded-bb4cd7b7c6922e724de62f91301a8d09bf49622f.tar.gz
networkmanager 0.9.2.0: add patch to fix dhcp version detection
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Diffstat (limited to 'meta-oe/recipes-connectivity/networkmanager')
-rw-r--r--meta-oe/recipes-connectivity/networkmanager/networkmanager/0001-don-t-try-to-run-sbin-dhclient-to-get-the-version-nu.patch32
-rw-r--r--meta-oe/recipes-connectivity/networkmanager/networkmanager_0.9.2.0.bb3
2 files changed, 35 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..ba49bcd93
--- /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,32 @@
1From 6e7ff802b689df18d7bd1d1a83639925371650cc Mon Sep 17 00:00:00 2001
2From: Koen Kooi <koen@dominion.thruhere.net>
3Date: Thu, 17 Nov 2011 11:17:42 +0100
4Subject: [PATCH] don't try to run /sbin/dhclient to get the version number, this break cross-compiling
5
6Upstream-status: Unknown
7
8Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
9---
10 configure.ac | 6 ------
11 1 files changed, 0 insertions(+), 6 deletions(-)
12
13diff --git a/configure.ac b/configure.ac
14index 5ee0cb0..b727db7 100644
15--- a/configure.ac
16+++ b/configure.ac
17@@ -497,12 +497,6 @@ case "${with_dhclient}" in
18 /*)
19 DHCLIENT_PATH="${with_dhclient}"
20 DHCLIENT_VERSION=4
21- if test -x "${with_dhclient}"; then
22- case `"${with_dhclient}" --version 2>&1` in
23- "isc-dhclient-4"*) DHCLIENT_VERSION=4; break;;
24- "isc-dhclient-V3"*) DHCLIENT_VERSION=3; break;;
25- esac
26- fi
27 AC_MSG_NOTICE(using dhclient at ${DHCLIENT_PATH})
28 ;;
29 no) AC_MSG_NOTICE(dhclient support disabled)
30--
311.7.2.5
32
diff --git a/meta-oe/recipes-connectivity/networkmanager/networkmanager_0.9.2.0.bb b/meta-oe/recipes-connectivity/networkmanager/networkmanager_0.9.2.0.bb
index 3173c726e..6d5a7ac7b 100644
--- a/meta-oe/recipes-connectivity/networkmanager/networkmanager_0.9.2.0.bb
+++ b/meta-oe/recipes-connectivity/networkmanager/networkmanager_0.9.2.0.bb
@@ -4,10 +4,13 @@ SECTION = "net/misc"
4LICENSE = "GPLv2+" 4LICENSE = "GPLv2+"
5LIC_FILES_CHKSUM = "file://COPYING;md5=cbbffd568227ada506640fe950a4823b" 5LIC_FILES_CHKSUM = "file://COPYING;md5=cbbffd568227ada506640fe950a4823b"
6 6
7PR = "r1"
8
7DEPENDS = "systemd libnl dbus dbus-glib udev wireless-tools polkit gnutls util-linux ppp" 9DEPENDS = "systemd libnl dbus dbus-glib udev wireless-tools polkit gnutls util-linux ppp"
8inherit gnome gettext 10inherit gnome gettext
9 11
10SRC_URI = "${GNOME_MIRROR}/NetworkManager/${@gnome_verdir("${PV}")}/NetworkManager-${PV}.tar.bz2 \ 12SRC_URI = "${GNOME_MIRROR}/NetworkManager/${@gnome_verdir("${PV}")}/NetworkManager-${PV}.tar.bz2 \
13 file://0001-don-t-try-to-run-sbin-dhclient-to-get-the-version-nu.patch \
11 file://gtk-doc.make \ 14 file://gtk-doc.make \
12" 15"
13SRC_URI[md5sum] = "bc0b00b8a187762d93c50a9706b4c5c3" 16SRC_URI[md5sum] = "bc0b00b8a187762d93c50a9706b4c5c3"