diff options
author | bf <bf@FreeBSD.org> | 2011-03-15 19:36:55 +0800 |
---|---|---|
committer | bf <bf@FreeBSD.org> | 2011-03-15 19:36:55 +0800 |
commit | ae35afde328e4f702b411b3982825fdbfafb9a47 (patch) | |
tree | 3b3c9464d98f6e3603a1b930b204ac937475b599 /math | |
parent | bda1ce43827c84edd9312dbf68462ae34419b6dd (diff) | |
download | freebsd-ports-gnome-ae35afde328e4f702b411b3982825fdbfafb9a47.tar.gz freebsd-ports-gnome-ae35afde328e4f702b411b3982825fdbfafb9a47.tar.zst freebsd-ports-gnome-ae35afde328e4f702b411b3982825fdbfafb9a47.zip |
Update to 3.31.0
Diffstat (limited to 'math')
-rw-r--r-- | math/dieharder/Makefile | 19 | ||||
-rw-r--r-- | math/dieharder/distinfo | 5 | ||||
-rw-r--r-- | math/dieharder/files/patch-libdieharder__dab_filltree.c | 10 | ||||
-rw-r--r-- | math/dieharder/files/patch-libdieharder__rgb_operm.c | 10 |
4 files changed, 26 insertions, 18 deletions
diff --git a/math/dieharder/Makefile b/math/dieharder/Makefile index ea9acf0d45a9..28e86f659a1c 100644 --- a/math/dieharder/Makefile +++ b/math/dieharder/Makefile @@ -6,8 +6,7 @@ # PORTNAME= dieharder -DISTVERSION= 3.29.4beta -PORTREVISION= 3 +PORTVERSION= 3.31.0 CATEGORIES= math MASTER_SITES= http://www.phy.duke.edu/~rgb/General/dieharder/ EXTRACT_SUFX= .tgz @@ -20,10 +19,10 @@ LIB_DEPENDS= gsl:${PORTSDIR}/math/gsl MAKE_JOBS_UNSAFE= yes USE_DOS2UNIX= yes -USE_AUTOTOOLS= aclocal autoheader libtool +GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" +CONFIGURE_ENV= LDFLAGS="${LDFLAGS}" USE_LDCONFIG= yes MAN1= dieharder.1 MAN3= libdieharder.3 @@ -34,17 +33,7 @@ MAN3= libdieharder.3 BROKEN= Does not compile on ia64 or sparc64 .endif -post-patch: - @${REINPLACE_CMD} -e "s|./configure|#./configure|g" \ - ${WRKSRC}/autogen.sh - -run-autotools: - (cd ${WRKSRC}; ${SETENV} ${AUTOTOOLS_ENV} ${AUTORECONF} -ifv) - @${REINPLACE_CMD} -e "/^ltmain=/!s^\$$ac_aux_dir/ltmain.sh^${LIBTOOLFLAGS} ${LTMAIN}^g" \ - -e '/^LIBTOOL=/s^\$$(top_builddir)/libtool^${LIBTOOL}^g' \ - ${WRKSRC}/configure - -test: build +check test: build ${WRKSRC}/dieharder/dieharder -a .include <bsd.port.post.mk> diff --git a/math/dieharder/distinfo b/math/dieharder/distinfo index 4bcefa347f53..489c1652b23d 100644 --- a/math/dieharder/distinfo +++ b/math/dieharder/distinfo @@ -1,3 +1,2 @@ -MD5 (dieharder-3.29.4beta.tgz) = eba447e1918d9ef3d70da11f14149a21 -SHA256 (dieharder-3.29.4beta.tgz) = 7bdaf3f942908c5dd3063abd79d8e1ad242b59f6e6bf3f87c0d96434e3e113ff -SIZE (dieharder-3.29.4beta.tgz) = 995969 +SHA256 (dieharder-3.31.0.tgz) = 1cb675f360ce9be2ff72287d69ba040cb25ff7b45400d4d59a701a069cdf7280 +SIZE (dieharder-3.31.0.tgz) = 1136501 diff --git a/math/dieharder/files/patch-libdieharder__dab_filltree.c b/math/dieharder/files/patch-libdieharder__dab_filltree.c new file mode 100644 index 000000000000..133593a72c30 --- /dev/null +++ b/math/dieharder/files/patch-libdieharder__dab_filltree.c @@ -0,0 +1,10 @@ +--- ./libdieharder/dab_filltree.c.orig 2011-03-15 05:51:27.000000000 -0400 ++++ ./libdieharder/dab_filltree.c 2011-03-15 06:00:44.000000000 -0400 +@@ -148,6 +148,7 @@ + } + + // for (i = 0; i < size; i++) printf("%f\n", array[i]); ++nullfree(array); + + return(0); + } diff --git a/math/dieharder/files/patch-libdieharder__rgb_operm.c b/math/dieharder/files/patch-libdieharder__rgb_operm.c new file mode 100644 index 000000000000..637f21a09860 --- /dev/null +++ b/math/dieharder/files/patch-libdieharder__rgb_operm.c @@ -0,0 +1,10 @@ +--- ./libdieharder/rgb_operm.c.orig 2011-03-15 06:04:56.000000000 -0400 ++++ ./libdieharder/rgb_operm.c 2011-03-15 06:09:38.000000000 -0400 +@@ -231,6 +231,7 @@ + free(cexpt); + */ + ++ free(count); + return(0); + + } |