瀏覽代碼

update to latest stable, avoid an error message on kodi startup

Waldemar Brodkorb 10 年之前
父節點
當前提交
4d93df7f7e
共有 2 個文件被更改,包括 17 次插入2 次删除
  1. 2 2
      package/eudev/Makefile
  2. 15 0
      package/eudev/patches/patch-src_libudev_libudev-monitor_c

+ 2 - 2
package/eudev/Makefile

@@ -4,9 +4,9 @@
 include $(ADK_TOPDIR)/rules.mk
 
 PKG_NAME:=		eudev
-PKG_VERSION:=		1.9
+PKG_VERSION:=		2.1.1
 PKG_RELEASE:=		1
-PKG_MD5SUM:=		da8083b30b44177445b21e8299af23a1
+PKG_MD5SUM:=		dd945ce34314b4544e9036153d3a97e9
 PKG_DESCR:=		device manager (udev clone)
 PKG_SECTION:=		sys/utils
 PKG_BUILDDEP:=		gperf-host glib

+ 15 - 0
package/eudev/patches/patch-src_libudev_libudev-monitor_c

@@ -0,0 +1,15 @@
+--- eudev-2.1.1.orig/src/libudev/libudev-monitor.c	2014-09-18 17:47:23.000000000 -0500
++++ eudev-2.1.1/src/libudev/libudev-monitor.c	2014-10-29 20:46:45.742352002 -0500
+@@ -119,11 +119,8 @@ static bool udev_has_devtmpfs(struct ude
+         int r;
+ 
+         r = name_to_handle_at(AT_FDCWD, "/dev", &h.handle, &mount_id, 0);
+-        if (r < 0) {
+-                if (errno != EOPNOTSUPP)
+-                        udev_err(udev, "name_to_handle_at on /dev: %m\n");
++        if (r < 0)
+                 return false;
+-        }
+ 
+         f = fopen("/proc/self/mountinfo", "re");
+         if (!f)