Tue, 28 Aug 2012 18:36:35 +0200
Correct the paths of patched scripts, refine password generation,
mitigate fdatasync(2) detection problems, correct dependencies, remove
outdated autoconf components, correct conf file paths and attributes,
complete and correct log file rotation handing, and note warnings
useful for diagnosing builds.
1 Index: Makefile.in
2 --- Makefile.in.orig 2011-03-12 10:50:13.000000000 +0100
3 +++ Makefile.in 2011-07-31 17:41:03.000000000 +0200
4 @@ -1028,7 +1028,7 @@
5 top_srcdir = @top_srcdir@
6 ACLOCAL_AMFLAGS = -I m4
7 EXTRA_DIST = ChangeLog.1 Make.rules
8 -SUBDIRS = doc gnu lib rmt src scripts po tests
9 +SUBDIRS = doc gnu lib src
10 gen_start_date = 2009-03-06
11 prev_change_log = ChangeLog.CVS
12 changelog_dir = .
13 Index: gnu/argp-help.c
14 --- gnu/argp-help.c.orig 2011-03-12 10:14:26.000000000 +0100
15 +++ gnu/argp-help.c 2011-07-31 17:44:24.000000000 +0200
16 @@ -571,10 +571,7 @@
17 return val;
18 }
20 -static inline int
21 -#if __GNUC__ >= 3
22 -__attribute__ ((always_inline))
23 -#endif
24 +static int
25 hol_entry_long_iterate (const struct hol_entry *entry,
26 int (*func)(const struct argp_option *opt,
27 const struct argp_option *real,
28 Index: gnu/strerror.c
29 --- gnu/strerror.c.orig 2011-03-12 10:14:33.000000000 +0100
30 +++ gnu/strerror.c 2011-07-31 17:41:03.000000000 +0200
31 @@ -25,6 +25,7 @@
33 # include <errno.h>
34 # include <stdio.h>
35 +# include <limits.h>
37 # if GNULIB_defined_ESOCK /* native Windows platforms */
38 # if HAVE_WINSOCK2_H
39 Index: src/tar.c
40 --- src/tar.c.orig 2010-10-24 20:07:55.000000000 +0200
41 +++ src/tar.c 2011-07-31 17:41:03.000000000 +0200
42 @@ -20,6 +20,7 @@
43 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */
45 #include <system.h>
46 +#include <locale.h>
48 #include <fnmatch.h>
49 #include <argp.h>
50 Index: src/utf8.c
51 --- src/utf8.c.orig 2010-01-22 18:18:15.000000000 +0100
52 +++ src/utf8.c 2011-07-31 17:41:03.000000000 +0200
53 @@ -22,6 +22,9 @@
54 #include "common.h"
55 #ifdef HAVE_ICONV_H
56 # include <iconv.h>
57 +#else
58 +# define iconv_t void *
59 +# define ICONV_CONST const
60 #endif
62 #ifndef ICONV_CONST
63 Index: src/xheader.c
64 --- src/xheader.c.orig 2010-11-27 12:18:49.000000000 +0100
65 +++ src/xheader.c 2011-07-31 17:41:03.000000000 +0200
66 @@ -26,6 +26,10 @@
68 #include "common.h"
70 +#ifndef SIZE_MAX
71 +# define SIZE_MAX ((size_t) -1)
72 +#endif
73 +
74 static void xheader_init (struct xheader *xhdr);
75 static bool xheader_protected_pattern_p (char const *pattern);
76 static bool xheader_protected_keyword_p (char const *keyword);