/[gentoo-x86]/net-misc/networkmanager/files/networkmanager-0.6.4-dbus-1.patch
Gentoo

Contents of /net-misc/networkmanager/files/networkmanager-0.6.4-dbus-1.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Sat Feb 2 07:09:35 2008 UTC (6 years, 7 months ago) by steev
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
FILE REMOVED
Remove old versions of NetworkManager, add a bump that works with libnl 1.1
(Portage version: 2.1.4.1)

1 --- src/NetworkManagerDbus.c.orig 2006-11-15 23:43:00.000000000 +0200
2 +++ src/NetworkManagerDbus.c 2006-11-15 23:44:35.000000000 +0200
3 @@ -831,10 +831,10 @@
4 }
5
6 dbus_error_init (&error);
7 -#if (DBUS_VERSION_MAJOR == 0) && (DBUS_VERSION_MINOR >= 60)
8 - flags = DBUS_NAME_FLAG_DO_NOT_QUEUE; /* Prohibit replacement is now the default */
9 -#else
10 +#if (DBUS_VERSION_MAJOR == 0) && (DBUS_VERSION_MINOR < 60)
11 flags = DBUS_NAME_FLAG_PROHIBIT_REPLACEMENT;
12 +#else
13 + flags = DBUS_NAME_FLAG_DO_NOT_QUEUE; /* Prohibit replacement is now the default */
14 #endif
15 ret = dbus_bus_request_name (connection, NM_DBUS_SERVICE, flags, &error);
16 if (dbus_error_is_set (&error))

  ViewVC Help
Powered by ViewVC 1.1.20