spamprobe: added patch for gcc 4.1
This commit is contained in:
parent
a4518c4612
commit
4b7aa11b89
|
@ -1,2 +1,3 @@
|
|||
452b1f802dfb2da7ceaaf647eb8564c8 pbl_1_03.tar.gz
|
||||
2f89e12ec1e76583f8c30150fd95b87b spamprobe-1.4b-gcc41.patch
|
||||
735a5ef084ca09a39fb88a0334fcc68e spamprobe-1.4b.tar.gz
|
||||
|
|
|
@ -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
|
||||
|
|
11
spamprobe/spamprobe-1.4b-gcc41.patch
Normal file
11
spamprobe/spamprobe-1.4b-gcc41.patch
Normal file
|
@ -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.
|
Loading…
Reference in New Issue
Block a user