Tue May 2 09:32:57 2023 UTC ()
eigen3: remove patch that was rejected upstream

Eigen's intention here was that if the user is going to print their
types via something like
```
os << matrix;
```
then they should be including `<ostream>` explicitly on their own,
and not rely on a transitively included header.  So this was by
design.  As it is, it should build and run if
- you never actually call those functions, and don't include `<ostream>` on your own
- you do call those functions, and do include `<ostream>` in your own.

Bump PKGREVISION.


(wiz)
diff -r1.18 -r1.19 pkgsrc/math/eigen3/Makefile
diff -r1.18 -r1.19 pkgsrc/math/eigen3/distinfo
diff -r1.2 -r0 pkgsrc/math/eigen3/patches/patch-Eigen_src_Core_IO.h

cvs diff -r1.18 -r1.19 pkgsrc/math/eigen3/Makefile (expand / switch to unified diff)

--- pkgsrc/math/eigen3/Makefile 2023/03/30 17:31:17 1.18
+++ pkgsrc/math/eigen3/Makefile 2023/05/02 09:32:56 1.19
@@ -1,28 +1,26 @@ @@ -1,28 +1,26 @@
1# $NetBSD: Makefile,v 1.18 2023/03/30 17:31:17 tnn Exp $ 1# $NetBSD: Makefile,v 1.19 2023/05/02 09:32:56 wiz Exp $
2 2
3DISTNAME= eigen-3.4.0 3DISTNAME= eigen-3.4.0
4PKGNAME= ${DISTNAME:S/eigen/eigen3/} 4PKGNAME= ${DISTNAME:S/eigen/eigen3/}
 5PKGREVISION= 1
5CATEGORIES= math 6CATEGORIES= math
6MASTER_SITES= ${MASTER_SITE_GITLAB:=libeigen/eigen/-/archive/${PKGVERSION_NOREV}/} 7MASTER_SITES= ${MASTER_SITE_GITLAB:=libeigen/eigen/-/archive/${PKGVERSION_NOREV}/}
7EXTRACT_SUFX= .tar.bz2 8EXTRACT_SUFX= .tar.bz2
8 9
9MAINTAINER= pkgsrc-users@NetBSD.org 10MAINTAINER= pkgsrc-users@NetBSD.org
10HOMEPAGE= https://eigen.tuxfamily.org/ 11HOMEPAGE= https://eigen.tuxfamily.org/
11COMMENT= C++ template library for linear algebra 12COMMENT= C++ template library for linear algebra
12LICENSE= mpl-2.0 13LICENSE= mpl-2.0
13 14
14USE_LANGUAGES= c c++ 15USE_LANGUAGES= c c++
15 16
16CMAKE_ARGS+= -DCMAKEPACKAGE_INSTALL_DIR=${PREFIX}/lib/cmake/eigen3 17CMAKE_ARGS+= -DCMAKEPACKAGE_INSTALL_DIR=${PREFIX}/lib/cmake/eigen3
17CMAKE_ARGS+= -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON 18CMAKE_ARGS+= -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON
18CMAKE_ARGS+= -DEIGEN_BUILD_PKGCONFIG=ON 19CMAKE_ARGS+= -DEIGEN_BUILD_PKGCONFIG=ON
19CMAKE_ARGS+= -DPKGCONFIG_INSTALL_DIR=${PREFIX}/lib/pkgconfig 20CMAKE_ARGS+= -DPKGCONFIG_INSTALL_DIR=${PREFIX}/lib/pkgconfig
20 21
21# header-only 22# header-only
22# PKGCONFIG_OVERRIDE+= eigen3.pc.in 23# PKGCONFIG_OVERRIDE+= eigen3.pc.in
23 24
24pre-build: 
25 rm -f ${WRKSRC}/Eigen/src/Core/IO.h.orig 
26 
27.include "../../devel/cmake/build.mk" 25.include "../../devel/cmake/build.mk"
28.include "../../mk/bsd.pkg.mk" 26.include "../../mk/bsd.pkg.mk"

cvs diff -r1.18 -r1.19 pkgsrc/math/eigen3/distinfo (expand / switch to unified diff)

--- pkgsrc/math/eigen3/distinfo 2023/03/30 16:04:21 1.18
+++ pkgsrc/math/eigen3/distinfo 2023/05/02 09:32:56 1.19
@@ -1,6 +1,5 @@ @@ -1,6 +1,5 @@
1$NetBSD: distinfo,v 1.18 2023/03/30 16:04:21 wiz Exp $ 1$NetBSD: distinfo,v 1.19 2023/05/02 09:32:56 wiz Exp $
2 2
3BLAKE2s (eigen-3.4.0.tar.bz2) = d2a613a25633a3c1e5c96dd75b06bf22e9a4797e790d443254381d99d77d3991 3BLAKE2s (eigen-3.4.0.tar.bz2) = d2a613a25633a3c1e5c96dd75b06bf22e9a4797e790d443254381d99d77d3991
4SHA512 (eigen-3.4.0.tar.bz2) = cc488eb111e0e248744d2bc4475b345b5fb82361dff226a5b73a33bd0388de8c219cff8cffcf8f476b672fc0e223f339e8c6a1cfb6293840a4a6abf232438a89 4SHA512 (eigen-3.4.0.tar.bz2) = cc488eb111e0e248744d2bc4475b345b5fb82361dff226a5b73a33bd0388de8c219cff8cffcf8f476b672fc0e223f339e8c6a1cfb6293840a4a6abf232438a89
5Size (eigen-3.4.0.tar.bz2) = 2143091 bytes 5Size (eigen-3.4.0.tar.bz2) = 2143091 bytes
6SHA1 (patch-Eigen_src_Core_IO.h) = 3547fac37c2cdf95a517eaf7d097e9ae6fc3aef1 

File Deleted: pkgsrc/math/eigen3/patches/Attic/patch-Eigen_src_Core_IO.h