releasing/blocks/cclient/patches/linux/dpkg-remove-dbcheck.patch
changeset 632 934f9131337b
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/releasing/blocks/cclient/patches/linux/dpkg-remove-dbcheck.patch	Thu Sep 02 15:02:14 2010 +0800
@@ -0,0 +1,14 @@
+--- dpkg-1.14.23.orig/lib/dbmodify.c	2008-11-18 12:57:33.000000000 +0200
++++ dpkg-1.14.23/lib/dbmodify.c	2009-02-23 14:50:36.000000000 +0200
+@@ -153,8 +153,10 @@
+   switch (readwritereq) {
+   case msdbrw_needsuperuser:
+   case msdbrw_needsuperuserlockonly:
+-    if (getuid() || geteuid())
++    /* Not required by blocks */
++    /* if (getuid() || geteuid())
+       ohshit(_("requested operation requires superuser privilege"));
++    */
+     /* fall through */
+   case msdbrw_write: case msdbrw_writeifposs:
+     if (access(adir,W_OK)) {