summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/dpkg/dpkg/fix-timestamps.patch
blob: d2cabbe065e55474ed4d9895cc10bacd9921e896 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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