diff options
author | tnn <tnn@pkgsrc.org> | 2009-02-27 14:35:25 +0000 |
---|---|---|
committer | tnn <tnn@pkgsrc.org> | 2009-02-27 14:35:25 +0000 |
commit | 23ff34e8fc6ea7448cddbf4d681775345f2291df (patch) | |
tree | 2d21ff5e55ec9007e9373f9e8e26b25bc6d7c157 /devel/librsync | |
parent | 881391b10dd920e97b7f018307234eeda3706b41 (diff) | |
download | pkgsrc-23ff34e8fc6ea7448cddbf4d681775345f2291df.tar.gz |
Declare inline functions also as static. Fixes build with Sun Studio.
Diffstat (limited to 'devel/librsync')
-rw-r--r-- | devel/librsync/distinfo | 3 | ||||
-rw-r--r-- | devel/librsync/patches/patch-ac | 14 |
2 files changed, 16 insertions, 1 deletions
diff --git a/devel/librsync/distinfo b/devel/librsync/distinfo index 5b48775b021..297e11a22de 100644 --- a/devel/librsync/distinfo +++ b/devel/librsync/distinfo @@ -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 --git a/devel/librsync/patches/patch-ac b/devel/librsync/patches/patch-ac new file mode 100644 index 00000000000..90bcb935fd2 --- /dev/null +++ b/devel/librsync/patches/patch-ac @@ -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); |