summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/dpkg/dpkg/0004-The-lutimes-function-doesn-t-work-properly-for-all-s.patch
diff options
context:
space:
mode:
authorAlexander Kanavin <alexander.kanavin@linux.intel.com>2015-08-28 15:18:51 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-09-01 11:44:03 +0100
commite444e84935f5a25799e1a7c88e886fa6e8a9b9d4 (patch)
tree8590fca8ce102c6544641d35f077c38bf1190e6b /meta/recipes-devtools/dpkg/dpkg/0004-The-lutimes-function-doesn-t-work-properly-for-all-s.patch
parenteb45cd659bf06fdf1ba4c377db2aac268ecf6e31 (diff)
downloadpoky-e444e84935f5a25799e1a7c88e886fa6e8a9b9d4.tar.gz
dpkg: update to 1.18.2
check_snprintf.patch has been dropped, because it seems to fix a problem that doesn't anymore exist, and doesn't have any description of what the problem was and how was it fixed. tarfix.patch has been merged upstream. The rest of the patches have been rebased to the new upstream release (From OE-Core rev: c11b2be13a6d5e34f2baed4b8ee8ccd66438c1de) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/dpkg/dpkg/0004-The-lutimes-function-doesn-t-work-properly-for-all-s.patch')
-rw-r--r--meta/recipes-devtools/dpkg/dpkg/0004-The-lutimes-function-doesn-t-work-properly-for-all-s.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/meta/recipes-devtools/dpkg/dpkg/0004-The-lutimes-function-doesn-t-work-properly-for-all-s.patch b/meta/recipes-devtools/dpkg/dpkg/0004-The-lutimes-function-doesn-t-work-properly-for-all-s.patch
new file mode 100644
index 0000000000..56c85c7733
--- /dev/null
+++ b/meta/recipes-devtools/dpkg/dpkg/0004-The-lutimes-function-doesn-t-work-properly-for-all-s.patch
@@ -0,0 +1,31 @@
1From adb6bfd0feeceaf030df0debe3343d7f73e708a0 Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Wed, 26 Aug 2015 16:27:45 +0300
4Subject: [PATCH 4/5] The lutimes function doesn't work properly for all
5 systems.
6
7Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
8
9Upstream-Status: Inappropriate [embedded specific]
10---
11 src/archives.c | 3 ++-
12 1 file changed, 2 insertions(+), 1 deletion(-)
13
14diff --git a/src/archives.c b/src/archives.c
15index bff5f14..b711013 100644
16--- a/src/archives.c
17+++ b/src/archives.c
18@@ -449,8 +449,9 @@ tarobject_set_mtime(struct tar_entry *te, const char *path)
19
20 if (te->type == TAR_FILETYPE_SYMLINK) {
21 #ifdef HAVE_LUTIMES
22- if (lutimes(path, tv) && errno != ENOSYS)
23+/* if (lutimes(path, tv) && errno != ENOSYS)
24 ohshite(_("error setting timestamps of '%.255s'"), path);
25+*/
26 #endif
27 } else {
28 if (utimes(path, tv))
29--
302.1.4
31