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