pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mail/bogofilter Fix build bug with cc -g, patch submit...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/89e9daecc9ee
branches:  trunk
changeset: 466277:89e9daecc9ee
user:      manu <manu%pkgsrc.org@localhost>
date:      Wed Jan 14 20:16:39 2004 +0000

description:
Fix build bug with cc -g, patch submitted by john heasley.

diffstat:

 mail/bogofilter/Makefile         |   4 +-
 mail/bogofilter/distinfo         |   3 +-
 mail/bogofilter/patches/patch-ab |  62 ++++++++++++++++++++++++++++++++++++++++
 3 files changed, 66 insertions(+), 3 deletions(-)

diffs (90 lines):

diff -r 2bc78d194a93 -r 89e9daecc9ee mail/bogofilter/Makefile
--- a/mail/bogofilter/Makefile  Wed Jan 14 19:26:44 2004 +0000
+++ b/mail/bogofilter/Makefile  Wed Jan 14 20:16:39 2004 +0000
@@ -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 -r 2bc78d194a93 -r 89e9daecc9ee mail/bogofilter/distinfo
--- a/mail/bogofilter/distinfo  Wed Jan 14 19:26:44 2004 +0000
+++ b/mail/bogofilter/distinfo  Wed Jan 14 20:16:39 2004 +0000
@@ -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 -r 2bc78d194a93 -r 89e9daecc9ee mail/bogofilter/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/bogofilter/patches/patch-ab  Wed Jan 14 20:16:39 2004 +0000
@@ -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);
+



Home | Main Index | Thread Index | Old Index