rpms/flex/F-13 flex-2.5.35-missing-prototypes.patch, NONE, 1.1 flex.spec, 1.62, 1.63

Petr Machata pmachata at fedoraproject.org
Tue Jul 13 16:07:15 UTC 2010


Author: pmachata

Update of /cvs/pkgs/rpms/flex/F-13
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv1749

Modified Files:
	flex.spec 
Added Files:
	flex-2.5.35-missing-prototypes.patch 
Log Message:
- Declare yyget_column and yyset_column in reentrant mode.
- Resolves: #612465


flex-2.5.35-missing-prototypes.patch:
 flex.skl |   16 ++++++++++++++++
 1 file changed, 16 insertions(+)

--- NEW FILE flex-2.5.35-missing-prototypes.patch ---
diff -up flex-2.5.35/flex.skl\~ flex-2.5.35/flex.skl
--- flex-2.5.35/flex.skl~	2010-07-13 17:18:43.000000000 +0200
+++ flex-2.5.35/flex.skl	2010-07-13 17:23:49.000000000 +0200
@@ -960,6 +960,22 @@ m4_ifdef( [[M4_YY_NO_SET_LINENO]],,
 void yyset_lineno M4_YY_PARAMS( int line_number M4_YY_PROTO_LAST_ARG );
 ]])
 
+m4_ifdef( [[M4_YY_REENTRANT]],
+[[
+m4_ifdef( [[M4_YY_NO_GET_COLUMN]],,
+[[
+int yyget_column  M4_YY_PARAMS( M4_YY_PROTO_ONLY_ARG );
+]])
+]])
+
+m4_ifdef( [[M4_YY_REENTRANT]],
+[[
+m4_ifdef( [[M4_YY_NO_SET_COLUMN]],,
+[[
+void yyset_column M4_YY_PARAMS( int column_no M4_YY_PROTO_LAST_ARG );
+]])
+]])
+
 %if-bison-bridge
 m4_ifdef( [[M4_YY_NO_GET_LVAL]],,
 [[

Diff finished.  Tue Jul 13 17:27:50 2010


Index: flex.spec
===================================================================
RCS file: /cvs/pkgs/rpms/flex/F-13/flex.spec,v
retrieving revision 1.62
retrieving revision 1.63
diff -u -p -r1.62 -r1.63
--- flex.spec	21 Jan 2010 16:14:15 -0000	1.62
+++ flex.spec	13 Jul 2010 16:07:15 -0000	1.63
@@ -1,7 +1,7 @@
 Summary: A tool for creating scanners (text pattern recognizers)
 Name: flex
 Version: 2.5.35
-Release: 9%{?dist}
+Release: 10%{?dist}
 License: BSD
 Group: Development/Tools
 URL: http://flex.sourceforge.net/
@@ -9,6 +9,7 @@ Source: http://downloads.sourceforge.net
 Patch0: flex-2.5.35-sign.patch
 Patch1: flex-2.5.35-hardening.patch
 Patch2: flex-2.5.35-gcc44.patch
+Patch3: flex-2.5.35-missing-prototypes.patch
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 Requires: m4
 BuildRequires: gettext bison m4
@@ -54,6 +55,7 @@ instead of implementing their own.
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
+%patch3 -p1
 
 %build
 %configure --disable-dependency-tracking CFLAGS="-fPIC $RPM_OPT_FLAGS"
@@ -107,6 +109,10 @@ rm -rf ${RPM_BUILD_ROOT}
 %{_libdir}/*.a
 
 %changelog
+* Tue Jul 13 2010 Petr Machata <pmachata at redhat.com> - 2.5.35-10
+- Declare yyget_column and yyset_column in reentrant mode.
+- Resolves: #612465
+
 * Wed Jan 20 2010 Petr Machata <pmachata at redhat.com> - 2.5.35-9
 - Move libraries into a sub-package of their own.
 



More information about the scm-commits mailing list