pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/librsync Declare inline functions also as static...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b986f77c751b
branches:  trunk
changeset: 555306:b986f77c751b
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Fri Feb 27 14:35:25 2009 +0000

description:
Declare inline functions also as static. Fixes build with Sun Studio.

diffstat:

 devel/librsync/distinfo         |   3 ++-
 devel/librsync/patches/patch-ac |  14 ++++++++++++++
 2 files changed, 16 insertions(+), 1 deletions(-)

diffs (31 lines):

diff -r dd3fab0d6a9a -r b986f77c751b devel/librsync/distinfo
--- a/devel/librsync/distinfo   Fri Feb 27 13:05:20 2009 +0000
+++ b/devel/librsync/distinfo   Fri Feb 27 14:35:25 2009 +0000
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.5 2007/02/20 19:15:03 snj Exp $
+$NetBSD: distinfo,v 1.6 2009/02/27 14:35:25 tnn Exp $
 
 SHA1 (librsync-0.9.7.tar.gz) = d575eb5cae7a815798220c3afeff5649d3e8b4ab
 RMD160 (librsync-0.9.7.tar.gz) = 39ca29334d0efabc0ee9e4d44abbe73a7d2fe831
 Size (librsync-0.9.7.tar.gz) = 453802 bytes
 SHA1 (patch-aa) = 79936cf4170736a59a3a918c7d7df9d63a549e7d
 SHA1 (patch-ab) = 23b3267b39c8f9185dc8321898422ace81b4e27c
+SHA1 (patch-ac) = 19c0dc0e76f5c1e44860b4dc9f1344c1e643b208
diff -r dd3fab0d6a9a -r b986f77c751b devel/librsync/patches/patch-ac
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/librsync/patches/patch-ac   Fri Feb 27 14:35:25 2009 +0000
@@ -0,0 +1,14 @@
+$NetBSD: patch-ac,v 1.1 2009/02/27 14:35:25 tnn Exp $
+
+Declare inline functions also as static. Fixes build with Sun Studio.
+
+--- delta.c.orig       2004-09-17 23:35:49.000000000 +0200
++++ delta.c
+@@ -125,6 +125,7 @@ static rs_result rs_delta_s_scan(rs_job_
+ static rs_result rs_delta_s_flush(rs_job_t *job);
+ static rs_result rs_delta_s_end(rs_job_t *job);
+ void rs_getinput(rs_job_t *job);
++#define inline static inline
+ inline int rs_findmatch(rs_job_t *job, rs_long_t *match_pos, size_t *match_len);
+ inline rs_result rs_appendmatch(rs_job_t *job, rs_long_t match_pos, size_t match_len);
+ inline rs_result rs_appendmiss(rs_job_t *job, size_t miss_len);



Home | Main Index | Thread Index | Old Index