diff options
Diffstat (limited to 'meta/recipes-devtools/dpkg/dpkg/fix-timestamps.patch')
-rw-r--r-- | meta/recipes-devtools/dpkg/dpkg/fix-timestamps.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/meta/recipes-devtools/dpkg/dpkg/fix-timestamps.patch b/meta/recipes-devtools/dpkg/dpkg/fix-timestamps.patch new file mode 100644 index 0000000..d2cabbe --- /dev/null +++ b/meta/recipes-devtools/dpkg/dpkg/fix-timestamps.patch @@ -0,0 +1,21 @@ +The lutimes function doesn't work properly for all systems. + +Signed-off-by: Constantin Musca <constantinx.musca@intel.com> + +Upstream-Status: Inappropriate [embedded specific] + +Index: dpkg-1.16.8/src/archives.c +=================================================================== +--- dpkg-1.16.8.orig/src/archives.c ++++ dpkg-1.16.8/src/archives.c +@@ -440,8 +440,10 @@ tarobject_set_mtime(struct tar_entry *te + + if (te->type == tar_filetype_symlink) { + #ifdef HAVE_LUTIMES ++/* + if (lutimes(path, tv) && errno != ENOSYS) + ohshite(_("error setting timestamps of `%.255s'"), path); ++*/ + #endif + } else { + if (utimes(path, tv)) |