diff --git a/spamprobe/.md5sum b/spamprobe/.md5sum index f5ec399cb..82a916d0c 100644 --- a/spamprobe/.md5sum +++ b/spamprobe/.md5sum @@ -1,2 +1,3 @@ 452b1f802dfb2da7ceaaf647eb8564c8 pbl_1_03.tar.gz +2f89e12ec1e76583f8c30150fd95b87b spamprobe-1.4b-gcc41.patch 735a5ef084ca09a39fb88a0334fcc68e spamprobe-1.4b.tar.gz diff --git a/spamprobe/Pkgfile b/spamprobe/Pkgfile index 4e5f6d79d..f12b2933d 100644 --- a/spamprobe/Pkgfile +++ b/spamprobe/Pkgfile @@ -4,9 +4,10 @@ name=spamprobe version=1.4b -release=1 +release=2 source=(http://dl.sourceforge.net/sourceforge/$name/$name-$version.tar.gz \ - http://www.mission-base.com/peter/source/pbl_1_03.tar.gz) + http://www.mission-base.com/peter/source/pbl_1_03.tar.gz \ + $name-$version-gcc41.patch) build () { cd pbl_1_03 @@ -14,6 +15,7 @@ build () { make cd $SRC/$name-$version + patch -p1 -i $SRC/$name-$version-gcc41.patch ./configure --prefix=/usr \ --with-pbl=$SRC/pbl_1_03 \ --enable-default-8-bit diff --git a/spamprobe/spamprobe-1.4b-gcc41.patch b/spamprobe/spamprobe-1.4b-gcc41.patch new file mode 100644 index 000000000..133d315f2 --- /dev/null +++ b/spamprobe/spamprobe-1.4b-gcc41.patch @@ -0,0 +1,11 @@ +diff -Nru spamprobe-1.4b.orig/src/includes/Buffer.h spamprobe-1.4b/src/includes/Buffer.h +--- spamprobe-1.4b.orig/src/includes/Buffer.h 2006-11-26 17:58:49.451810426 +0100 ++++ spamprobe-1.4b/src/includes/Buffer.h 2006-11-26 18:01:37.872007426 +0100 +@@ -32,6 +32,7 @@ + #define _Buffer_h + + #include "Array.h" ++#include + + // + // Similar to Array but handles variable length.