summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2010-02-02 16:07:42 +0000
committerMartin Wilke <miwi@FreeBSD.org>2010-02-02 16:07:42 +0000
commitcbc1e846aedb7df58df7577e252d3df2a2f56362 (patch)
treee416a9849ecaef3bef3b5f414157637b719699bf /math
parent- Make math/libRmath to a slave port of math/R (diff)
- Update to 1.0.4
PR: 142051 Submitted by: bf <bf1783@gmail.com> (maintainer)
Notes
Notes: svn path=/head/; revision=249098
Diffstat (limited to 'math')
-rw-r--r--math/jags/Makefile3
-rw-r--r--math/jags/distinfo6
-rw-r--r--math/jags/files/patch-src__modules__bugs__matrix__matrix.cc10
-rw-r--r--math/jags/files/patch-src__modules__msm__matrix__matexp.cc11
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");
+ }
+