rpms/flex/F-11 flex-2.5.35-gcc44.patch, NONE, 1.1 flex.spec, 1.56, 1.57

Petr Machata pmachata at fedoraproject.org
Mon Apr 20 15:00:45 UTC 2009


Author: pmachata

Update of /cvs/pkgs/rpms/flex/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv15541

Modified Files:
	flex.spec 
Added Files:
	flex-2.5.35-gcc44.patch 
Log Message:
- Resolves: #496548.


flex-2.5.35-gcc44.patch:

--- NEW FILE flex-2.5.35-gcc44.patch ---
diff -urNp flex-2.5.35.orig/flex.skl flex-2.5.35/flex.skl
--- flex-2.5.35.orig/flex.skl	2009-04-20 03:09:46.000000000 +0530
+++ flex-2.5.35/flex.skl	2009-04-20 07:46:58.000000000 +0530
@@ -217,6 +217,7 @@ m4preproc_include(`flexint.h')
 /* begin standard C++ headers. */
 #include <iostream> 
 #include <errno.h>
+#include <cstdio>
 #include <cstdlib>
 #include <cstring>
 /* end standard C++ headers. */
diff -urNp flex-2.5.35.orig/skel.c flex-2.5.35/skel.c
--- flex-2.5.35.orig/skel.c	2009-04-20 03:09:46.000000000 +0530
+++ flex-2.5.35/skel.c	2009-04-20 07:46:40.000000000 +0530
@@ -284,6 +284,7 @@ const char *skel[] = {
   "/* begin standard C++ headers. */",
   "#include <iostream> ",
   "#include <errno.h>",
+  "#include <cstdio>",
   "#include <cstdlib>",
   "#include <cstring>",
   "/* end standard C++ headers. */",


Index: flex.spec
===================================================================
RCS file: /cvs/pkgs/rpms/flex/F-11/flex.spec,v
retrieving revision 1.56
retrieving revision 1.57
diff -u -r1.56 -r1.57
--- flex.spec	24 Feb 2009 17:28:55 -0000	1.56
+++ flex.spec	20 Apr 2009 15:00:15 -0000	1.57
@@ -1,12 +1,13 @@
 Summary: A tool for creating scanners (text pattern recognizers)
 Name: flex
 Version: 2.5.35
-Release: 3%{?dist}
+Release: 4%{?dist}
 License: BSD
 Group: Development/Tools
 URL: http://flex.sourceforge.net/
 Source: flex-%{version}.tar.bz2
 Patch0: flex-2.5.35-sign.patch
+Patch2: flex-2.5.35-gcc44.patch
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 Requires: m4
 BuildRequires: gettext bison m4
@@ -30,6 +31,7 @@
 %prep
 %setup -q
 %patch0 -p1
+%patch2 -p1
 
 %build
 %configure --disable-dependency-tracking CFLAGS="-fPIC $RPM_OPT_FLAGS"
@@ -76,6 +78,9 @@
 %{_infodir}/flex.info*
 
 %changelog
+* Mon Apr 20 2009 Debarshi Ray <rishi at fedoraproject.org> - 2.5.35-4
+- Resolves: #496548.
+
 * Tue Feb 24 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.5.35-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
 




More information about the scm-commits mailing list