Bump version correctly. Include strings.h in CharScanner.hpp, as required
by the GCC 4.3 header file cleanup.
This commit is contained in:
parent
c91f39167b
commit
183de47df4
11
antlr-includestrings.patch
Normal file
11
antlr-includestrings.patch
Normal file
@ -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 <antlr/config.hpp>
|
||||
+#include <strings.h>
|
||||
|
||||
#include <map>
|
||||
|
@ -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 <rel-eng@fedoraproject.org> - 0:2.7.7-2jpp.6
|
||||
- Autorebuild for GCC 4.3
|
||||
* Wed Feb 27 2008 Deepak Bhole <dbhole@redhat.com> 2.7.7-1jpp.6
|
||||
- Add strings inclusion (for GCC 4.3)
|
||||
|
||||
* Mon Sep 24 2007 Deepak Bhole <dbhole@redhat.com> 2.7.7-1jpp.6
|
||||
- Resolve bz# 242305: Remove libantlr-pic.a, and compile libantlr.a with fPIC
|
||||
|
Loading…
Reference in New Issue
Block a user