Revert "dbus: 1.8.20 -> 1.10.8"
This reverts commit d088e0621e
.
The D-Bus update breaks logind and polkit.
This commit is contained in:
parent
48195dd2be
commit
2e06e5eb36
@ -6,8 +6,8 @@ assert x11Support -> libX11 != null
|
|||||||
&& libSM != null;
|
&& libSM != null;
|
||||||
|
|
||||||
let
|
let
|
||||||
version = "1.10.8";
|
version = "1.8.20";
|
||||||
sha256 = "0560y3hxpgh346w6avcrcz79c8ansmn771y5xpcvvlr6m8mx5wxs";
|
sha256 = "0fkh3d5r57a659hw9lqnw4v0bc5556vx54fsf7l9c732ci6byksw";
|
||||||
|
|
||||||
self = stdenv.mkDerivation {
|
self = stdenv.mkDerivation {
|
||||||
name = "dbus-${version}";
|
name = "dbus-${version}";
|
||||||
@ -17,7 +17,8 @@ self = stdenv.mkDerivation {
|
|||||||
inherit sha256;
|
inherit sha256;
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = lib.optional stdenv.isSunOS ./implement-getgrouplist.patch;
|
patches = [ ./ignore-missing-includedirs.patch ]
|
||||||
|
++ lib.optional stdenv.isSunOS ./implement-getgrouplist.patch;
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace tools/Makefile.in \
|
substituteInPlace tools/Makefile.in \
|
||||||
--replace 'install-localstatelibDATA:' 'disabled:' \
|
--replace 'install-localstatelibDATA:' 'disabled:' \
|
||||||
|
@ -0,0 +1,23 @@
|
|||||||
|
diff -ru -x '*~' dbus-1.2.24-orig/bus/config-parser.c dbus-1.2.24/bus/config-parser.c
|
||||||
|
--- dbus-1.2.24-orig/bus/config-parser.c 2010-03-23 20:01:27.000000000 +0100
|
||||||
|
+++ dbus-1.2.24/bus/config-parser.c 2010-07-20 14:17:20.000000000 +0200
|
||||||
|
@@ -2159,12 +2159,16 @@
|
||||||
|
|
||||||
|
retval = FALSE;
|
||||||
|
|
||||||
|
- dir = _dbus_directory_open (dirname, error);
|
||||||
|
+ dbus_error_init (&tmp_error);
|
||||||
|
+
|
||||||
|
+ dir = _dbus_directory_open (dirname, &tmp_error);
|
||||||
|
|
||||||
|
if (dir == NULL)
|
||||||
|
- goto failed;
|
||||||
|
+ {
|
||||||
|
+ retval = TRUE;
|
||||||
|
+ goto failed;
|
||||||
|
+ }
|
||||||
|
|
||||||
|
- dbus_error_init (&tmp_error);
|
||||||
|
while (_dbus_directory_get_next_file (dir, &filename, &tmp_error))
|
||||||
|
{
|
||||||
|
DBusString full_path;
|
Loading…
Reference in New Issue
Block a user