- Generate prototypes for accessor functions. Upstream patch.

- Related: #432203
This commit is contained in:
Petr Machata 2008-02-11 12:24:05 +00:00
parent 0eef73d4b4
commit 37c97f3c4c
2 changed files with 26 additions and 1 deletions

View File

@ -0,0 +1,19 @@
--- flex.skl 2008/02/09 15:49:48 2.211
+++ flex.skl 2008/02/09 18:54:56 2.212
@@ -889,6 +889,8 @@
%endif
+%endif End reentrant structures and macros.
+
/* Accessor methods to globals.
These are made visible to non-reentrant scanners for convenience. */
@@ -978,7 +980,6 @@
]])
]])
%endif
-%endif End reentrant structures and macros.
/* Macros after this point can all be overridden by user definitions in
* section 1.

View File

@ -1,7 +1,7 @@
Summary: A tool for creating scanners (text pattern recognizers)
Name: flex
Version: 2.5.33
Release: 16%{?dist}
Release: 17%{?dist}
License: BSD
Group: Development/Tools
URL: http://flex.sourceforge.net/
@ -11,6 +11,7 @@ Patch2: flex-2.5.33-opts.patch
Patch3: flex-2.5.33-includedir.patch
Patch4: flex-2.5.33-test-linedir-r.patch
Patch5: flex-2.5.33-signedwarn.patch
Patch6: flex-2.5.33-prototypes.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: m4
BuildRequires: gettext bison m4
@ -38,6 +39,7 @@ application development.
%patch3 -p1
%patch4 -p1
%patch5 -p1
%patch6 -p0
%build
%configure --disable-dependency-tracking CFLAGS="-fPIC $RPM_OPT_FLAGS"
@ -84,6 +86,10 @@ rm -rf ${RPM_BUILD_ROOT}
%{_infodir}/flex.info*
%changelog
* Mon Feb 11 2008 Petr Machata <pmachata@redhat.com> - 2.5.33-17
- Generate prototypes for accessor functions. Upstream patch.
- Related: #432203
* Mon Feb 4 2008 Petr Machata <pmachata@redhat.com> - 2.5.33-16
- Fix comparison between signed and unsigned in generated scanner.
Patch by Roland McGrath.