pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/math/eigen2
Module Name: pkgsrc
Committed By: maya
Date: Mon Sep 9 12:05:01 UTC 2019
Modified Files:
pkgsrc/math/eigen2: Makefile distinfo
Added Files:
pkgsrc/math/eigen2/patches: patch-Eigen_src_Sparse_AmbiVector.h
Log Message:
eigen2: fix headers to avoid introducing errors in dependent packages.
Fixes PR pkg/54108: misc/step fails build under -current 8.99.37
bump PKGREVISION.
To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 pkgsrc/math/eigen2/Makefile
cvs rdiff -u -r1.9 -r1.10 pkgsrc/math/eigen2/distinfo
cvs rdiff -u -r0 -r1.1 \
pkgsrc/math/eigen2/patches/patch-Eigen_src_Sparse_AmbiVector.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/math/eigen2/Makefile
diff -u pkgsrc/math/eigen2/Makefile:1.10 pkgsrc/math/eigen2/Makefile:1.11
--- pkgsrc/math/eigen2/Makefile:1.10 Mon Jan 27 18:41:13 2014
+++ pkgsrc/math/eigen2/Makefile Mon Sep 9 12:05:01 2019
@@ -1,9 +1,10 @@
-# $NetBSD: Makefile,v 1.10 2014/01/27 18:41:13 wiz Exp $
+# $NetBSD: Makefile,v 1.11 2019/09/09 12:05:01 maya Exp $
DISTNAME= 2.0.17
PKGNAME= eigen-2.0.17
+PKGREVISION= 1
CATEGORIES= math
-MASTER_SITES= http://bitbucket.org/eigen/eigen/get/
+MASTER_SITES= http://bitbucket.org/eigen/eigen/get/
DIST_SUBDIR= eigen2
EXTRACT_SUFX= .tar.bz2
@@ -12,8 +13,8 @@ HOMEPAGE= http://eigen.tuxfamily.org/
COMMENT= C++ template library for linear algebra
LICENSE= gnu-lgpl-v3 OR gnu-gpl-v2
-USE_LANGUAGES+= c c++
-USE_CMAKE= yes
+USE_LANGUAGES+= c c++
+USE_CMAKE= yes
WRKSRC= ${WRKDIR}/eigen-eigen-b23437e61a07
.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/math/eigen2/distinfo
diff -u pkgsrc/math/eigen2/distinfo:1.9 pkgsrc/math/eigen2/distinfo:1.10
--- pkgsrc/math/eigen2/distinfo:1.9 Tue Nov 3 23:33:32 2015
+++ pkgsrc/math/eigen2/distinfo Mon Sep 9 12:05:01 2019
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.9 2015/11/03 23:33:32 agc Exp $
+$NetBSD: distinfo,v 1.10 2019/09/09 12:05:01 maya Exp $
SHA1 (eigen2/2.0.17.tar.bz2) = 461546be98b964d8d5d2adb0f1c31ba0e42efc38
RMD160 (eigen2/2.0.17.tar.bz2) = 183c8f7ee3c85ccb447fdcefa3a366f06cca351b
SHA512 (eigen2/2.0.17.tar.bz2) = 8fa0e4507864f61c30de14e3b29d963eb8b777d1a6bb04192d53e1f4c9db323b9fab2ddcedb63bf2af243fe0e26dcd717e97eb72216b6a1d444e455520192c72
Size (eigen2/2.0.17.tar.bz2) = 367890 bytes
+SHA1 (patch-Eigen_src_Sparse_AmbiVector.h) = 0f98d635b975c67c92a02078fa563759566513df
Added files:
Index: pkgsrc/math/eigen2/patches/patch-Eigen_src_Sparse_AmbiVector.h
diff -u /dev/null pkgsrc/math/eigen2/patches/patch-Eigen_src_Sparse_AmbiVector.h:1.1
--- /dev/null Mon Sep 9 12:05:01 2019
+++ pkgsrc/math/eigen2/patches/patch-Eigen_src_Sparse_AmbiVector.h Mon Sep 9 12:05:01 2019
@@ -0,0 +1,24 @@
+$NetBSD: patch-Eigen_src_Sparse_AmbiVector.h,v 1.1 2019/09/09 12:05:01 maya Exp $
+
+We're returning an int, so match prototype.
+
+--- Eigen/src/Sparse/AmbiVector.h.orig 2019-09-09 11:56:26.894097747 +0000
++++ Eigen/src/Sparse/AmbiVector.h
+@@ -44,7 +44,7 @@ template<typename _Scalar> class AmbiVec
+ void init(RealScalar estimatedDensity);
+ void init(int mode);
+
+- void nonZeros() const;
++ int nonZeros() const;
+
+ /** Specifies a sub-vector to work on */
+ void setBounds(int start, int end) { m_start = start; m_end = end; }
+@@ -133,7 +133,7 @@ template<typename _Scalar> class AmbiVec
+
+ /** \returns the number of non zeros in the current sub vector */
+ template<typename Scalar>
+-void AmbiVector<Scalar>::nonZeros() const
++int AmbiVector<Scalar>::nonZeros() const
+ {
+ if (m_mode==IsSparse)
+ return m_llSize;
Home |
Main Index |
Thread Index |
Old Index