math/gfan: fix build with clang 19
Clang 19 has become more strict about errors in member functions, which
results in errors building math/gfan:
src/gfanlib_matrix.h:123:18: error: no member named 'vectormultiply' in 'Matrix<typ>'
123 | ret[i]=a.vectormultiply(b.column(i));
| ~ ^
The `vectormultiply` method has been commented out by upstream for
unknown reasons, but the `operator*` method that references it is also
never used, so stub it out.
PR: 282851
Approved by: maintainer timeout (2 weeks)
MFH: 2024Q49020eeb540Port details
math/gfan0.6.2_2
Software for computing Groebner fans and tropical varieties
- Maintainer
- moritz@schmi.tt
- Packages
- gfan 0.6.2_2
- Upstream
- Higher version available: 0.7
- CPE
- none, CVEs only via VuXML
- WWW
- https://users-math.au.dk/jensen/software/gfan/gfan.html
- Links
- cgit · VuXML
Unaddressed (0) · The CVE record lists this version as affected, no VuXML entry names the CVE
None. There is no CVE without a VuXML entry for this version.
VuXML only (0) · listed, port not fixed yet
None.
pkg audit reports nothing for this version.Fixed (0)
No VuXML entries for this package.
Commits (13)
Remove WWW entries moved into port Makefiles Commit b7f05445c00f has added WWW entries to port Makefiles based on WWW: lines in pkg-descr files. This commit removes the WWW: lines of moved-over URLs from these pkg-descr files. Approved by: portmgr (tcberner)fb16dfecae
Add WWW entries to port Makefiles It has been common practice to have one or more URLs at the end of the ports' pkg-descr files, one per line and prefixed with "WWW:". These URLs should point at a project website or other relevant resources. Access to these URLs required processing of the pkg-descr files, and they have often become stale over time. If more than one such URL was present in a pkg-descr file, only the first one was tarnsfered into the port INDEX, but for many ports only the last line did contain the port specific URL to further information. There have been several proposals to make a project URL available as a macro in the ports' Makefiles, over time. This commit implements such a proposal and moves one of the WWW: entries of each pkg-descr file into the respective port's Makefile. A heuristic attempts to identify the most relevant URL in case there is more than one WWW: entry in some pkg-descr file. URLs that are not moved into the Makefile are prefixed with "See also:" instead of "WWW:" in the pkg-descr files in order to preserve them. There are 1256 ports that had no WWW: entries in pkg-descr files. These ports will not be touched in this commit. The portlint port has been adjusted to expect a WWW entry in each port Makefile, and to flag any remaining "WWW:" lines in pkg-descr files as deprecated. Approved by: portmgr (tcberner)b7f05445c0
One more small cleanup, forgotten yesterday. Reported by: lwhsucf118ccf87
Remove # $FreeBSD$ from Makefiles.305f148f48
math/gfan: pass maintainership
o Update URL in MASTER_SITES to current address
o Update MAINTAINER
o Remove post-patch target as it is not needed
- Use LDFLAGS instead of the non-standard variable
ADDITIONALLINKOPTIONS.
- Replace "${REINPLACE_CMD} 's,log2,gfan_log2,g'" by appropriate
patch files as the command triggers multiple warnings. log2 is
a macro defined in src/log.h. The name of this macro is in
conflict with the function log2 from math.h. To avoid errors
when compiling the code, the above renaming is necessary.
Furthermore, PHB 4.4.3 strongly suggests using patch files
instead of REINPLACE_CMD for static content.
o Sort pkg-plist alphabetically as required by PHB 3.2.2
o Shorten pkg-descr and make it less technical
PR: 250879
Submitted by: Moritz Schmitt (maintainer)ecbb96a533Drop ports maintainership Approved by: gerald (mentor)f2f0c6e390
multiple ports: Update MAINTAINER as he got FreeBSD.org account. PR: 243002 Submitted by: salvadoredc936c406b
math/gfan: fix build on 13.0-CURRENT PR: 241194 Submitted by: Lorenzo Salvadore <phascolarctos@protonmail.ch> (maintainer)e8733c4906
onvert to UCL & cleanup pkg-message (categories l-m)558224994b
Bump PORTREVISION for ports depending on the canonical version of GCC as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3 to GCC 9.1 under most circumstances now after revision 507371. This includes ports - with USE_GCC=yes or USE_GCC=any, - with USES=fortran, - using Mk/bsd.octave.mk which in turn features USES=fortran, and - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang, c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib plus, everything INDEX-11 shows with a dependency on lang/gcc9 now. PR: 238330ea8c8ec7da
This port requires a C++11-compatible compiler to build, so add USES=compiler:c++11-lang to fix build on GCC-based architectures. Also add LDFLAGS to the linking command so that it links against ports libstdc++. While here, add USES=localbase. PR: 235976 Submitted by: Piotr Kubaj Approved by: maintainera16e107421
New ports: math/gfan, math/gfanlib Gfan is a software package for computing Groebner fans and tropical varieties. These are polyhedral fans associated to polynomial ideals. The maximal cones of a Groebner fan are in bijection with the marked reduced Groebner bases of its defining ideal. The software computes all marked reduced Groebner bases of an ideal. Their union is a universal Greobner basis. The tropical variety of a polynomial ideal is a certain subcomplex of the Groebner fan. Gfan contains algorithms for computing this complex for general ideals and specialized algorithms for tropical curves, tropical hypersurfaces and tropical varieties of prime ideals. In addition to the above core functions the package contains many tools which are useful in the study of Groebner bases, initial ideals and tropical geometry. WWW: http://home.math.au.dk/jensen/software/gfan/gfan.html PR: 231186 Submitted by: Lorenzo Salvadore <phascolarctos@protonmail.ch>648c41713e