systemd: Update to 191

This commit is contained in:
Eelco Dolstra 2012-09-21 22:46:35 -04:00
parent beb5b65e9c
commit fae03557fb
2 changed files with 3 additions and 24 deletions

View File

@ -6,14 +6,14 @@
assert stdenv.gcc.libc or null != null;
stdenv.mkDerivation rec {
name = "systemd-190";
name = "systemd-191";
src = fetchurl {
url = "http://www.freedesktop.org/software/systemd/${name}.tar.xz";
sha256 = "1p3pf8gvx43g62l9x85l8ym12wc373cmaysi41sahjndp2agicig";
sha256 = "0r0xz8dksacm20516kakqf6xchydhcc1lkvz3m75z1gbl6sa581g";
};
patches = [ ./name_to_handle_at.patch ./reexec.patch ];
patches = [ ./reexec.patch ];
buildInputs =
[ pkgconfig intltool gperf libcap dbus kmod xz pam acl

View File

@ -1,21 +0,0 @@
diff --git a/src/shared/missing.h b/src/shared/missing.h
index c5bb71a..14abe4e 100644
--- a/src/shared/missing.h
+++ b/src/shared/missing.h
@@ -209,12 +209,12 @@ static inline pid_t gettid(void) {
#endif
#ifdef __x86_64__
-# ifndef __NR_name_to_handle
-# define __NR_name_to_handle 303
+# ifndef __NR_name_to_handle_at
+# define __NR_name_to_handle_at 303
# endif
#else
-# ifndef __NR_name_to_handle
-# define __NR_name_to_handle 341
+# ifndef __NR_name_to_handle_at
+# define __NR_name_to_handle_at 341
# endif
#endif