X-Git-Url: https://vcs.maemo.org/git/?a=blobdiff_plain;f=debian%2Fpatches%2F03tar.dpatch;fp=debian%2Fpatches%2F03tar.dpatch;h=dfafe9ca372941057a3eb3f267b88df96af4e208;hb=faceaeecb397b1ba76e53a966b756c68f27e4167;hp=0000000000000000000000000000000000000000;hpb=9ebb45093cbef8ab81d2e6b115d0445353b0e03a;p=busybox4maemo diff --git a/debian/patches/03tar.dpatch b/debian/patches/03tar.dpatch new file mode 100755 index 0000000..dfafe9c --- /dev/null +++ b/debian/patches/03tar.dpatch @@ -0,0 +1,63 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 99-unnamed.dpatch by Yauheni Kaliuta +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + +@DPATCH@ +diff --git a/archival/Config.in b/archival/Config.in +index 8d31ec7..a3ff732 100644 +--- a/archival/Config.in ++++ b/archival/Config.in +@@ -239,6 +239,13 @@ config FEATURE_TAR_LONG_OPTIONS + help + Enable use of long options, increases size by about 400 Bytes + ++config FEATURE_TAR_TOUCH ++ bool "Enable ignoring touch option" ++ default n ++ depends on TAR ++ help ++ Allows compatibility with -m / --touch command line option. ++ + config UNCOMPRESS + bool "uncompress" + default n +diff --git a/archival/tar.c b/archival/tar.c +index 5b19093..9e9cff6 100644 +--- a/archival/tar.c ++++ b/archival/tar.c +@@ -713,6 +713,7 @@ enum { + USE_FEATURE_TAR_COMPRESS(OPTBIT_COMPRESS ,) + OPTBIT_NOPRESERVE_OWN, + OPTBIT_NOPRESERVE_PERM, ++ USE_FEATURE_TAR_TOUCH( OPTBIT_TOUCH ,) + OPT_TEST = 1 << 0, // t + OPT_EXTRACT = 1 << 1, // x + OPT_BASEDIR = 1 << 2, // C +@@ -731,6 +732,7 @@ enum { + OPT_COMPRESS = USE_FEATURE_TAR_COMPRESS((1<accept)) // T