ports/71336: [PATCH] textproc/csv2latex: unbreak by updating distinfo
Stefan Walter
sw at gegenunendlich.de
Fri Sep 3 13:00:52 UTC 2004
>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 at 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:
More information about the freebsd-ports-bugs
mailing list