rpms/flex/devel flex-2.5.33-prototypes.patch, NONE, 1.1 flex.spec, 1.51, 1.52

Petr Machata (pmachata) fedora-extras-commits at redhat.com
Mon Feb 11 12:24:40 UTC 2008


Author: pmachata

Update of /cvs/pkgs/rpms/flex/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv17072

Modified Files:
	flex.spec 
Added Files:
	flex-2.5.33-prototypes.patch 
Log Message:
- Generate prototypes for accessor functions.  Upstream patch.
- Related: #432203


flex-2.5.33-prototypes.patch:

--- NEW FILE flex-2.5.33-prototypes.patch ---
--- 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.


Index: flex.spec
===================================================================
RCS file: /cvs/pkgs/rpms/flex/devel/flex.spec,v
retrieving revision 1.51
retrieving revision 1.52
diff -u -r1.51 -r1.52
--- flex.spec	4 Feb 2008 13:05:06 -0000	1.51
+++ flex.spec	11 Feb 2008 12:24:05 -0000	1.52
@@ -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 @@
 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 @@
 %patch3 -p1
 %patch4 -p1
 %patch5 -p1
+%patch6 -p0
 
 %build
 %configure --disable-dependency-tracking CFLAGS="-fPIC $RPM_OPT_FLAGS"
@@ -84,6 +86,10 @@
 %{_infodir}/flex.info*
 
 %changelog
+* Mon Feb 11 2008 Petr Machata <pmachata at redhat.com> - 2.5.33-17
+- Generate prototypes for accessor functions.  Upstream patch.
+- Related: #432203
+
 * Mon Feb  4 2008 Petr Machata <pmachata at redhat.com> - 2.5.33-16
 - Fix comparison between signed and unsigned in generated scanner.
   Patch by Roland McGrath.




More information about the fedora-extras-commits mailing list