Skip site navigation (1)Skip section navigation (2)
Date:      Fri,  3 Sep 2004 14:56:49 +0200 (CEST)
From:      Stefan Walter <sw@gegenunendlich.de>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/71336: [PATCH] textproc/csv2latex: unbreak by updating distinfo
Message-ID:  <20040903125649.1FB023E5A@kyuzo.dunkelkammer.void>
Resent-Message-ID: <200409031300.i83D0ljS021204@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         71336
>Category:       ports
>Synopsis:       [PATCH] textproc/csv2latex: unbreak by updating distinfo
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Sep 03 13:00:47 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Stefan Walter
>Release:        FreeBSD 5.2-CURRENT i386
>Organization:
Infinity Approximation Task Force
>Environment:
System: FreeBSD kyuzo.dunkelkammer.void 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Wed Jul 28 20:21:17 CEST 2004
>Description:
The distfile has changed; unbreak by updating distinfo. Here's a diff
(the old distfile should still be around on FreeBSD mirrors in case
anyone wants to verify the diff himself):

### beginning of diff ###

--- csv2latex.c.old	Fri Sep  3 14:35:26 2004
+++ csv2latex.c	Fri Sep  3 14:31:48 2004
@@ -20,7 +20,7 @@
 
 #define PACKAGE "csv2latex"
 #define RELEASE_DATE "2003/05/01"
-#define VERSION "0.5"
+#define VERSION "0.6"
 
 typedef struct {
 	char* tab;
@@ -244,7 +244,9 @@
 	fprintf(out, "\\hline\n");
 	doTeXsub(conf, '&', in, out); /* & is LaTeX sep */
 	fprintf(out, "\\end{tabular}\n");
-	fprintf(out, "\\end{document}\n");
+	if(conf->header){
+		fprintf(out, "\\end{document}\n");
+	}
 	return;
 }

### end of diff ###

The attached patch also bumps PORTREVISION, as the diff looks like it
fixes a bug in the program/corrects its behaviour.

Generated with FreeBSD Port Tools 0.50
>How-To-Repeat:
>Fix:
--- csv2latex-20030501_1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/textproc/csv2latex.old/Makefile /usr/ports/textproc/csv2latex/Makefile
--- /usr/ports/textproc/csv2latex.old/Makefile	Fri Sep  3 14:34:54 2004
+++ /usr/ports/textproc/csv2latex/Makefile	Fri Sep  3 14:50:23 2004
@@ -8,6 +8,7 @@
 
 PORTNAME=	csv2latex
 PORTVERSION=	20030501
+PORTREVISION=	1
 CATEGORIES=	textproc
 MASTER_SITES=	http://brouits.free.fr/share/utils/
 DISTNAME=	${PORTNAME}
@@ -15,8 +16,6 @@
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Converts a well formed csv file to a LaTeX document
-
-BROKEN=		Size mismatch
 
 USE_GETOPT_LONG=	yes
 NO_WRKSUBDIR=	yes
diff -ruN --exclude=CVS /usr/ports/textproc/csv2latex.old/distinfo /usr/ports/textproc/csv2latex/distinfo
--- /usr/ports/textproc/csv2latex.old/distinfo	Fri Sep  3 14:34:54 2004
+++ /usr/ports/textproc/csv2latex/distinfo	Fri Sep  3 14:37:58 2004
@@ -1,2 +1,2 @@
-MD5 (csv2latex.c) = d334bf0c814e1e8c76416b495fbe71eb
-SIZE (csv2latex.c) = 6807
+MD5 (csv2latex.c) = cf04dc2572c058201999f06a01d3a362
+SIZE (csv2latex.c) = 6830
--- csv2latex-20030501_1.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040903125649.1FB023E5A>