cmake: Update from 3.11.0 to 3.11.1
[termux-packages] / packages / dpkg / lib-dpkg-triglib.c.patch
CommitLineData
99c3da2c
FF
1diff -u -r ../dpkg-1.18.2/lib/dpkg/triglib.c ./lib/dpkg/triglib.c
2--- ../dpkg-1.18.2/lib/dpkg/triglib.c 2015-07-12 22:38:47.000000000 -0400
3+++ ./lib/dpkg/triglib.c 2015-08-25 17:54:10.350853590 -0400
4@@ -787,10 +787,13 @@
5 if (errno != EEXIST)
6 ohshite(_("unable to create triggers state"
7 " directory '%.250s'"), triggersdir);
8- } else if (chown(triggersdir, 0, 0)) {
9+ }
10+#ifndef __ANDROID__
11+ else if (chown(triggersdir, 0, 0)) {
12 ohshite(_("unable to set ownership of triggers state"
13 " directory '%.250s'"), triggersdir);
14 }
15+#endif
16 ur = trigdef_update_start(tduf);
17 }
18 switch (ur) {