rpms/flex/F-9 flex-2.5.35-sign.patch,NONE,1.1 flex.spec,1.54,1.55

Petr Machata (pmachata) fedora-extras-commits at redhat.com
Mon May 12 11:32:33 UTC 2008


Author: pmachata

Update of /cvs/pkgs/rpms/flex/F-9
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv12061

Modified Files:
	flex.spec 
Added Files:
	flex-2.5.35-sign.patch 
Log Message:
Reintroduce the signed patch


flex-2.5.35-sign.patch:

--- NEW FILE flex-2.5.35-sign.patch ---
--- flex-2.5.35/gen.c-orig	2008-04-30 22:51:08.000000000 +0200
+++ flex-2.5.35/gen.c	2008-04-30 22:51:14.000000000 +0200
@@ -1890,7 +1890,7 @@
 			outn ("\tif ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \\");
 			outn ("\t\t{ \\");
 			outn ("\t\tint c = '*'; \\");
-			outn ("\t\tint n; \\");
+			outn ("\t\tunsigned n; \\");
 			outn ("\t\tfor ( n = 0; n < max_size && \\");
 			outn ("\t\t\t     (c = getc( yyin )) != EOF && c != '\\n'; ++n ) \\");
 			outn ("\t\t\tbuf[n] = (char) c; \\");


Index: flex.spec
===================================================================
RCS file: /cvs/pkgs/rpms/flex/F-9/flex.spec,v
retrieving revision 1.54
retrieving revision 1.55
diff -u -r1.54 -r1.55
--- flex.spec	27 Feb 2008 17:27:56 -0000	1.54
+++ flex.spec	12 May 2008 11:31:51 -0000	1.55
@@ -1,11 +1,12 @@
 Summary: A tool for creating scanners (text pattern recognizers)
 Name: flex
 Version: 2.5.35
-Release: 1%{?dist}
+Release: 2%{?dist}
 License: BSD
 Group: Development/Tools
 URL: http://flex.sourceforge.net/
 Source: flex-%{version}.tar.bz2
+Patch0: flex-2.5.35-sign.patch
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 Requires: m4
 BuildRequires: gettext bison m4
@@ -28,6 +29,7 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %configure --disable-dependency-tracking CFLAGS="-fPIC $RPM_OPT_FLAGS"
@@ -74,6 +76,9 @@
 %{_infodir}/flex.info*
 
 %changelog
+* Mon May 12 2008 Petr Machata <pmachata at redhat.com> - 2.5.35-2
+- Resolves: #445950
+
 * Wed Feb 27 2008 Petr Machata <pmachata at redhat.com> - 2.5.35-1
 - Rebase to 2.5.35. Drop two patches.
 - Resolves: #434961




More information about the scm-commits mailing list