diff --git a/flex-2.5.35-gcc44.patch b/flex-2.5.35-gcc44.patch new file mode 100644 index 0000000..7929fc0 --- /dev/null +++ b/flex-2.5.35-gcc44.patch @@ -0,0 +1,22 @@ +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 + #include ++#include + #include + #include + /* 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 ", + "#include ", ++ "#include ", + "#include ", + "#include ", + "/* end standard C++ headers. */", diff --git a/flex.spec b/flex.spec index 778f440..2359fc7 100644 --- a/flex.spec +++ b/flex.spec @@ -1,7 +1,7 @@ Summary: A tool for creating scanners (text pattern recognizers) Name: flex Version: 2.5.35 -Release: 4%{?dist} +Release: 5%{?dist} License: BSD Group: Development/Tools URL: http://flex.sourceforge.net/ @@ -80,7 +80,7 @@ rm -rf ${RPM_BUILD_ROOT} %{_infodir}/flex.info* %changelog -* Mon Apr 20 2009 Debarshi Ray - 2.5.35-4 +* Mon Apr 20 2009 Debarshi Ray - 2.5.35-5 - Resolves: #496548. * Mon Apr 20 2009 Petr Machata - 2.5.35-4