aboutsummaryrefslogtreecommitdiffstats
path: root/math/unuran
diff options
context:
space:
mode:
authorpgollucci <pgollucci@FreeBSD.org>2009-06-25 03:58:17 +0800
committerpgollucci <pgollucci@FreeBSD.org>2009-06-25 03:58:17 +0800
commitdd5482f4b1fbf2f7a53e52af944562f70298d06f (patch)
treee353562ad09dd4aa52d9a8fd61145e68b9516974 /math/unuran
parentfa6801d8f8729619ef8c3e60dafacfb752c2e63e (diff)
downloadfreebsd-ports-gnome-dd5482f4b1fbf2f7a53e52af944562f70298d06f.tar.gz
freebsd-ports-gnome-dd5482f4b1fbf2f7a53e52af944562f70298d06f.tar.zst
freebsd-ports-gnome-dd5482f4b1fbf2f7a53e52af944562f70298d06f.zip
- Update to 1.4.0
- patch a potential leak PR: ports/135953 Submitted by: bf <bf1783@gmail.com> (maintainer)
Diffstat (limited to 'math/unuran')
-rw-r--r--math/unuran/Makefile2
-rw-r--r--math/unuran/distinfo6
-rw-r--r--math/unuran/files/patch-src__utils__stream.c10
-rw-r--r--math/unuran/pkg-plist2
4 files changed, 15 insertions, 5 deletions
diff --git a/math/unuran/Makefile b/math/unuran/Makefile
index 9fa8403426dd..41d4df1c993b 100644
--- a/math/unuran/Makefile
+++ b/math/unuran/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= unuran
-PORTVERSION= 1.3.1
+PORTVERSION= 1.4.0
CATEGORIES= math
MASTER_SITES= http://statmath.wu-wien.ac.at/unuran/
diff --git a/math/unuran/distinfo b/math/unuran/distinfo
index 4782f453d67b..3743e55d2f0c 100644
--- a/math/unuran/distinfo
+++ b/math/unuran/distinfo
@@ -1,3 +1,3 @@
-MD5 (unuran-1.3.1.tar.gz) = ffe7f2028775fd807fb4c04a51ed59c4
-SHA256 (unuran-1.3.1.tar.gz) = 0c8068c014a9746b5d47ae83cf7c355041113a7aeabac53429b7925dcc0c9e22
-SIZE (unuran-1.3.1.tar.gz) = 3975997
+MD5 (unuran-1.4.0.tar.gz) = c3ab767b4ab77fc37f2042bf64f5e179
+SHA256 (unuran-1.4.0.tar.gz) = 81c7d786a804328f1749e1a7c30cf403b2a07eb729118cb1101394b341a0f925
+SIZE (unuran-1.4.0.tar.gz) = 4011146
diff --git a/math/unuran/files/patch-src__utils__stream.c b/math/unuran/files/patch-src__utils__stream.c
new file mode 100644
index 000000000000..16b02f7f54d9
--- /dev/null
+++ b/math/unuran/files/patch-src__utils__stream.c
@@ -0,0 +1,10 @@
+--- src/utils/stream.c.orig 2009-06-23 04:04:56.000000000 -0400
++++ src/utils/stream.c 2009-06-23 04:21:12.000000000 -0400
+@@ -329,6 +329,7 @@
+
+ /* o.k. */
+ *ar = data;
++ fclose(fp);
+ return n_data;
+
+ /* ------------------------------------------------------- */
diff --git a/math/unuran/pkg-plist b/math/unuran/pkg-plist
index 2b7153fdbe74..f67f2fd49812 100644
--- a/math/unuran/pkg-plist
+++ b/math/unuran/pkg-plist
@@ -6,4 +6,4 @@ include/unuran_urng_rngstreams.h
lib/libunuran.a
lib/libunuran.la
lib/libunuran.so
-lib/libunuran.so.10
+lib/libunuran.so.11