summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authortnn <tnn>2009-02-27 14:35:25 +0000
committertnn <tnn>2009-02-27 14:35:25 +0000
commit9a7006134494a024fed120157f07fb411f16ec24 (patch)
tree2d21ff5e55ec9007e9373f9e8e26b25bc6d7c157 /devel
parent2adac266517f47bd84e783242b72c38dabc54bb4 (diff)
downloadpkgsrc-9a7006134494a024fed120157f07fb411f16ec24.tar.gz
Declare inline functions also as static. Fixes build with Sun Studio.
Diffstat (limited to 'devel')
-rw-r--r--devel/librsync/distinfo3
-rw-r--r--devel/librsync/patches/patch-ac14
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);