summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authormanu <manu@pkgsrc.org>2004-01-14 20:16:39 +0000
committermanu <manu@pkgsrc.org>2004-01-14 20:16:39 +0000
commitd56247f977620b36d3043268e8931d8bfa99a604 (patch)
treec90ab38f20df140b4887c953b8d2f9310f09ab38 /mail
parent408357f9b26bda5b7840efb8f8a435ce7748f3fa (diff)
downloadpkgsrc-d56247f977620b36d3043268e8931d8bfa99a604.tar.gz
Fix build bug with cc -g, patch submitted by john heasley.
Diffstat (limited to 'mail')
-rw-r--r--mail/bogofilter/Makefile4
-rw-r--r--mail/bogofilter/distinfo3
-rw-r--r--mail/bogofilter/patches/patch-ab62
3 files changed, 66 insertions, 3 deletions
diff --git a/mail/bogofilter/Makefile b/mail/bogofilter/Makefile
index 39e5ea24650..3c122f3a412 100644
--- a/mail/bogofilter/Makefile
+++ b/mail/bogofilter/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.11 2003/12/24 17:52:50 jonb Exp $
+# $NetBSD: Makefile,v 1.12 2004/01/14 20:16:39 manu Exp $
#
-DISTNAME= bogofilter-0.15.7
+DISTNAME= bogofilter-0.15.7nb1
CATEGORIES= mail
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=bogofilter/}
diff --git a/mail/bogofilter/distinfo b/mail/bogofilter/distinfo
index 1d93a1b6e7d..bc244a24625 100644
--- a/mail/bogofilter/distinfo
+++ b/mail/bogofilter/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.5 2003/12/24 17:52:50 jonb Exp $
+$NetBSD: distinfo,v 1.6 2004/01/14 20:16:39 manu Exp $
SHA1 (bogofilter-0.15.7.tar.gz) = cbcd85d870c0ff23070f3ffd77aea2028030df8a
Size (bogofilter-0.15.7.tar.gz) = 924015 bytes
SHA1 (patch-aa) = 45b28c90c420cfdb80f974e1aebbcec3f1364076
+SHA1 (patch-ab) = f3085cdbb85e33e61116cb00737c8bd1031c35b1
diff --git a/mail/bogofilter/patches/patch-ab b/mail/bogofilter/patches/patch-ab
new file mode 100644
index 00000000000..9d53915fe2a
--- /dev/null
+++ b/mail/bogofilter/patches/patch-ab
@@ -0,0 +1,62 @@
+$NetBSD: patch-ab,v 1.1 2004/01/14 20:16:39 manu Exp $
+
+--- gsl/gsl_math.h.orig 2003-09-25 01:13:12.000000000 +0000
++++ gsl/gsl_math.h
+@@ -129,44 +129,44 @@ double gsl_min (double a, double b);
+ /* inline-friendly strongly typed versions */
+ #if HAVE_INLINE
+
+-extern inline int GSL_MAX_INT (int a, int b);
+-extern inline int GSL_MIN_INT (int a, int b);
+-extern inline double GSL_MAX_DBL (double a, double b);
+-extern inline double GSL_MIN_DBL (double a, double b);
+-extern inline long double GSL_MAX_LDBL (long double a, long double b);
+-extern inline long double GSL_MIN_LDBL (long double a, long double b);
++static inline int GSL_MAX_INT (int a, int b);
++static inline int GSL_MIN_INT (int a, int b);
++static inline double GSL_MAX_DBL (double a, double b);
++static inline double GSL_MIN_DBL (double a, double b);
++static inline long double GSL_MAX_LDBL (long double a, long double b);
++static inline long double GSL_MIN_LDBL (long double a, long double b);
+
+-extern inline int
++static inline int
+ GSL_MAX_INT (int a, int b)
+ {
+ return GSL_MAX (a, b);
+ }
+
+-extern inline int
++static inline int
+ GSL_MIN_INT (int a, int b)
+ {
+ return GSL_MIN (a, b);
+ }
+
+-extern inline double
++static inline double
+ GSL_MAX_DBL (double a, double b)
+ {
+ return GSL_MAX (a, b);
+ }
+
+-extern inline double
++static inline double
+ GSL_MIN_DBL (double a, double b)
+ {
+ return GSL_MIN (a, b);
+ }
+
+-extern inline long double
++static inline long double
+ GSL_MAX_LDBL (long double a, long double b)
+ {
+ return GSL_MAX (a, b);
+ }
+
+-extern inline long double
++static inline long double
+ GSL_MIN_LDBL (long double a, long double b)
+ {
+ return GSL_MIN (a, b);
+