summaryrefslogtreecommitdiffstats
path: root/meta-oem-extra-libs/recipes-core/libtar/files/oldgnu_prefix.patch
diff options
context:
space:
mode:
authorJan-Simon Möller <jsmoeller@linuxfoundation.org>2020-06-17 11:49:59 +0200
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2020-06-18 08:14:06 +0000
commit017697ae1521404b0addf6f3d25ce7985b94ca5c (patch)
tree8b7bbf522b4132a94ed4f822c7000e8a143ecdab /meta-oem-extra-libs/recipes-core/libtar/files/oldgnu_prefix.patch
parentcfafcc0d4fc937002a804e1eb262325771071d08 (diff)
Remove outdated layers - meta-oem-extra-libs
As announced in https://lists.automotivelinux.org/g/agl-dev-community/topic/73194818#8265 the layer is outdated and will be removed. Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Change-Id: I65fee2a4fdca1ff97a7308c6d955a062c3830f62
Diffstat (limited to 'meta-oem-extra-libs/recipes-core/libtar/files/oldgnu_prefix.patch')
-rw-r--r--meta-oem-extra-libs/recipes-core/libtar/files/oldgnu_prefix.patch21
1 files changed, 0 insertions, 21 deletions
diff --git a/meta-oem-extra-libs/recipes-core/libtar/files/oldgnu_prefix.patch b/meta-oem-extra-libs/recipes-core/libtar/files/oldgnu_prefix.patch
deleted file mode 100644
index 99ab509e..00000000
--- a/meta-oem-extra-libs/recipes-core/libtar/files/oldgnu_prefix.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-Description: Detect old-style GNU headers correctly
-Author: Steinar H. Gunderson <sesse@debian.org>
-
---- libtar-1.2.20.orig/lib/decode.c
-+++ libtar-1.2.20/lib/decode.c
-@@ -69,7 +69,14 @@ th_get_pathname(TAR *t)
- return NULL;
- }
-
-- if (t->th_buf.prefix[0] == '\0')
-+ /*
-+ * Old GNU headers (also used by newer GNU tar when doing incremental
-+ * dumps) use the POSIX prefix field for many other things, such as
-+ * mtime and ctime. New-style GNU headers don't, but also don't use the
-+ * POSIX prefix field. Thus, only honor the prefix field if the archive
-+ * is actually a POSIX archive. This is the same logic as GNU tar uses.
-+ */
-+ if (strncmp(t->th_buf.magic, TMAGIC, TMAGLEN - 1) != 0 || t->th_buf.prefix[0] == '\0')
- {
- sprintf(t->th_pathname, "%.100s", t->th_buf.name);
- }