summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Wegener <swegener@gentoo.org>2004-06-18 18:30:56 +0000
committerSven Wegener <swegener@gentoo.org>2004-06-18 18:30:56 +0000
commitd038ecffafb25343fb13f5b0606900f55df194b4 (patch)
tree4f3245723c408c94492a00e0579927c58db643dc /net-news/slrn/files
parent~amd64 (Manifest recommit) (diff)
downloadgentoo-2-d038ecffafb25343fb13f5b0606900f55df194b4.tar.gz
gentoo-2-d038ecffafb25343fb13f5b0606900f55df194b4.tar.bz2
gentoo-2-d038ecffafb25343fb13f5b0606900f55df194b4.zip
Added support for yEnc encoded articles. Integrated four patches from upstream. Added metadata.xml.
Diffstat (limited to 'net-news/slrn/files')
-rw-r--r--net-news/slrn/files/0.9.8.0/slrn-0.9.8.0-mime.diff11
-rw-r--r--net-news/slrn/files/0.9.8.0/slrn-0.9.8.0-post.diff12
-rw-r--r--net-news/slrn/files/0.9.8.0/slrn-0.9.8.0-ranges.diff27
-rw-r--r--net-news/slrn/files/0.9.8.0/slrn-0.9.8.0-ranges2.diff26
-rw-r--r--net-news/slrn/files/digest-slrn-0.9.8.0-r11
5 files changed, 77 insertions, 0 deletions
diff --git a/net-news/slrn/files/0.9.8.0/slrn-0.9.8.0-mime.diff b/net-news/slrn/files/0.9.8.0/slrn-0.9.8.0-mime.diff
new file mode 100644
index 000000000000..f6375e76e589
--- /dev/null
+++ b/net-news/slrn/files/0.9.8.0/slrn-0.9.8.0-mime.diff
@@ -0,0 +1,11 @@
+--- slrn/src/mime.c~ 2002-11-01 13:32:34.000000000 +0100
++++ slrn/src/mime.c 2003-11-21 18:39:34.000000000 +0100
+@@ -650,7 +650,7 @@
+ l = a->lines;
+
+ /* skip header and separator */
+- while (((l != NULL) && (l->flags & HEADER_LINE)) || l->buf[0] == '\0')
++ while ((l != NULL) && ((l->flags & HEADER_LINE) || l->buf[0] == '\0'))
+ l = l->next;
+
+ if (l == NULL) return;
diff --git a/net-news/slrn/files/0.9.8.0/slrn-0.9.8.0-post.diff b/net-news/slrn/files/0.9.8.0/slrn-0.9.8.0-post.diff
new file mode 100644
index 000000000000..3378877abfc2
--- /dev/null
+++ b/net-news/slrn/files/0.9.8.0/slrn-0.9.8.0-post.diff
@@ -0,0 +1,12 @@
+--- slrn-0.9.8.0/src/post.c 2003-07-31 19:21:18.000000000 +0200
++++ slrn/src/post.c 2003-09-04 23:56:33.000000000 +0200
+@@ -1233,6 +1234,9 @@
+
+ va_start(ap, fmt);
+ Slrn_Post_Obj->po_vprintf(fmt, ap);
++ va_end(ap);
++
++ va_start(ap, fmt);
+ vfprintf(fcc_fp, fmt, ap);
+ va_end(ap);
+ }
diff --git a/net-news/slrn/files/0.9.8.0/slrn-0.9.8.0-ranges.diff b/net-news/slrn/files/0.9.8.0/slrn-0.9.8.0-ranges.diff
new file mode 100644
index 000000000000..4888cbdd91ee
--- /dev/null
+++ b/net-news/slrn/files/0.9.8.0/slrn-0.9.8.0-ranges.diff
@@ -0,0 +1,27 @@
+--- slrn-0.9.8.0/src/ranges.c 2003-08-02 01:19:39.000000000 +0200
++++ slrn/src/ranges.c 2003-09-02 14:45:34.000000000 +0200
+@@ -264,13 +264,17 @@
+ do
+ {
+ /* skip ranges that don't intersect at all */
+- if (b != NULL)
+- while ((a != NULL) && (a->max < b->min))
+- a = a->next;
+-
+- if (a != NULL)
+- while ((b != NULL) && (b->max < a->min))
+- b = b->next;
++ do
++ {
++ if (b != NULL)
++ while ((a != NULL) && (a->max < b->min))
++ a = a->next;
++
++ if (a != NULL)
++ while ((b != NULL) && (b->max < a->min))
++ b = b->next;
++ }
++ while ((a!=NULL) && (b!=NULL) && (a->max < b->min));
+
+ /* append a range containing the next intersection */
+ if ((a!=NULL) && (b!=NULL))
diff --git a/net-news/slrn/files/0.9.8.0/slrn-0.9.8.0-ranges2.diff b/net-news/slrn/files/0.9.8.0/slrn-0.9.8.0-ranges2.diff
new file mode 100644
index 000000000000..cce311cddd2f
--- /dev/null
+++ b/net-news/slrn/files/0.9.8.0/slrn-0.9.8.0-ranges2.diff
@@ -0,0 +1,26 @@
+--- slrn/src/ranges.c.orig 2004-02-12 22:38:53.000000000 +0100
++++ slrn/src/ranges.c 2004-02-12 23:02:33.000000000 +0100
+@@ -136,7 +136,22 @@
+ r->next = n;
+
+ return head;
+- }
++ }
++
++ /* Do we need to insert a new range? */
++ if (max+1 < r->min)
++ {
++ Slrn_Range_Type *n;
++ n = (Slrn_Range_Type *) slrn_safe_malloc (sizeof(Slrn_Range_Type));
++ n->min = min;
++ n->max = max;
++ n->next = r;
++ n->prev = r->prev;
++ n->prev->next = n;
++ r->prev = n;
++
++ return head;
++ }
+
+ /* Update min / max values */
+ if (min < r->min)
diff --git a/net-news/slrn/files/digest-slrn-0.9.8.0-r1 b/net-news/slrn/files/digest-slrn-0.9.8.0-r1
new file mode 100644
index 000000000000..02026be11140
--- /dev/null
+++ b/net-news/slrn/files/digest-slrn-0.9.8.0-r1
@@ -0,0 +1 @@
+MD5 47e9931771114ba192356a0473e9649e slrn-0.9.8.0.tar.bz2 995881