summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/dpkg/dpkg/fix-timestamps.patch
diff options
context:
space:
mode:
authorConstantin Musca <constantinx.musca@intel.com>2012-08-28 17:02:40 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-09-02 05:52:07 -0700
commit5b1fbbebb987a78c7e3261ed53ebda5597dc0b42 (patch)
tree786ca0911522a4fac21306a50d8d9d7a71a970af /meta/recipes-devtools/dpkg/dpkg/fix-timestamps.patch
parent1c64c6b3002b4a01e590263c730e22c89d869bb7 (diff)
downloadast2050-yocto-poky-5b1fbbebb987a78c7e3261ed53ebda5597dc0b42.zip
ast2050-yocto-poky-5b1fbbebb987a78c7e3261ed53ebda5597dc0b42.tar.gz
dpkg: upgrade to 1.16.8
autofoo.patch: removed - the patch is not used check_version: adapted to the new version - adapt the linux-wrs kernel version, which has character '_' - remove the first-char-digit-check (as the 1.15.8.5 version does) dpkg-deb-avoid-fflush.patch: removed - the patch is included in the new version fix-timestamps.patch: added - the lutimes function doesn't work properly for all systems ignore_extra_fields.patch: adapted to the new version nochroot.patch: removed - the patch is not used noman.patch: adapted to the new version noupdalt.patch: removed - the patch is not used perllibdir.patch: removed - in the new version PERL_LIBDIR will be set only if empty preinst.patch: adapted to new version removed-tar-no-timestamp.patch: added - the busybox-1.19.4 tar utility doesn't support --warning=no-timestamp (From OE-Core rev: 02e8b5c1fd68fa18ee81ba2920cd48fea8a1ef5e) Signed-off-by: Constantin Musca <constantinx.musca@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/dpkg/dpkg/fix-timestamps.patch')
-rw-r--r--meta/recipes-devtools/dpkg/dpkg/fix-timestamps.patch21
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))
OpenPOWER on IntegriCloud