Bug 71336

Summary: [PATCH] textproc/csv2latex: unbreak by updating distinfo
Product: Ports & Packages Reporter: Stefan Walter <sw>
Component: Individual Port(s)Assignee: freebsd-ports-bugs mailing list <ports-bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
csv2latex-20030501_1.patch none

Description Stefan Walter 2004-09-03 14:00:47 UTC
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
Comment 1 Thierry Thomas freebsd_committer 2004-09-03 21:26:35 UTC
State Changed
From-To: open->closed


Committed, thanks! 

Remark: don't bump PORTREVISION, but change the date.