Bug 71336 - [PATCH] textproc/csv2latex: unbreak by updating distinfo
Summary: [PATCH] textproc/csv2latex: unbreak by updating distinfo
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-03 14:00 UTC by Stefan Walter
Modified: 2004-09-03 21:27 UTC (History)
0 users

See Also:


Attachments
csv2latex-20030501_1.patch (1.00 KB, patch)
2004-09-03 14:00 UTC, Stefan Walter
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.