Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Jan 2009 03:22:50 GMT
From:      bf <bf2006a@yahoo.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/130854: [PATCH] math/unuran: update to 1.3.1
Message-ID:  <200901220322.n0M3MoRg085034@www.freebsd.org>
Resent-Message-ID: <200901220330.n0M3U2c4088220@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         130854
>Category:       ports
>Synopsis:       [PATCH] math/unuran: update to 1.3.1
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jan 22 03:30:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     bf
>Release:        8-CURRENT i386
>Organization:
-
>Environment:
>Description:
Cumulative changes:

"Version 1.3.1: January 2009

        * Methods:

        - AROU: fixed problems with round-off errors when computing
          tangents.


Version 1.3.0: November 2008

        * Methods:

        - new method PINV (Polynomial interpolation based INVersion of
          CDF).

        - new function unur_quantile() that (approximately)
          computes the quantile for a continuous distribution. It
          requires a generator object that implements an inversion
          method.  

        - HINV: fixed segfault when calling 
          unur_hinv_eval_approxinvcdf with u-value very close
          too 1.
          However, now when the domain has been truncated then
          this function evaluates the inverse CDF of the
          truncated distribution."
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -ruN unuran.orig/Makefile unuran/Makefile
--- unuran.orig/Makefile	2009-01-21 19:57:45.914634293 -0500
+++ unuran/Makefile	2009-01-21 22:17:47.964352902 -0500
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	unuran
-PORTVERSION=	1.2.4
+PORTVERSION=	1.3.1
 CATEGORIES=	math
 MASTER_SITES=	http://statmath.wu-wien.ac.at/unuran/
 
@@ -24,6 +24,10 @@
 INFO=		unuran
 PORTDOCS=	unuran.pdf unuran.txt
 
+post-patch:
+	${FIND} -X ${WRKSRC} -name 'Makefile.\in' | ${XARGS} ${REINPLACE_CMD} -e \
+		's/sinclude/#sinclude/g'
+
 .ifndef(NOPORTDOCS)
 post-install:
 	@${MKDIR} ${DOCSDIR}
@@ -37,6 +41,10 @@
 
 regression-test: build
 	@(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_ARGS} check)
+
+fullcheck: build
+	@(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_ARGS} fullcheck)
+
 .endif
 
 .include <bsd.port.mk>
diff -ruN unuran.orig/distinfo unuran/distinfo
--- unuran.orig/distinfo	2009-01-21 19:57:45.933626651 -0500
+++ unuran/distinfo	2009-01-21 22:17:47.965350795 -0500
@@ -1,3 +1,3 @@
-MD5 (unuran-1.2.4.tar.gz) = 830c5c1fc62222f63dff34bce3295c08
-SHA256 (unuran-1.2.4.tar.gz) = 5c4adeaff517033dc2af22cbd9dd486fc9dc52e51ae1c189503cfd1e2d65a1d0
-SIZE (unuran-1.2.4.tar.gz) = 3145403
+MD5 (unuran-1.3.1.tar.gz) = ffe7f2028775fd807fb4c04a51ed59c4
+SHA256 (unuran-1.3.1.tar.gz) = 0c8068c014a9746b5d47ae83cf7c355041113a7aeabac53429b7925dcc0c9e22
+SIZE (unuran-1.3.1.tar.gz) = 3975997
diff -ruN unuran.orig/pkg-plist unuran/pkg-plist
--- unuran.orig/pkg-plist	2009-01-21 19:57:45.968621881 -0500
+++ unuran/pkg-plist	2009-01-21 22:17:47.965350795 -0500
@@ -6,4 +6,4 @@
 lib/libunuran.a
 lib/libunuran.la
 lib/libunuran.so
-lib/libunuran.so.9
+lib/libunuran.so.10


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200901220322.n0M3MoRg085034>