summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2008-04-14 22:06:29 +0000
committerRichard Purdie <richard@openedhand.com>2008-04-14 22:06:29 +0000
commit0ba7ff12f8ce8438ca9df3991797bc4c28b630a2 (patch)
treeb5cdf6a59d366d9b6a532ae5d89f665abfd14588
parent52559473c9345b8498b100e7b109b26d9fd9d390 (diff)
downloadopenembedded-core-0ba7ff12f8ce8438ca9df3991797bc4c28b630a2.tar.gz
openembedded-core-0ba7ff12f8ce8438ca9df3991797bc4c28b630a2.tar.bz2
openembedded-core-0ba7ff12f8ce8438ca9df3991797bc4c28b630a2.zip
networkmanager: Fix broken makefile for libtool 2.2.2
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4252 311d38ba-8fff-0310-9ca6-ca027cbcb966
-rw-r--r--meta/packages/networkmanager/files/makefile-fix.patch17
-rw-r--r--meta/packages/networkmanager/networkmanager_svn.bb3
2 files changed, 19 insertions, 1 deletions
diff --git a/meta/packages/networkmanager/files/makefile-fix.patch b/meta/packages/networkmanager/files/makefile-fix.patch
new file mode 100644
index 0000000000..5fbbf3a74a
--- /dev/null
+++ b/meta/packages/networkmanager/files/makefile-fix.patch
@@ -0,0 +1,17 @@
+This line causes libtool to try and create a program which fails since there is no
+main(). This is hidden with libtool 1.5.10 but appears with 2.2.2.
+
+RP - 14/4/08
+
+Index: trunk/src/ppp-manager/Makefile.am
+===================================================================
+--- trunk.orig/src/ppp-manager/Makefile.am 2008-04-14 23:00:54.000000000 +0100
++++ trunk/src/ppp-manager/Makefile.am 2008-04-14 23:01:24.000000000 +0100
+@@ -25,7 +25,6 @@
+ $(top_builddir)/src/marshallers/libmarshallers.la
+
+ nm_pppd_plugindir = $(libdir)
+-nm_pppd_plugin_PROGRAMS = nm-pppd-plugin.so
+
+ nm_pppd_plugin_so_SOURCES = \
+ nm-pppd-plugin.c \
diff --git a/meta/packages/networkmanager/networkmanager_svn.bb b/meta/packages/networkmanager/networkmanager_svn.bb
index d6e30732e8..17052e0343 100644
--- a/meta/packages/networkmanager/networkmanager_svn.bb
+++ b/meta/packages/networkmanager/networkmanager_svn.bb
@@ -7,10 +7,11 @@ DEPENDS = "libnl dbus dbus-glib hal gconf-dbus wireless-tools ppp"
RDEPENDS = "hal wpa-supplicant iproute2 dhcp-client"
PV = "0.7+svnr${SRCREV}"
-PR = "r4"
+PR = "r5"
SRC_URI="svn://svn.gnome.org/svn/NetworkManager/;module=trunk;proto=http \
file://no-restarts.diff;patch=1;pnum=0 \
+ file://makefile-fix.patch;patch=1 \
file://25NetworkManager \
file://99_networkmanager"