ports/opt (master): spamprobe: added patch for gcc 4.1
![](https://secure.gravatar.com/avatar/df8330968b6df8cd1c1942c5fb4b720c.jpg?s=120&d=mm&r=g)
commit 4b7aa11b89a31680c5477f702d0e2923602b8600 Author: Juergen Daubert <jue@jue.li> Date: Sun Nov 26 18:10:56 2006 +0100 spamprobe: added patch for gcc 4.1 diff --git a/spamprobe/.md5sum b/spamprobe/.md5sum index f5ec399..82a916d 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 4e5f6d7..f12b293 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 0000000..133d315 --- /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 <cassert> + + // + // Similar to Array but handles variable length.
participants (1)
-
crux@crux.nu