rpms/tetex-lgrind/FC-4 lgrind-3.67-parsevartab.patch, NONE, 1.1 tetex-lgrind.spec, 1.9, 1.10

Michael Schwendt (mschwendt) fedora-extras-commits at redhat.com
Sat Jul 23 19:57:37 UTC 2005


Author: mschwendt

Update of /cvs/extras/rpms/tetex-lgrind/FC-4
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv23101

Modified Files:
	tetex-lgrind.spec 
Added Files:
	lgrind-3.67-parsevartab.patch 
Log Message:
Sync with devel to fix #162523.

lgrind-3.67-parsevartab.patch:

--- NEW FILE lgrind-3.67-parsevartab.patch ---
diff -Nur lgrind-orig/source/lgutil.c lgrind/source/lgutil.c
--- lgrind-orig/source/lgutil.c	2001-11-04 12:24:22.000000000 +0100
+++ lgrind/source/lgutil.c	2005-07-23 21:43:45.000000000 +0200
@@ -277,7 +277,7 @@
 	char linebuf[201], *cp;
 	varsubst *varsubsts=NULL, *substitem, *substlistpos;
 
-	if (f==NULL) return;
+	if (f==NULL) return NULL;
 	while (!feof(f))
 	{
 		fscanf(f, "%200[^\n]", linebuf);


Index: tetex-lgrind.spec
===================================================================
RCS file: /cvs/extras/rpms/tetex-lgrind/FC-4/tetex-lgrind.spec,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- tetex-lgrind.spec	22 May 2005 22:26:49 -0000	1.9
+++ tetex-lgrind.spec	23 Jul 2005 19:57:35 -0000	1.10
@@ -6,8 +6,7 @@
 Summary:          Source-code pretty-printer for LaTeX
 Name:             tetex-lgrind
 Version:          3.67
-Release: 6
-
+Release:          6.1
 URL:              http://www.ctan.org/tex-archive/support/lgrind
 License:          BSD
 Group:            Applications/Publishing
@@ -15,6 +14,7 @@
 # automatically generated by the FTP site. To verify the file, the
 # file contained in the tarballs have to be verified one by one.
 Source0:          ftp://ftp.dante.de/tex-archive/support/lgrind.tar.gz
+Patch0:           lgrind-3.67-parsevartab.patch
 BuildRoot:        %{_tmppath}/%{name}-%{version}-%{release}-root
 Requires(post):   tetex
 Requires(postun): tetex
@@ -33,6 +33,7 @@
 
 %prep
 %setup -q -n lgrind
+%patch0 -p1 -b .parsevartab
 
 %build
 make %{?_smp_mflags} \
@@ -78,6 +79,9 @@
 %{texmf}/tex/latex/%{tdsname}
 
 %changelog
+* Sat Jul 23 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 3.67-6.1
+- Fix "missing expression in return statement" (#150297).
+
 * Sun May 22 2005 Jeremy Katz <katzj at redhat.com> - 3.67-6
 - rebuild on all arches
 




More information about the fedora-extras-commits mailing list