diff --git a/highlight-2.7-gcc44.patch b/highlight-2.7-gcc44.patch new file mode 100644 index 0000000..9559c2b --- /dev/null +++ b/highlight-2.7-gcc44.patch @@ -0,0 +1,11 @@ +diff -up highlight-2.7/src/core/re/Pattern.cpp.gcc44 highlight-2.7/src/core/re/Pattern.cpp +--- highlight-2.7/src/core/re/Pattern.cpp.gcc44 2009-02-03 17:15:46.000000000 +0100 ++++ highlight-2.7/src/core/re/Pattern.cpp 2009-02-03 17:16:03.000000000 +0100 +@@ -26,6 +26,7 @@ + #include "Pattern.h" + #include "Matcher.h" + #include ++#include + #include + #include + diff --git a/highlight.spec b/highlight.spec index 6d422ef..f993956 100644 --- a/highlight.spec +++ b/highlight.spec @@ -1,7 +1,7 @@ Name: highlight Summary: Universal source code to formatted text converter Version: 2.7 -Release: 1%{?dist} +Release: 2%{?dist} Group: Development/Tools License: GPLv2 @@ -9,6 +9,8 @@ License: GPLv2 URL: http://www.andre-simon.de/ Source0: http://www.andre-simon.de/zip/%{name}-%{version}.tar.gz Patch1: highlight-2.6.11-makefile.patch +# Sent patch to upstrem via mail. +Patch2: highlight-2.7-gcc44.patch BuildRequires: wxGTK-devel @@ -25,6 +27,7 @@ It is easily possible to create new language definitions and colour themes. %prep %setup -q %patch1 -p1 -b .mak +%patch2 -p1 -b .gcc44 # Provides: exclude perl(highlight_pipe) from example cat <<__EOF__ > %{name}-perl.prov @@ -70,6 +73,9 @@ rm -rf $RPM_BUILD_ROOT %doc ChangeLog AUTHORS README* COPYING TODO examples/ %changelog +* Tue Feb 3 2009 Jochen Schmitt 2.7-2 +- Patches for gcc-4.4 + * Thu Jan 15 2009 Jochen Schmitt 2.7-1 - New upstream release