X-Git-Url: https://git.distorted.org.uk/~mdw/termux-packages/blobdiff_plain/d519a96dc82f9e0a582c63cb01c6bbd4585827e8..99c3da2c8c9297aec7eac0065f0581dfd6fc7eff:/packages/dpkg/statcmd_dont_chown.patch?ds=inline diff --git a/packages/dpkg/statcmd_dont_chown.patch b/packages/dpkg/statcmd_dont_chown.patch deleted file mode 100644 index a30efc33..00000000 --- a/packages/dpkg/statcmd_dont_chown.patch +++ /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); - }