From 183de47df4c3e91b45b35e46ec40e5cb78de0fb2 Mon Sep 17 00:00:00 2001 From: Deepak Bhole Date: Feb 28 2008 00:14:57 +0000 Subject: Bump version correctly. Include strings.h in CharScanner.hpp, as required by the GCC 4.3 header file cleanup. --- diff --git a/antlr-includestrings.patch b/antlr-includestrings.patch new file mode 100644 index 0000000..3e417f7 --- /dev/null +++ b/antlr-includestrings.patch @@ -0,0 +1,11 @@ +diff -up ./lib/cpp/antlr/CharScanner.hpp.sav ./lib/cpp/antlr/CharScanner.hpp +--- ./lib/cpp/antlr/CharScanner.hpp.sav 2008-02-27 19:04:33.000000000 -0500 ++++ ./lib/cpp/antlr/CharScanner.hpp 2008-02-27 19:04:54.000000000 -0500 +@@ -9,6 +9,7 @@ + */ + + #include ++#include + + #include + diff --git a/antlr.spec b/antlr.spec index 0f4f41f..37faf73 100644 --- a/antlr.spec +++ b/antlr.spec @@ -39,7 +39,7 @@ Summary: ANother Tool for Language Recognition Name: antlr Version: 2.7.7 -Release: 2jpp.6%{?dist} +Release: 1jpp.6%{?dist} Epoch: 0 License: Public Domain URL: http://www.antlr.org/ @@ -51,6 +51,7 @@ Source2: %{name}-script #http://www.antlr.org/share/1069557132934/makefile.gcj Source3: makefile.gcj Patch0: %{name}-jedit.patch +Patch1: %{name}-includestrings.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot %if %{native} @@ -145,6 +146,7 @@ cp -p %{SOURCE1} build.xml install.html %endif +%patch1 %build %if %{native} @@ -309,8 +311,8 @@ fi %changelog -* Mon Feb 18 2008 Fedora Release Engineering - 0:2.7.7-2jpp.6 -- Autorebuild for GCC 4.3 +* Wed Feb 27 2008 Deepak Bhole 2.7.7-1jpp.6 +- Add strings inclusion (for GCC 4.3) * Mon Sep 24 2007 Deepak Bhole 2.7.7-1jpp.6 - Resolve bz# 242305: Remove libantlr-pic.a, and compile libantlr.a with fPIC