openpkg/tar.patch

changeset 428
f880f219c566
parent 250
bda4f5eec616
     1.1 --- a/openpkg/tar.patch	Tue Jul 31 12:12:54 2012 +0200
     1.2 +++ b/openpkg/tar.patch	Tue Jul 31 12:23:42 2012 +0200
     1.3 @@ -1,7 +1,7 @@
     1.4  Index: Makefile.in
     1.5 ---- Makefile.in.orig	2010-03-10 11:52:09.000000000 +0100
     1.6 -+++ Makefile.in	2010-03-10 18:28:13.000000000 +0100
     1.7 -@@ -899,7 +899,7 @@
     1.8 +--- Makefile.in.orig	2011-03-12 10:50:13.000000000 +0100
     1.9 ++++ Makefile.in	2011-07-31 17:41:03.000000000 +0200
    1.10 +@@ -1028,7 +1028,7 @@
    1.11   top_srcdir = @top_srcdir@
    1.12   ACLOCAL_AMFLAGS = -I m4
    1.13   EXTRA_DIST = ChangeLog.1 Make.rules
    1.14 @@ -11,21 +11,23 @@
    1.15   prev_change_log = ChangeLog.CVS
    1.16   changelog_dir = .
    1.17  Index: gnu/argp-help.c
    1.18 ---- gnu/argp-help.c.orig	2010-03-10 11:50:33.000000000 +0100
    1.19 -+++ gnu/argp-help.c	2010-03-10 18:26:15.000000000 +0100
    1.20 -@@ -571,8 +571,7 @@
    1.21 +--- gnu/argp-help.c.orig	2011-03-12 10:14:26.000000000 +0100
    1.22 ++++ gnu/argp-help.c	2011-07-31 17:44:24.000000000 +0200
    1.23 +@@ -571,10 +571,7 @@
    1.24     return val;
    1.25   }
    1.26   
    1.27  -static inline int
    1.28 +-#if __GNUC__ >= 3
    1.29  -__attribute__ ((always_inline))
    1.30 +-#endif
    1.31  +static int
    1.32   hol_entry_long_iterate (const struct hol_entry *entry,
    1.33                           int (*func)(const struct argp_option *opt,
    1.34                                       const struct argp_option *real,
    1.35  Index: gnu/strerror.c
    1.36 ---- gnu/strerror.c.orig	2010-03-10 11:50:43.000000000 +0100
    1.37 -+++ gnu/strerror.c	2010-03-10 18:26:15.000000000 +0100
    1.38 +--- gnu/strerror.c.orig	2011-03-12 10:14:33.000000000 +0100
    1.39 ++++ gnu/strerror.c	2011-07-31 17:41:03.000000000 +0200
    1.40  @@ -25,6 +25,7 @@
    1.41   
    1.42   # include <errno.h>
    1.43 @@ -34,33 +36,9 @@
    1.44   
    1.45   # if GNULIB_defined_ESOCK /* native Windows platforms */
    1.46   #  if HAVE_WINSOCK2_H
    1.47 -Index: src/compare.c
    1.48 ---- src/compare.c.orig	2010-01-26 12:28:09.000000000 +0100
    1.49 -+++ src/compare.c	2010-03-10 18:26:15.000000000 +0100
    1.50 -@@ -277,7 +277,7 @@
    1.51 -   size_t len = strlen (current_stat_info.link_name);
    1.52 -   char *linkbuf = alloca (len + 1);
    1.53 - 
    1.54 --  int status = readlink (current_stat_info.file_name, linkbuf, len + 1);
    1.55 -+  int status = readlink (current_stat_info.file_name, linkbuf, len);
    1.56 - 
    1.57 -   if (status < 0)
    1.58 -     {
    1.59 -Index: src/create.c
    1.60 ---- src/create.c.orig	2010-03-09 13:52:41.000000000 +0100
    1.61 -+++ src/create.c	2010-03-10 18:26:15.000000000 +0100
    1.62 -@@ -1690,7 +1690,7 @@
    1.63 -       if (linklen != st->stat.st_size || linklen + 1 == 0)
    1.64 - 	xalloc_die ();
    1.65 -       buffer = (char *) alloca (linklen + 1);
    1.66 --      size = readlink (p, buffer, linklen + 1);
    1.67 -+      size = readlink (p, buffer, linklen);
    1.68 -       if (size < 0)
    1.69 - 	{
    1.70 - 	  file_removed_diag (p, top_level, readlink_diag);
    1.71  Index: src/tar.c
    1.72 ---- src/tar.c.orig	2010-03-09 13:52:41.000000000 +0100
    1.73 -+++ src/tar.c	2010-03-10 18:26:15.000000000 +0100
    1.74 +--- src/tar.c.orig	2010-10-24 20:07:55.000000000 +0200
    1.75 ++++ src/tar.c	2011-07-31 17:41:03.000000000 +0200
    1.76  @@ -20,6 +20,7 @@
    1.77      51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.  */
    1.78   
    1.79 @@ -70,8 +48,8 @@
    1.80   #include <fnmatch.h>
    1.81   #include <argp.h>
    1.82  Index: src/utf8.c
    1.83 ---- src/utf8.c.orig	2010-01-26 12:30:20.000000000 +0100
    1.84 -+++ src/utf8.c	2010-03-10 18:26:15.000000000 +0100
    1.85 +--- src/utf8.c.orig	2010-01-22 18:18:15.000000000 +0100
    1.86 ++++ src/utf8.c	2011-07-31 17:41:03.000000000 +0200
    1.87  @@ -22,6 +22,9 @@
    1.88   #include "common.h"
    1.89   #ifdef HAVE_ICONV_H
    1.90 @@ -83,8 +61,8 @@
    1.91   
    1.92   #ifndef ICONV_CONST
    1.93  Index: src/xheader.c
    1.94 ---- src/xheader.c.orig	2010-02-12 11:03:09.000000000 +0100
    1.95 -+++ src/xheader.c	2010-03-10 18:26:15.000000000 +0100
    1.96 +--- src/xheader.c.orig	2010-11-27 12:18:49.000000000 +0100
    1.97 ++++ src/xheader.c	2011-07-31 17:41:03.000000000 +0200
    1.98  @@ -26,6 +26,10 @@
    1.99   
   1.100   #include "common.h"
   1.101 @@ -93,6 +71,6 @@
   1.102  +# define SIZE_MAX ((size_t) -1)
   1.103  +#endif
   1.104  +
   1.105 + static void xheader_init (struct xheader *xhdr);
   1.106   static bool xheader_protected_pattern_p (char const *pattern);
   1.107   static bool xheader_protected_keyword_p (char const *keyword);
   1.108 - static void xheader_set_single_keyword (char *) __attribute__ ((noreturn));

mercurial