dpkg: Update from 1.17.25 to 1.18.2
[termux-packages] / packages / dpkg / statcmd_dont_chown.patch
diff --git a/packages/dpkg/statcmd_dont_chown.patch b/packages/dpkg/statcmd_dont_chown.patch
deleted file mode 100644 (file)
index a30efc3..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-diff -u -r ../dpkg-1.17.6/src/statcmd.c ./src/statcmd.c
---- ../dpkg-1.17.6/src/statcmd.c       2013-12-14 06:46:59.000000000 +0100
-+++ ./src/statcmd.c    2014-02-26 08:22:05.000000000 +0100
-@@ -155,8 +155,10 @@
- static void
- statdb_node_apply(const char *filename, struct file_stat *filestat)
- {
-+#ifndef __ANDROID__
-       if (chown(filename, filestat->uid, filestat->gid) < 0)
-               ohshite(_("error setting ownership of `%.255s'"), filename);
-+#endif
-       if (chmod(filename, filestat->mode))
-               ohshite(_("error setting permissions of `%.255s'"), filename);
- }