aspell: added patch for gcc 4.1

This commit is contained in:
Juergen Daubert 2006-12-08 09:29:00 +01:00
parent 28b99f6685
commit bb33a92bc5
3 changed files with 16 additions and 1 deletions

View File

@ -1 +1,2 @@
ef8ab9066e43922b04a40107934dacde aspell-0.60.4-gcc41.patch
4f1737e726d66476b9c7388831305510 aspell-0.60.4.tar.gz

View File

@ -6,10 +6,12 @@
name=aspell
version=0.60.4
release=1
source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.gz)
source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.gz \
$name-$version-gcc41.patch)
build () {
cd $name-$version
patch -p1 -i $SRC/$name-$version-gcc41.patch
./configure --prefix=/usr
make
make DESTDIR=$PKG install

View File

@ -0,0 +1,12 @@
diff -Nru aspell-0.60.4.orig/modules/filter/nroff.cpp aspell-0.60.4/modules/filter/nroff.cpp
--- aspell-0.60.4.orig/modules/filter/nroff.cpp 2006-12-08 09:23:07.930852930 +0100
+++ aspell-0.60.4/modules/filter/nroff.cpp 2006-12-08 09:24:17.464191930 +0100
@@ -73,7 +73,7 @@
return false;
}
- bool NroffFilter::process_char (FilterChar::Chr c);
+ bool process_char (FilterChar::Chr c);
public: