summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeert Hendrickx2021-10-06 20:32:18 +0200
committerGeert Hendrickx2021-10-06 20:32:18 +0200
commit1319b820f395946cf85166c05b85dcb48f77a1a0 (patch)
treef8f59652c5769954aea12d89229070b64271c436
parent6e0a424f9b82b4791414edb1243c4e0b3422ec48 (diff)
downloadaur-1319b820f395946cf85166c05b85dcb48f77a1a0.tar.gz
Build without optimizations to avoid an occasional segfault (TBI).
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD3
2 files changed, 3 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 245f55f09bd..d1eaa651623 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = spamprobe
pkgdesc = Fast, intelligent, automatic spam detector using Paul Graham style Bayesian analysis of word counts in spam and non-spam emails
pkgver = 1.4d
- pkgrel = 8
+ pkgrel = 9
url = http://spamprobe.sourceforge.net/
arch = i686
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index 36a9f102685..2cd16d999c0 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=spamprobe
pkgver=1.4d
-pkgrel=8
+pkgrel=9
pkgdesc="Fast, intelligent, automatic spam detector using Paul Graham style Bayesian analysis of word counts in spam and non-spam emails"
arch=(i686 x86_64)
url="http://spamprobe.sourceforge.net/"
@@ -29,6 +29,7 @@ build() {
patch -p0 -i $srcdir/spamprobe-template.patch
patch -p0 -i $srcdir/spamprobe-giflib.patch
patch -p0 -i $srcdir/spamprobe-lrucache.patch
+ CXXFLAGS+=" -O0"
./configure --prefix=/usr --mandir=/usr/share/man
make
}