pkgsrc-Changes archive

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

CVS commit: pkgsrc/converters/uulib



Module Name:    pkgsrc
Committed By:   rhialto
Date:           Sat Nov 16 22:22:45 UTC 2019

Modified Files:
        pkgsrc/converters/uulib: Makefile distinfo
Added Files:
        pkgsrc/converters/uulib/patches: patch-uulib_uulib.c

Log Message:
Add a patch to fix reading header lines from 511 to 1023 chars.


To generate a diff of this commit:
cvs rdiff -u -r1.45 -r1.46 pkgsrc/converters/uulib/Makefile
cvs rdiff -u -r1.14 -r1.15 pkgsrc/converters/uulib/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/converters/uulib/patches/patch-uulib_uulib.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/converters/uulib/Makefile
diff -u pkgsrc/converters/uulib/Makefile:1.45 pkgsrc/converters/uulib/Makefile:1.46
--- pkgsrc/converters/uulib/Makefile:1.45       Wed Oct  3 00:20:18 2012
+++ pkgsrc/converters/uulib/Makefile    Sat Nov 16 22:22:45 2019
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.45 2012/10/03 00:20:18 asau Exp $
+# $NetBSD: Makefile,v 1.46 2019/11/16 22:22:45 rhialto Exp $
 #
 
 DISTNAME=      uudeview-0.5.20
 PKGNAME=       uulib-0.5.20
-PKGREVISION=   5
+PKGREVISION=   6
 CATEGORIES=    converters
 MASTER_SITES=  http://www.fpx.de/fp/Software/UUDeview/download/
 

Index: pkgsrc/converters/uulib/distinfo
diff -u pkgsrc/converters/uulib/distinfo:1.14 pkgsrc/converters/uulib/distinfo:1.15
--- pkgsrc/converters/uulib/distinfo:1.14       Fri Jul  7 11:19:44 2017
+++ pkgsrc/converters/uulib/distinfo    Sat Nov 16 22:22:45 2019
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.14 2017/07/07 11:19:44 wiz Exp $
+$NetBSD: distinfo,v 1.15 2019/11/16 22:22:45 rhialto Exp $
 
 SHA1 (uudeview-0.5.20.tar.gz) = 2c6ab7d355b545218bd0877d598bd5327d9fd125
 RMD160 (uudeview-0.5.20.tar.gz) = 9bb52fa3ad4979383ff16d1e8d8a302c5c794c66
@@ -7,3 +7,4 @@ Size (uudeview-0.5.20.tar.gz) = 261574 b
 SHA1 (patch-aa) = 2f495c982bb8a96ffd60f1bcd4ce65e6c226083c
 SHA1 (patch-ab) = f23ca7945a0697dc8e49ba9c7765bfa655ed8566
 SHA1 (patch-ac) = e167fedf6ca5933d027407715c4275d60d1ee795
+SHA1 (patch-uulib_uulib.c) = fcfc3b3450f49a58b827553c8588abf09dfb2310

Added files:

Index: pkgsrc/converters/uulib/patches/patch-uulib_uulib.c
diff -u /dev/null pkgsrc/converters/uulib/patches/patch-uulib_uulib.c:1.1
--- /dev/null   Sat Nov 16 22:22:45 2019
+++ pkgsrc/converters/uulib/patches/patch-uulib_uulib.c Sat Nov 16 22:22:45 2019
@@ -0,0 +1,20 @@
+$NetBSD: patch-uulib_uulib.c,v 1.1 2019/11/16 22:22:45 rhialto Exp $
+
+Use the full length of the buffer to read (potentially long)
+header lines. Patch taken from "nget+uulib v0.27.1 tarball"
+at http://nget.sourceforge.net/.
+
+--- uulib/uulib.c.orig 2003-09-29 23:27:47.000000000 +0000
++++ uulib/uulib.c
+@@ -1103,9 +1103,9 @@ UUInfoFile (uulist *thefile, void *opaqu
+ 
+   while (!feof (inpfile) && 
+        (uu_fast_scanning || ftell(inpfile) < maxpos)) {
+-    if (_FP_fgets (uugen_inbuffer, 511, inpfile) == NULL)
++    if (_FP_fgets (uugen_inbuffer, 1023, inpfile) == NULL)
+       break;
+-    uugen_inbuffer[511] = '\0';
++    uugen_inbuffer[1023] = '\0';
+ 
+     if (ferror (inpfile))
+       break;



Home | Main Index | Thread Index | Old Index