- added gcc43 patch

This commit is contained in:
Adrian Reber 2008-02-12 09:18:52 +00:00
parent 0b5128ea6b
commit e87fcdd433
2 changed files with 17 additions and 1 deletions

View File

@ -0,0 +1,11 @@
diff -ur source-highlight-2.8/src/lib/fileutil.cc source-highlight-2.8.new/src/lib/fileutil.cc
--- source-highlight-2.8/src/lib/fileutil.cc 2007-09-09 17:00:12.000000000 +0200
+++ source-highlight-2.8.new/src/lib/fileutil.cc 2008-02-12 10:08:06.000000000 +0100
@@ -23,6 +23,7 @@
#include <iostream>
#include <fstream>
+#include <cstdlib>
#include "fileutil.h"
#include "messages.h" // for verbosity

View File

@ -1,11 +1,12 @@
Summary: Produces a document with syntax highlighting
Name: source-highlight
Version: 2.8
Release: 1%{?dist}
Release: 2%{?dist}
Group: Development/Tools
License: GPLv3+
Source0: ftp://ftp.gnu.org/gnu/src-highlite/source-highlight-2.8.tar.gz
Source1: ftp://ftp.gnu.org/gnu/src-highlite/source-highlight-2.8.tar.gz.sig
Patch: source-highlight-gcc43.patch
URL: http://www.gnu.org/software/src-highlite/
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: bison, flex, boost-devel
@ -23,6 +24,7 @@ escape sequences as output format.
%prep
%setup -q
%patch -p1
%build
%configure
@ -63,6 +65,9 @@ fi
%{_infodir}/source-highlight.info*
%changelog
* Tue Feb 12 2008 Adrian Reber <adrian@lisas.de> - 2.8-2
- added gcc43 patch
* Fri Dec 14 2007 Adrian Reber <adrian@lisas.de> - 2.8-1
- updated to 2.8
- license changed to GPLv3+