Tags: patch Uploading a patch. Might try to do a QA upload if I can find the time.
#! /bin/sh /usr/share/dpatch/dpatch-run ## 99-tar_preserve.dpatch by Tim Gokcen <hexe...@gmail.com> ## ## All lines beginning with `## DP:' are a description of the patch. ## DP: Don't use deprecated tar --preserve option ## DP: Instead, use --preserve-permissions & --preserve-order
@DPATCH@ diff -Naur tla-1.3.5+dfsg.orig/src/tla/libarch/archive.c tla-1.3.5+dfsg/src/tla/librarch/archive.c --- tla-1.3.5+dfsg.orig/src/tla/libarch/archive.c 2006-07-20 02:34:40.000000000 -0400 +++ tla-1.3.5+dfsg/src/tla/libarch/archive.c 2010-11-26 14:58:32.000000000 -0500 @@ -1114,7 +1114,8 @@ *(t_uchar **)ar_push ((void **)&argv, 0, sizeof (char *)) = cfg__gnu_tar; *(t_uchar **)ar_push ((void **)&argv, 0, sizeof (char *)) = "-m"; - *(t_uchar **)ar_push ((void **)&argv, 0, sizeof (char *)) = "--preserve"; + *(t_uchar **)ar_push ((void **)&argv, 0, sizeof (char *)) = "--preserve-permissions"; + *(t_uchar **)ar_push ((void **)&argv, 0, sizeof (char *)) = "--preserve-order"; *(t_uchar **)ar_push ((void **)&argv, 0, sizeof (char *)) = "-zxf"; *(t_uchar **)ar_push ((void **)&argv, 0, sizeof (char *)) = "-"; *(t_uchar **)ar_push ((void **)&argv, 0, sizeof (char *)) = 0;