/[gentoo-x86]/net-misc/networkmanager/files/networkmanager-0.9.1.90-force-libnl1.1.patch
Gentoo

Contents of /net-misc/networkmanager/files/networkmanager-0.9.1.90-force-libnl1.1.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Sun Nov 13 23:19:00 2011 UTC (2 years, 5 months ago) by tetromino
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
FILE REMOVED
Bump, drop old. First stable release in the 0.9.2 series.

(Portage version: 2.2.0_alpha74/cvs/Linux x86_64)

1 Build against libnl:1.1 only. Otherwise, networkmanager will link to
2 libnl-3.so and to libiWmxSdk (from wimax-1.5.2) which links to libnl.so,
3 and then explode spectacularly at runtime due to symbol collisions.
4
5 diff --git a/configure.ac b/configure.ac
6 index 117dd91..b8b11de 100644
7 --- a/configure.ac
8 +++ b/configure.ac
9 @@ -323,24 +323,6 @@ if (test "${have_libnl1}" = "yes"); then
10 have_libnl="yes"
11 fi
12
13 -PKG_CHECK_MODULES(LIBNL2, libnl-2.0, [have_libnl2=yes], [have_libnl2=no])
14 -if (test "${have_libnl2}" = "yes"); then
15 - AC_DEFINE(HAVE_LIBNL2, 1, [Define if you require specific libnl-2 support])
16 - LIBNL_CFLAGS="$LIBNL2_CFLAGS"
17 - LIBNL_LIBS="$LIBNL2_LIBS"
18 - libnl_version="2"
19 - have_libnl="yes"
20 -fi
21 -
22 -PKG_CHECK_MODULES(LIBNL3, libnl-3.0, [have_libnl2=yes], [have_libnl2=no])
23 -if (test "${have_libnl2}" = "yes"); then
24 - AC_DEFINE(HAVE_LIBNL3, 1, [Define if you require specific libnl-3 support])
25 - LIBNL_CFLAGS="$LIBNL3_CFLAGS"
26 - LIBNL_LIBS="$LIBNL3_LIBS"
27 - libnl_version="3"
28 - have_libnl="yes"
29 -fi
30 -
31 if (test "${have_libnl}" = "no"); then
32 AC_MSG_ERROR([libnl development header are required])
33 fi

  ViewVC Help
Powered by ViewVC 1.1.20