diff options
author | miwi <miwi@FreeBSD.org> | 2010-02-03 00:07:42 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2010-02-03 00:07:42 +0800 |
commit | cf35b25ae0f35b26c1bdda39f4e676391b94116b (patch) | |
tree | e04054ae071c224d9aa027a13fb7417ba9ad5b5f /math/jags | |
parent | aef87007888528fb96787ba0ff7cb323299c52e3 (diff) | |
download | freebsd-ports-gnome-cf35b25ae0f35b26c1bdda39f4e676391b94116b.tar.gz freebsd-ports-gnome-cf35b25ae0f35b26c1bdda39f4e676391b94116b.tar.zst freebsd-ports-gnome-cf35b25ae0f35b26c1bdda39f4e676391b94116b.zip |
- Update to 1.0.4
PR: 142051
Submitted by: bf <bf1783@gmail.com> (maintainer)
Diffstat (limited to 'math/jags')
-rw-r--r-- | math/jags/Makefile | 3 | ||||
-rw-r--r-- | math/jags/distinfo | 6 | ||||
-rw-r--r-- | math/jags/files/patch-src__modules__bugs__matrix__matrix.cc | 10 | ||||
-rw-r--r-- | math/jags/files/patch-src__modules__msm__matrix__matexp.cc | 11 |
4 files changed, 25 insertions, 5 deletions
diff --git a/math/jags/Makefile b/math/jags/Makefile index 5296131f027b..5fc8b6add112 100644 --- a/math/jags/Makefile +++ b/math/jags/Makefile @@ -7,8 +7,7 @@ # PORTNAME= jags -PORTVERSION= 1.0.3 -PORTREVISION= 4 +PORTVERSION= 1.0.4 CATEGORIES= math MASTER_SITES= http://www-fis.iarc.fr/~martyn/software/jags/ DISTNAME= ${PORTNAME:U}-${PORTVERSION} diff --git a/math/jags/distinfo b/math/jags/distinfo index 2252eca73f9c..cf9925ae97de 100644 --- a/math/jags/distinfo +++ b/math/jags/distinfo @@ -1,6 +1,6 @@ -MD5 (jags/JAGS-1.0.3.tar.gz) = fa94031290e23d47e26affc571f76e38 -SHA256 (jags/JAGS-1.0.3.tar.gz) = 066e01617adb483d71d4bdefedba432babb7430379952910260f4f264fb0ef2e -SIZE (jags/JAGS-1.0.3.tar.gz) = 1204624 +MD5 (jags/JAGS-1.0.4.tar.gz) = a44dc20d548c5fd1a80504eb29f5397d +SHA256 (jags/JAGS-1.0.4.tar.gz) = 14665d034a36120ad373bc85702cca443da8e540533509486bdef432db0b5cca +SIZE (jags/JAGS-1.0.4.tar.gz) = 1074964 MD5 (jags/classic-bugs.tar.gz) = 34291e2f6d3921b1b1eb0ac1db3fbf90 SHA256 (jags/classic-bugs.tar.gz) = e3766060e0fcda709bf9326db79b14a6312f569417b7d59015bd37f0ebc1fe2f SIZE (jags/classic-bugs.tar.gz) = 81668 diff --git a/math/jags/files/patch-src__modules__bugs__matrix__matrix.cc b/math/jags/files/patch-src__modules__bugs__matrix__matrix.cc new file mode 100644 index 000000000000..fb5ee245cd9d --- /dev/null +++ b/math/jags/files/patch-src__modules__bugs__matrix__matrix.cc @@ -0,0 +1,10 @@ +--- src/modules/bugs/matrix/matrix.cc.orig 2009-12-26 15:49:36.000000000 -0500 ++++ src/modules/bugs/matrix/matrix.cc 2009-12-26 15:48:07.000000000 -0500 +@@ -41,6 +41,7 @@ + } + + if (w[0] <= 0) { ++ delete [] w; + throw runtime_error("Non positive definite matrix in call to logdet"); + } + diff --git a/math/jags/files/patch-src__modules__msm__matrix__matexp.cc b/math/jags/files/patch-src__modules__msm__matrix__matexp.cc new file mode 100644 index 000000000000..eff874cf76d3 --- /dev/null +++ b/math/jags/files/patch-src__modules__msm__matrix__matexp.cc @@ -0,0 +1,11 @@ +--- src/modules/msm/matrix/matexp.cc.orig 2009-12-26 15:36:17.000000000 -0500 ++++ src/modules/msm/matrix/matexp.cc 2009-12-26 15:36:54.000000000 -0500 +@@ -73,6 +73,8 @@ + int info = 0; + F77_DGESV (&n, &n, Acopy, &n, ipiv, X, &n, &info); + if (info != 0) { ++ delete [] Acopy; ++ delete [] ipiv; + throw runtime_error("Unable to solve linear equations"); + } + |