openpkg/tar.patch

changeset 250
bda4f5eec616
parent 13
cb59d6afeb61
child 428
f880f219c566
     1.1 --- a/openpkg/tar.patch	Wed May 19 13:23:54 2010 +0200
     1.2 +++ b/openpkg/tar.patch	Fri Aug 27 14:56:07 2010 +0200
     1.3 @@ -1,19 +1,19 @@
     1.4  Index: Makefile.in
     1.5 ---- Makefile.in.orig	2007-10-10 13:00:22 +0200
     1.6 -+++ Makefile.in	2007-10-17 08:40:12 +0200
     1.7 -@@ -485,7 +485,7 @@
     1.8 - target_alias = @target_alias@
     1.9 +--- Makefile.in.orig	2010-03-10 11:52:09.000000000 +0100
    1.10 ++++ Makefile.in	2010-03-10 18:28:13.000000000 +0100
    1.11 +@@ -899,7 +899,7 @@
    1.12 + top_srcdir = @top_srcdir@
    1.13   ACLOCAL_AMFLAGS = -I m4
    1.14 - EXTRA_DIST = ChangeLog.1 PORTS
    1.15 --SUBDIRS = doc lib rmt src scripts po tests
    1.16 -+SUBDIRS = doc lib src
    1.17 - all: config.h
    1.18 - 	$(MAKE) $(AM_MAKEFLAGS) all-recursive
    1.19 - 
    1.20 -Index: lib/argp-help.c
    1.21 ---- lib/argp-help.c.orig	2007-09-28 15:11:36 +0200
    1.22 -+++ lib/argp-help.c	2007-10-17 08:40:12 +0200
    1.23 -@@ -570,8 +570,7 @@
    1.24 + EXTRA_DIST = ChangeLog.1 Make.rules
    1.25 +-SUBDIRS = doc gnu lib rmt src scripts po tests
    1.26 ++SUBDIRS = doc gnu lib src
    1.27 + gen_start_date = 2009-03-06
    1.28 + prev_change_log = ChangeLog.CVS
    1.29 + changelog_dir = .
    1.30 +Index: gnu/argp-help.c
    1.31 +--- gnu/argp-help.c.orig	2010-03-10 11:50:33.000000000 +0100
    1.32 ++++ gnu/argp-help.c	2010-03-10 18:26:15.000000000 +0100
    1.33 +@@ -571,8 +571,7 @@
    1.34     return val;
    1.35   }
    1.36   
    1.37 @@ -21,12 +21,23 @@
    1.38  -__attribute__ ((always_inline))
    1.39  +static int
    1.40   hol_entry_long_iterate (const struct hol_entry *entry,
    1.41 - 			int (*func)(const struct argp_option *opt,
    1.42 - 				    const struct argp_option *real,
    1.43 +                         int (*func)(const struct argp_option *opt,
    1.44 +                                     const struct argp_option *real,
    1.45 +Index: gnu/strerror.c
    1.46 +--- gnu/strerror.c.orig	2010-03-10 11:50:43.000000000 +0100
    1.47 ++++ gnu/strerror.c	2010-03-10 18:26:15.000000000 +0100
    1.48 +@@ -25,6 +25,7 @@
    1.49 + 
    1.50 + # include <errno.h>
    1.51 + # include <stdio.h>
    1.52 ++# include <limits.h>
    1.53 + 
    1.54 + # if GNULIB_defined_ESOCK /* native Windows platforms */
    1.55 + #  if HAVE_WINSOCK2_H
    1.56  Index: src/compare.c
    1.57 ---- src/compare.c.orig	2007-08-26 10:56:55 +0200
    1.58 -+++ src/compare.c	2007-10-17 08:40:12 +0200
    1.59 -@@ -278,7 +278,7 @@
    1.60 +--- src/compare.c.orig	2010-01-26 12:28:09.000000000 +0100
    1.61 ++++ src/compare.c	2010-03-10 18:26:15.000000000 +0100
    1.62 +@@ -277,7 +277,7 @@
    1.63     size_t len = strlen (current_stat_info.link_name);
    1.64     char *linkbuf = alloca (len + 1);
    1.65   
    1.66 @@ -36,9 +47,9 @@
    1.67     if (status < 0)
    1.68       {
    1.69  Index: src/create.c
    1.70 ---- src/create.c.orig	2007-10-05 19:46:49 +0200
    1.71 -+++ src/create.c	2007-10-17 08:40:12 +0200
    1.72 -@@ -1696,7 +1696,7 @@
    1.73 +--- src/create.c.orig	2010-03-09 13:52:41.000000000 +0100
    1.74 ++++ src/create.c	2010-03-10 18:26:15.000000000 +0100
    1.75 +@@ -1690,7 +1690,7 @@
    1.76         if (linklen != st->stat.st_size || linklen + 1 == 0)
    1.77   	xalloc_die ();
    1.78         buffer = (char *) alloca (linklen + 1);
    1.79 @@ -46,21 +57,10 @@
    1.80  +      size = readlink (p, buffer, linklen);
    1.81         if (size < 0)
    1.82   	{
    1.83 - 	  readlink_diag (p);
    1.84 -Index: src/incremen.c
    1.85 ---- src/incremen.c.orig	2007-10-01 23:19:55 +0200
    1.86 -+++ src/incremen.c	2007-10-17 08:40:12 +0200
    1.87 -@@ -526,6 +526,7 @@
    1.88 -            children = CHANGED_CHILDREN;
    1.89 - 	 but changed to: */
    1.90 -       free (name_buffer);
    1.91 -+      if (dirp)
    1.92 -       free (dirp);
    1.93 -       return NULL;
    1.94 -     }
    1.95 + 	  file_removed_diag (p, top_level, readlink_diag);
    1.96  Index: src/tar.c
    1.97 ---- src/tar.c.orig	2007-09-26 23:36:58 +0200
    1.98 -+++ src/tar.c	2007-10-17 08:40:12 +0200
    1.99 +--- src/tar.c.orig	2010-03-09 13:52:41.000000000 +0100
   1.100 ++++ src/tar.c	2010-03-10 18:26:15.000000000 +0100
   1.101  @@ -20,6 +20,7 @@
   1.102      51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.  */
   1.103   
   1.104 @@ -70,8 +70,8 @@
   1.105   #include <fnmatch.h>
   1.106   #include <argp.h>
   1.107  Index: src/utf8.c
   1.108 ---- src/utf8.c.orig	2007-06-27 15:30:32 +0200
   1.109 -+++ src/utf8.c	2007-10-17 08:40:12 +0200
   1.110 +--- src/utf8.c.orig	2010-01-26 12:30:20.000000000 +0100
   1.111 ++++ src/utf8.c	2010-03-10 18:26:15.000000000 +0100
   1.112  @@ -22,6 +22,9 @@
   1.113   #include "common.h"
   1.114   #ifdef HAVE_ICONV_H
   1.115 @@ -83,11 +83,11 @@
   1.116   
   1.117   #ifndef ICONV_CONST
   1.118  Index: src/xheader.c
   1.119 ---- src/xheader.c.orig	2007-06-27 15:30:32 +0200
   1.120 -+++ src/xheader.c	2007-10-17 08:40:12 +0200
   1.121 -@@ -27,6 +27,10 @@
   1.122 +--- src/xheader.c.orig	2010-02-12 11:03:09.000000000 +0100
   1.123 ++++ src/xheader.c	2010-03-10 18:26:15.000000000 +0100
   1.124 +@@ -26,6 +26,10 @@
   1.125   
   1.126 - #include <fnmatch.h>
   1.127 + #include "common.h"
   1.128   
   1.129  +#ifndef SIZE_MAX
   1.130  +# define SIZE_MAX ((size_t) -1)
   1.131 @@ -96,14 +96,3 @@
   1.132   static bool xheader_protected_pattern_p (char const *pattern);
   1.133   static bool xheader_protected_keyword_p (char const *keyword);
   1.134   static void xheader_set_single_keyword (char *) __attribute__ ((noreturn));
   1.135 -Index: lib/strerror.c
   1.136 ---- lib/strerror.c.orig	2007-09-28 15:11:37 +0200
   1.137 -+++ lib/strerror.c	2007-10-18 00:55:28 +0200
   1.138 -@@ -23,6 +23,7 @@
   1.139 - 
   1.140 - # include <string.h>
   1.141 - # include <stdio.h>
   1.142 -+# include <limits.h>
   1.143 - 
   1.144 - # undef strerror
   1.145 - 

mercurial