[39904] trunk/dports/news/tin-recent
vinc17 at macports.org
vinc17 at macports.org
Thu Sep 11 01:21:56 PDT 2008
Revision: 39904
http://trac.macports.org/changeset/39904
Author: vinc17 at macports.org
Date: 2008-09-11 01:21:53 -0700 (Thu, 11 Sep 2008)
Log Message:
-----------
Patch that fixes supersede of articles with lines longer than the
terminal width (was posted to tin-dev).
Modified Paths:
--------------
trunk/dports/news/tin-recent/Portfile
Added Paths:
-----------
trunk/dports/news/tin-recent/files/
trunk/dports/news/tin-recent/files/patch-post.c.diff
Modified: trunk/dports/news/tin-recent/Portfile
===================================================================
--- trunk/dports/news/tin-recent/Portfile 2008-09-11 07:51:39 UTC (rev 39903)
+++ trunk/dports/news/tin-recent/Portfile 2008-09-11 08:21:53 UTC (rev 39904)
@@ -68,6 +68,7 @@
name tin-recent
version 1.9.3
+revision 1
categories news
platforms darwin
maintainers vincent-opdarw at vinc17.org
@@ -105,6 +106,8 @@
# from MacPorts anyway.
depends_lib port:gettext port:libiconv port:ncurses port:pcre
+patchfiles patch-post.c.diff
+
# Do not use the --enable-debug option. See
# From: Vincent Lefevre <vincent at vinc17.org>
# Newsgroups: tin.bugs
Added: trunk/dports/news/tin-recent/files/patch-post.c.diff
===================================================================
--- trunk/dports/news/tin-recent/files/patch-post.c.diff (rev 0)
+++ trunk/dports/news/tin-recent/files/patch-post.c.diff 2008-09-11 08:21:53 UTC (rev 39904)
@@ -0,0 +1,16 @@
+--- src/post.c~ 2008-04-29 16:44:06.000000000 +0200
++++ src/post.c 2008-08-23 18:48:48.375133239 +0200
+@@ -3731,10 +3731,12 @@
+ fprintf(fp, "[ Newsgroups: %-60s ]\n", note_h.newsgroups);
+ if (note_h.messageid)
+ fprintf(fp, "[ Message-ID: %-60s ]\n\n", note_h.messageid);
+- }
++ } else /* don't break long lines if superseeding */
++ resize_article(FALSE, artinfo);
+
+ {
+ int i = 0;
++
+ while (artinfo->cookl[i].flags & C_HEADER) /* skip headers in cooked art if any */
+ i++;
+ if (i) /* cooked art contained any headers, so skip also the header/body seperator */
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080911/c9869e61/attachment.html
More information about the macports-changes
mailing list