git: 69879d0f0f46 - main - math/singular: Fix build on 15; Update WWW
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 18 Dec 2024 20:35:08 UTC
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=69879d0f0f46a827bf35daa33349a0874c39a3d5
commit 69879d0f0f46a827bf35daa33349a0874c39a3d5
Author: Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-12-18 20:31:47 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-12-18 20:35:05 +0000
math/singular: Fix build on 15; Update WWW
Reported by: fallout
---
math/singular/Makefile | 3 ++-
math/singular/files/patch-gfanlib_gfanlib__matrix.h | 18 ++++++++++++++++++
2 files changed, 20 insertions(+), 1 deletion(-)
diff --git a/math/singular/Makefile b/math/singular/Makefile
index 5f423e837c6a..4ee7524d4875 100644
--- a/math/singular/Makefile
+++ b/math/singular/Makefile
@@ -8,7 +8,8 @@ DIST_SUBDIR= ${PORTNAME}
MAINTAINER= yuri@FreeBSD.org
COMMENT= Computer algebra system for polynomial computations
-WWW= https://www.singular.uni-kl.de/
+WWW= https://www.singular.uni-kl.de/ \
+ https://github.com/Singular/Singular
LICENSE= GPLv3RLE
LICENSE_FILE= ${WRKSRC}/COPYING
diff --git a/math/singular/files/patch-gfanlib_gfanlib__matrix.h b/math/singular/files/patch-gfanlib_gfanlib__matrix.h
new file mode 100644
index 000000000000..9182f3f85021
--- /dev/null
+++ b/math/singular/files/patch-gfanlib_gfanlib__matrix.h
@@ -0,0 +1,18 @@
+--- gfanlib/gfanlib_matrix.h.orig 2024-12-18 20:07:20 UTC
++++ gfanlib/gfanlib_matrix.h
+@@ -115,6 +115,7 @@ template <class typ> class Matrix{ (public)
+ p[i][j]=s*(q[i][j]);
+ return p;
+ }
++ /*
+ friend Matrix operator*(const Matrix& a, const Matrix& b)
+ {
+ assert(a.width==b.height);
+@@ -123,6 +124,7 @@ template <class typ> class Matrix{ (public)
+ ret[i]=a.vectormultiply(b.column(i));
+ return ret.transposed();
+ }
++ */
+ /* template<class T>
+ Matrix<T>(const Matrix<T>& c):v(c.size()){
+ for(int i=0;i<size();i++)v[i]=typ(c[i]);}