diff options
author | joerg <joerg@pkgsrc.org> | 2011-12-05 22:51:00 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2011-12-05 22:51:00 +0000 |
commit | ad85023e78c2425f04730fa32422e000d4fbaa98 (patch) | |
tree | 76336b91694f4fe0578a50f6e95d290a97ada4fd /math/yorick | |
parent | f7a0d1994711a00c28adc3deb5005509a234b2bb (diff) | |
download | pkgsrc-ad85023e78c2425f04730fa32422e000d4fbaa98.tar.gz |
Avoid picking up non-standard libm builtins with newer GCC
Diffstat (limited to 'math/yorick')
-rw-r--r-- | math/yorick/distinfo | 3 | ||||
-rw-r--r-- | math/yorick/patches/patch-yorick_yconfig.sh | 16 |
2 files changed, 18 insertions, 1 deletions
diff --git a/math/yorick/distinfo b/math/yorick/distinfo index 74001117b3e..179bc1ae5c3 100644 --- a/math/yorick/distinfo +++ b/math/yorick/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.6 2005/05/31 18:02:31 drochner Exp $ +$NetBSD: distinfo,v 1.7 2011/12/05 22:51:00 joerg Exp $ SHA1 (yorick-1.6.02.tgz) = da66199eb62828ec217f5238e8608ba7aa5bb9e5 RMD160 (yorick-1.6.02.tgz) = a80fc1e76c8ff553e032e95200510b1171db614b Size (yorick-1.6.02.tgz) = 2234280 bytes SHA1 (patch-aa) = c1fc4e5c8c67216fc3d2e640cd6785b179bfa451 +SHA1 (patch-yorick_yconfig.sh) = 4c2dd3b55e8f17b4b1696961dbfacd4a53f3a494 diff --git a/math/yorick/patches/patch-yorick_yconfig.sh b/math/yorick/patches/patch-yorick_yconfig.sh new file mode 100644 index 00000000000..9562e2e019c --- /dev/null +++ b/math/yorick/patches/patch-yorick_yconfig.sh @@ -0,0 +1,16 @@ +$NetBSD: patch-yorick_yconfig.sh,v 1.1 2011/12/05 22:51:00 joerg Exp $ + +--- yorick/yconfig.sh.orig 2011-12-05 19:15:23.000000000 +0000 ++++ yorick/yconfig.sh +@@ -90,9 +90,10 @@ fi + echo "NO_HYPOT=$NO_HYPOT" >>../Make.cfg + + cat >cfg.c <<EOF ++double val = 3.; + int main(int argc, char *argv[]) + { +- double x=exp10(3.); ++ double x=exp10(val); + return (x<999.999)||(x>1000.001); + } + EOF |