New upstream release
This commit is contained in:
parent
63240502ff
commit
dcff498461
@ -1 +1 @@
|
|||||||
highlight-2.6.6.tar.gz
|
highlight-2.6.7.tar.gz
|
||||||
|
@ -1,12 +0,0 @@
|
|||||||
diff -up highlight-2.6.3/src/makefile.bak highlight-2.6.3/src/makefile
|
|
||||||
--- highlight-2.6.3/src/makefile.bak 2007-09-04 23:25:34.000000000 +0200
|
|
||||||
+++ highlight-2.6.3/src/makefile 2007-09-11 21:26:50.000000000 +0200
|
|
||||||
@@ -15,7 +15,7 @@
|
|
||||||
|
|
||||||
CXX=c++
|
|
||||||
|
|
||||||
-CFLAGS := -O2
|
|
||||||
+CFLAGS := ${RPM_OPT_FLAGS}
|
|
||||||
|
|
||||||
# Do not strip by default (Mac OS X lazy pointer issues)
|
|
||||||
# Add -static to avoid linking with shared libs (can cause trouble when highlight
|
|
36
highlight-2.6.7-gcc43.patch
Normal file
36
highlight-2.6.7-gcc43.patch
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
diff -up highlight-2.6.7/src/astyle/astyle.h.gcc43 highlight-2.6.7/src/astyle/astyle.h
|
||||||
|
--- highlight-2.6.7/src/astyle/astyle.h.gcc43 2007-07-19 22:23:37.000000000 +0200
|
||||||
|
+++ highlight-2.6.7/src/astyle/astyle.h 2008-01-21 18:18:16.000000000 +0100
|
||||||
|
@@ -38,6 +38,8 @@
|
||||||
|
#include <vector>
|
||||||
|
#include <cctype>
|
||||||
|
|
||||||
|
+#include <cstring>
|
||||||
|
+
|
||||||
|
using namespace std;
|
||||||
|
|
||||||
|
|
||||||
|
diff -up highlight-2.6.7/src/codegenerator.cpp.gcc43 highlight-2.6.7/src/codegenerator.cpp
|
||||||
|
--- highlight-2.6.7/src/codegenerator.cpp.gcc43 2008-01-01 21:34:56.000000000 +0100
|
||||||
|
+++ highlight-2.6.7/src/codegenerator.cpp 2008-01-21 18:18:16.000000000 +0100
|
||||||
|
@@ -27,6 +27,9 @@
|
||||||
|
#include "re/Matcher.h"
|
||||||
|
#include "astyle/astyle.h"
|
||||||
|
|
||||||
|
+#include <climits>
|
||||||
|
+#include <memory>
|
||||||
|
+
|
||||||
|
//-> siehe wx/defs.h
|
||||||
|
#ifndef __WXWINDOWS__
|
||||||
|
#include "ansigenerator.h"
|
||||||
|
diff -up highlight-2.6.7/src/languagedefinition.cpp.gcc43 highlight-2.6.7/src/languagedefinition.cpp
|
||||||
|
--- highlight-2.6.7/src/languagedefinition.cpp.gcc43 2008-01-21 18:24:27.000000000 +0100
|
||||||
|
+++ highlight-2.6.7/src/languagedefinition.cpp 2008-01-21 18:24:48.000000000 +0100
|
||||||
|
@@ -18,6 +18,7 @@
|
||||||
|
#include "languagedefinition.h"
|
||||||
|
#include "stringtools.h"
|
||||||
|
|
||||||
|
+#include <memory>
|
||||||
|
|
||||||
|
using namespace std;
|
||||||
|
|
@ -1,6 +1,6 @@
|
|||||||
Name: highlight
|
Name: highlight
|
||||||
Summary: Universal source code to formatted text converter
|
Summary: Universal source code to formatted text converter
|
||||||
Version: 2.6.6
|
Version: 2.6.7
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
|
|
||||||
Group: Development/Tools
|
Group: Development/Tools
|
||||||
@ -9,7 +9,7 @@ License: GPLv2
|
|||||||
URL: http://www.andre-simon.de/
|
URL: http://www.andre-simon.de/
|
||||||
Source0: http://www.andre-simon.de/zip/%{name}-%{version}.tar.gz
|
Source0: http://www.andre-simon.de/zip/%{name}-%{version}.tar.gz
|
||||||
Patch1: highlight-2.6.1-makefile.patch
|
Patch1: highlight-2.6.1-makefile.patch
|
||||||
Patch2: highlight-2.6.3-rpmopts.patch
|
Patch3: highlight-2.6.7-gcc43.patch
|
||||||
|
|
||||||
Buildroot: %{_tmppath}/%{name}-%{version}-root-%(%{__id_u} -n)
|
Buildroot: %{_tmppath}/%{name}-%{version}-root-%(%{__id_u} -n)
|
||||||
|
|
||||||
@ -24,10 +24,10 @@ It is easily possible to create new language definitions and colour themes.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch1 -p1 -b .mak
|
%patch1 -p1 -b .mak
|
||||||
%patch2 -p1 -b .bak
|
%patch3 -p1 -b .gcc43
|
||||||
|
|
||||||
%build
|
%build
|
||||||
make %{?_smp_mflags} LDFLAGS=
|
make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS" LDFLAGS=
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
@ -49,6 +49,10 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%doc ChangeLog AUTHORS README* COPYING TODO examples/
|
%doc ChangeLog AUTHORS README* COPYING TODO examples/
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Jan 21 2008 Jochen Schmitt <Jochen herr-schmitt de> 2.6.7-1
|
||||||
|
- New upstream release
|
||||||
|
- Fix gcc-4.3 issues
|
||||||
|
|
||||||
* Tue Dec 11 2007 Jochen Schmitt <Jochen herr-schmitt de> 2.6.6-1
|
* Tue Dec 11 2007 Jochen Schmitt <Jochen herr-schmitt de> 2.6.6-1
|
||||||
- New upstream release
|
- New upstream release
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user