summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2008-04-12 20:30:53 +0000
committerMike Frysinger <vapier@gentoo.org>2008-04-12 20:30:53 +0000
commit6107ade7c52d62db1af42d2f1bdbe39bc5407f00 (patch)
treed7ffc5eaae7870254b000a9b04fa2483d142bfcd /net-misc/rsync/files
parentppc stable, bug #217310 (diff)
downloadgentoo-2-6107ade7c52d62db1af42d2f1bdbe39bc5407f00.tar.gz
gentoo-2-6107ade7c52d62db1af42d2f1bdbe39bc5407f00.tar.bz2
gentoo-2-6107ade7c52d62db1af42d2f1bdbe39bc5407f00.zip
update the patch to fix build issues on some systems #216887
(Portage version: 2.2_pre5)
Diffstat (limited to 'net-misc/rsync/files')
-rw-r--r--net-misc/rsync/files/rsync-3.0.1-xattr-alloc.diff11
1 files changed, 11 insertions, 0 deletions
diff --git a/net-misc/rsync/files/rsync-3.0.1-xattr-alloc.diff b/net-misc/rsync/files/rsync-3.0.1-xattr-alloc.diff
index 71547ffbede1..c409ac75cd7e 100644
--- a/net-misc/rsync/files/rsync-3.0.1-xattr-alloc.diff
+++ b/net-misc/rsync/files/rsync-3.0.1-xattr-alloc.diff
@@ -25,3 +25,14 @@ http://bugs.gentoo.org/216887
if (verbose >= 4) {
rprintf(FINFO, "[%s] expand %s to %.0f bytes, did%s move\n",
who_am_i(), desc, (double)new_size * item_size,
+--- a/proto.h
++++ b/proto.h
+@@ -322,7 +322,7 @@
+ int cmp_time(time_t file1, time_t file2);
+ int _Insure_trap_error(int a1, int a2, int a3, int a4, int a5, int a6);
+ void *_new_array(unsigned int size, unsigned long num);
+-void *_realloc_array(void *ptr, unsigned int size, unsigned long num);
++void *_realloc_array(void *ptr, unsigned int size, size_t num);
+ const char *find_filename_suffix(const char *fn, int fn_len, int *len_ptr);
+ uint32 fuzzy_distance(const char *s1, int len1, const char *s2, int len2);
+ struct bitbag *bitbag_create(int max_ndx);