diff options
Diffstat (limited to 'meta/recipes-devtools/dpkg/dpkg/0007-dpkg-deb-build.c-Remove-usage-of-clamp-mtime-in-tar.patch')
-rw-r--r-- | meta/recipes-devtools/dpkg/dpkg/0007-dpkg-deb-build.c-Remove-usage-of-clamp-mtime-in-tar.patch | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/meta/recipes-devtools/dpkg/dpkg/0007-dpkg-deb-build.c-Remove-usage-of-clamp-mtime-in-tar.patch b/meta/recipes-devtools/dpkg/dpkg/0007-dpkg-deb-build.c-Remove-usage-of-clamp-mtime-in-tar.patch index 8bfaad14d8..1b985df0f5 100644 --- a/meta/recipes-devtools/dpkg/dpkg/0007-dpkg-deb-build.c-Remove-usage-of-clamp-mtime-in-tar.patch +++ b/meta/recipes-devtools/dpkg/dpkg/0007-dpkg-deb-build.c-Remove-usage-of-clamp-mtime-in-tar.patch | |||
@@ -23,18 +23,17 @@ Upstream-Status: Inappropriate [Configuration] | |||
23 | 1 file changed, 1 insertion(+), 1 deletion(-) | 23 | 1 file changed, 1 insertion(+), 1 deletion(-) |
24 | 24 | ||
25 | diff --git a/dpkg-deb/build.c b/dpkg-deb/build.c | 25 | diff --git a/dpkg-deb/build.c b/dpkg-deb/build.c |
26 | index 655aa55..927f56f 100644 | 26 | index a92b58e..a3d1912 100644 |
27 | --- a/dpkg-deb/build.c | 27 | --- a/dpkg-deb/build.c |
28 | +++ b/dpkg-deb/build.c | 28 | +++ b/dpkg-deb/build.c |
29 | @@ -447,7 +447,7 @@ tarball_pack(const char *dir, filenames_feed_func *tar_filenames_feeder, | 29 | @@ -450,7 +450,7 @@ tarball_pack(const char *dir, filenames_feed_func *tar_filenames_feeder, |
30 | snprintf(mtime, sizeof(mtime), "@%ld", timestamp); | ||
31 | 30 | ||
32 | execlp(TAR, "tar", "-cf", "-", "--format=gnu", | 31 | command_init(&cmd, TAR, "tar -cf"); |
33 | - "--mtime", mtime, "--clamp-mtime", | 32 | command_add_args(&cmd, "tar", "-cf", "-", "--format=gnu", |
34 | + "--mtime", mtime, | 33 | - "--mtime", mtime, "--clamp-mtime", NULL); |
35 | "--null", "--no-unquote", | 34 | + "--mtime", mtime, NULL); |
36 | "--no-recursion", "-T", "-", NULL); | 35 | /* Mode might become a positional argument, pass it before -T. */ |
37 | ohshite(_("unable to execute %s (%s)"), "tar -cf", TAR); | 36 | if (mode) |
37 | command_add_args(&cmd, "--mode", mode, NULL); | ||
38 | -- | 38 | -- |
39 | 2.1.4 | 39 | 2.11.0 |
40 | |||