summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
Diffstat (limited to 'math')
-rw-r--r--math/add/Makefile16
-rw-r--r--math/add/distinfo6
-rw-r--r--math/gismo/Makefile4
-rw-r--r--math/gismo/distinfo6
-rw-r--r--math/gismo/files/patch-cmake_gsConfig.cmake14
-rw-r--r--math/gismo/pkg-plist124
-rw-r--r--math/py-igraph/Makefile11
-rw-r--r--math/py-igraph/distinfo6
-rw-r--r--math/py-igraph/files/patch-setup.py20
-rw-r--r--math/py-igraph/files/patch-vendor_source_igraph_etc_cmake_compilers.cmake19
-rw-r--r--math/scilab/Makefile7
-rw-r--r--math/scilab/files/patch-libxml2.1341
12 files changed, 200 insertions, 74 deletions
diff --git a/math/add/Makefile b/math/add/Makefile
index 01c049a6b080..83ddb5415bc9 100644
--- a/math/add/Makefile
+++ b/math/add/Makefile
@@ -1,12 +1,11 @@
PORTNAME= add
-PORTVERSION= 20230205
-PORTREVISION= 1
+PORTVERSION= 20240916
CATEGORIES= math
-MASTER_SITES= ftp://dickey.his.com/add/
+MASTER_SITES= https://invisible-island.net/archives/add/
MAINTAINER= eduardo@FreeBSD.org
COMMENT= Full-screen editing calculator
-WWW= https://dickey.his.com/add/add.html
+WWW= https://invisible-island.net/add/add.html
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/COPYING
@@ -21,9 +20,12 @@ PLIST_FILES= bin/add \
PORTDATA= add.hlp
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/add ${STAGEDIR}${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/add.1 ${STAGEDIR}${PREFIX}/share/man/man1
+ ${INSTALL_PROGRAM} ${WRKSRC}/add \
+ ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/add.1 \
+ ${STAGEDIR}${PREFIX}/share/man/man1
@${MKDIR} ${STAGEDIR}${DATADIR}
- ${INSTALL_DATA} ${WRKSRC}/add.hlp ${STAGEDIR}${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/add.hlp \
+ ${STAGEDIR}${DATADIR}
.include <bsd.port.mk>
diff --git a/math/add/distinfo b/math/add/distinfo
index 8428d01c1a99..56beb39974ce 100644
--- a/math/add/distinfo
+++ b/math/add/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1675932071
-SHA256 (add-20230205.tgz) = 68e216241100d0cf098e139c24fe04880b9be60a8643cd82f8925ac0ce3d7260
-SIZE (add-20230205.tgz) = 179162
+TIMESTAMP = 1752529419
+SHA256 (add-20240916.tgz) = 7290c6c0943c139546687bb552b14e2551d3e14f6482a255673f6e7a9d279e27
+SIZE (add-20240916.tgz) = 182153
diff --git a/math/gismo/Makefile b/math/gismo/Makefile
index 736e9da8ac9e..72b83c6681a2 100644
--- a/math/gismo/Makefile
+++ b/math/gismo/Makefile
@@ -1,6 +1,6 @@
PORTNAME= gismo
DISTVERSIONPREFIX= v
-DISTVERSION= 25.01.0
+DISTVERSION= 25.07.0
CATEGORIES= math # geometry
MAINTAINER= yuri@FreeBSD.org
@@ -32,6 +32,6 @@ CMAKE_ARGS+= -DTARGET_ARCHITECTURE="arm1176jzf-s"
CMAKE_ARGS+= -DTARGET_ARCHITECTURE="cortex-a7"
.endif
-# tests as of 25.01.0: 99% tests passed, 1 tests failed out of 86, see https://github.com/gismo/gismo/issues/466
+# tests as of 25.07.0: 99% tests passed, 1 tests failed out of 90, see https://github.com/gismo/gismo/issues/466
.include <bsd.port.post.mk>
diff --git a/math/gismo/distinfo b/math/gismo/distinfo
index acabfa6372c8..d724c4281079 100644
--- a/math/gismo/distinfo
+++ b/math/gismo/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1736489045
-SHA256 (gismo-gismo-v25.01.0_GH0.tar.gz) = d1250b3d3a37c9d7d3f9cb63e4a36ae07b76aa47335847008be7516cc390c61e
-SIZE (gismo-gismo-v25.01.0_GH0.tar.gz) = 17805040
+TIMESTAMP = 1752473570
+SHA256 (gismo-gismo-v25.07.0_GH0.tar.gz) = 6d20f0b43ed80d3bf34fcabdac10a6bed6afbb314239dcbd0495a362a87aca9a
+SIZE (gismo-gismo-v25.07.0_GH0.tar.gz) = 17852458
diff --git a/math/gismo/files/patch-cmake_gsConfig.cmake b/math/gismo/files/patch-cmake_gsConfig.cmake
deleted file mode 100644
index b889ae68462d..000000000000
--- a/math/gismo/files/patch-cmake_gsConfig.cmake
+++ /dev/null
@@ -1,14 +0,0 @@
-- -no-sse2 flag is added by cmake: https://github.com/gismo/gismo/issues/570
-- this triggers the clang crash: https://bugs.llvm.org/show_bug.cgi?id=51468
-
---- cmake/gsConfig.cmake.orig 2023-12-31 16:59:24 UTC
-+++ cmake/gsConfig.cmake
-@@ -270,7 +270,7 @@ endif()
- #string(TOUPPER ${CMAKE_BUILD_TYPE} TEMP)
- #message(STATUS "Using compilation flags: ${CMAKE_CXX_FLAGS}, ${CMAKE_CXX_FLAGS_${TEMP}}")
-
--if("x${CMAKE_BUILD_TYPE}" STREQUAL "xRelease" AND NOT ARCHITECTURE_CXX_FLAGS)
-+if(FALSE AND "x${CMAKE_BUILD_TYPE}" STREQUAL "xRelease" AND NOT ARCHITECTURE_CXX_FLAGS)
- include( OptimizeForArchitecture )
- OptimizeForArchitecture()
- foreach (flag ${ARCHITECTURE_CXX_FLAGS})
diff --git a/math/gismo/pkg-plist b/math/gismo/pkg-plist
index 72e4a2ea9e24..d0ab48de3f70 100644
--- a/math/gismo/pkg-plist
+++ b/math/gismo/pkg-plist
@@ -10,13 +10,14 @@ bin/basis_example
bin/biharmonic2_example
bin/biharmonic_example
bin/commandLineArg_example
+bin/compositions_example
bin/constrained_fitting
+bin/domains_example
bin/fileIo_example
bin/fitting_example
bin/fitting_mspline
bin/geometry_example
bin/gsAdaptiveMeshing_example
-bin/gsExpressions_test
bin/gsHBox_example
bin/gsInterpolateMap
bin/gsMakeMultiPatch
@@ -48,6 +49,7 @@ bin/quasiInterpolation_example
bin/refitting_example
bin/sparseSolvers_example
bin/stokes_ieti_example
+bin/surfaceReparametrization_example
bin/thbRefinement_example
bin/thbSplineBasis_example
bin/triangulatedMeshToSolid_example
@@ -55,7 +57,6 @@ bin/trilinos_example
include/gismo/eiquadprog.hpp
include/gismo/gdcpp.h
include/gismo/gismo.h
-include/gismo/gsAssembler/expr/precomputed_expr.h
include/gismo/gsAssembler/gsAdaptiveMeshing.h
include/gismo/gsAssembler/gsAdaptiveMeshingCompare.h
include/gismo/gsAssembler/gsAdaptiveMeshingUtils.h
@@ -69,8 +70,6 @@ include/gismo/gsAssembler/gsCPPInterface.h
include/gismo/gsAssembler/gsDirichletValues.h
include/gismo/gsAssembler/gsExprAssembler.h
include/gismo/gsAssembler/gsExprEvaluator.h
-include/gismo/gsAssembler/gsExprHelper.h
-include/gismo/gsAssembler/gsExpressions.h
include/gismo/gsAssembler/gsGaussRule.h
include/gismo/gsAssembler/gsGenericAssembler.h
include/gismo/gsAssembler/gsHeatEquation.h
@@ -101,6 +100,9 @@ include/gismo/gsCore/gsBasisRefs.h
include/gismo/gsCore/gsBoundary.h
include/gismo/gsCore/gsBoxTopology.h
include/gismo/gsCore/gsBulk.h
+include/gismo/gsCore/gsComposedBasis.h
+include/gismo/gsCore/gsComposedFunction.h
+include/gismo/gsCore/gsComposedGeometry.h
include/gismo/gsCore/gsConfig.h
include/gismo/gsCore/gsConfigExt.h
include/gismo/gsCore/gsConstantBasis.h
@@ -108,8 +110,6 @@ include/gismo/gsCore/gsConstantFunction.h
include/gismo/gsCore/gsCurve.h
include/gismo/gsCore/gsDebug.h
include/gismo/gsCore/gsDofMapper.h
-include/gismo/gsCore/gsDomain.h
-include/gismo/gsCore/gsDomainIterator.h
include/gismo/gsCore/gsExport.h
include/gismo/gsCore/gsField.h
include/gismo/gsCore/gsFieldCreator.h
@@ -137,6 +137,23 @@ include/gismo/gsCore/gsSurface.h
include/gismo/gsCore/gsSysInfo.h
include/gismo/gsCore/gsTemplateTools.h
include/gismo/gsCore/gsVolume.h
+include/gismo/gsDomain/gsBreaksIterator.h
+include/gismo/gsDomain/gsCompositeDomain.h
+include/gismo/gsDomain/gsDomain.h
+include/gismo/gsDomain/gsDomainIterator.h
+include/gismo/gsDomain/gsHDomain.h
+include/gismo/gsDomain/gsHDomainBoundaryIterator.h
+include/gismo/gsDomain/gsHDomainIterator.h
+include/gismo/gsDomain/gsHDomainLeafIter.h
+include/gismo/gsDomain/gsHDomainSliceIter.h
+include/gismo/gsDomain/gsHTree.h
+include/gismo/gsDomain/gsKdNode.h
+include/gismo/gsDomain/gsKnotDomainIterator.h
+include/gismo/gsDomain/gsPointDomain.h
+include/gismo/gsDomain/gsPointDomainIterator.h
+include/gismo/gsDomain/gsTensorDomain.h
+include/gismo/gsDomain/gsTensorDomainBoundaryIterator.h
+include/gismo/gsDomain/gsTensorDomainIterator.h
include/gismo/gsEigen/Cholesky
include/gismo/gsEigen/CholmodSupport
include/gismo/gsEigen/Core
@@ -474,21 +491,81 @@ include/gismo/gsEigen/src/plugins/IndexedViewMethods.h
include/gismo/gsEigen/src/plugins/MatrixCwiseBinaryOps.h
include/gismo/gsEigen/src/plugins/MatrixCwiseUnaryOps.h
include/gismo/gsEigen/src/plugins/ReshapedMethods.h
+include/gismo/gsExpressions/_expr.h
+include/gismo/gsExpressions/_expr_macros.h
+include/gismo/gsExpressions/abs_expr.h
+include/gismo/gsExpressions/add_expr.h
+include/gismo/gsExpressions/adjugate_expr.h
+include/gismo/gsExpressions/asdiag_expr.h
+include/gismo/gsExpressions/colBlocks_expr.h
+include/gismo/gsExpressions/col_expr.h
+include/gismo/gsExpressions/collapse_expr.h
+include/gismo/gsExpressions/colsum_expr.h
+include/gismo/gsExpressions/constMat_expr.h
+include/gismo/gsExpressions/cross_expr.h
+include/gismo/gsExpressions/curl_expr.h
+include/gismo/gsExpressions/dJacG_expr.h
+include/gismo/gsExpressions/dJacdc_expr.h
+include/gismo/gsExpressions/diag_expr.h
+include/gismo/gsExpressions/divide_expr.h
+include/gismo/gsExpressions/example_expr.h
+include/gismo/gsExpressions/exp_expr.h
+include/gismo/gsExpressions/fform2nd_expr.h
+include/gismo/gsExpressions/flat_expr.h
+include/gismo/gsExpressions/frprod_expr.h
+include/gismo/gsExpressions/grad_expr.h
+include/gismo/gsExpressions/gsComposition.h
+include/gismo/gsExpressions/gsExprHelper.h
+include/gismo/gsExpressions/gsExpressions.h
+include/gismo/gsExpressions/gsFeElement.h
+include/gismo/gsExpressions/gsFeSolution.h
+include/gismo/gsExpressions/gsFeSpace.h
+include/gismo/gsExpressions/gsFeSpaceData.h
+include/gismo/gsExpressions/gsFeVariable.h
+include/gismo/gsExpressions/gsGeometryMap.h
+include/gismo/gsExpressions/gsNullExpr.h
+include/gismo/gsExpressions/gsVector_expr.h
+include/gismo/gsExpressions/hess_expr.h
+include/gismo/gsExpressions/idMat_expr.h
+include/gismo/gsExpressions/integral_expr.h
+include/gismo/gsExpressions/jacInv_expr.h
+include/gismo/gsExpressions/jac_expr.h
+include/gismo/gsExpressions/lapl_expr.h
+include/gismo/gsExpressions/matrix_by_space_expr.h
+include/gismo/gsExpressions/matrix_by_space_tr_expr.h
+include/gismo/gsExpressions/max_expr.h
+include/gismo/gsExpressions/meas_expr.h
+include/gismo/gsExpressions/mult_expr.h
+include/gismo/gsExpressions/nabla2_expr.h
+include/gismo/gsExpressions/nabla_expr.h
+include/gismo/gsExpressions/normal_expr.h
+include/gismo/gsExpressions/onormal_expr.h
+include/gismo/gsExpressions/pow_expr.h
+include/gismo/gsExpressions/ppart_expr.h
+include/gismo/gsExpressions/ppartval_expr.h
+include/gismo/gsExpressions/precomputed_expr.h
+include/gismo/gsExpressions/replicate_expr.h
+include/gismo/gsExpressions/reshape_expr.h
+include/gismo/gsExpressions/rowsum_expr.h
+include/gismo/gsExpressions/sign_expr.h
+include/gismo/gsExpressions/sub_expr.h
+include/gismo/gsExpressions/summ_expr.h
+include/gismo/gsExpressions/symbol_expr.h
+include/gismo/gsExpressions/symm_expr.h
+include/gismo/gsExpressions/symmetrize_expr.h
+include/gismo/gsExpressions/tangent_expr.h
+include/gismo/gsExpressions/temp_expr.h
+include/gismo/gsExpressions/trace_expr.h
+include/gismo/gsExpressions/transpose_expr.h
+include/gismo/gsExpressions/value_expr.h
+include/gismo/gsExpressions/voigt_expr.h
include/gismo/gsHSplines/gsAABB.h
include/gismo/gsHSplines/gsAAPolyline.h
-include/gismo/gsHSplines/gsHBSpline.h
-include/gismo/gsHSplines/gsHBSplineBasis.h
include/gismo/gsHSplines/gsHBox.h
include/gismo/gsHSplines/gsHBoxContainer.h
include/gismo/gsHSplines/gsHBoxUtils.h
-include/gismo/gsHSplines/gsHDomain.h
-include/gismo/gsHSplines/gsHDomainBoundaryIterator.h
-include/gismo/gsHSplines/gsHDomainIterator.h
-include/gismo/gsHSplines/gsHDomainLeafIter.h
-include/gismo/gsHSplines/gsHDomainSliceIter.h
include/gismo/gsHSplines/gsHFitting.h
include/gismo/gsHSplines/gsHTensorBasis.h
-include/gismo/gsHSplines/gsKdNode.h
include/gismo/gsHSplines/gsRationalTHBSpline.h
include/gismo/gsHSplines/gsRationalTHBSplineBasis.h
include/gismo/gsHSplines/gsTHBSpline.h
@@ -500,8 +577,8 @@ include/gismo/gsIO/gsCsv.h
include/gismo/gsIO/gsFileData.h
include/gismo/gsIO/gsFileManager.h
include/gismo/gsIO/gsGoTools.h
-include/gismo/gsIO/gsIOUtils.h
include/gismo/gsIO/gsOptionList.h
+include/gismo/gsIO/gsOptionListXml.h
include/gismo/gsIO/gsParaviewCollection.h
include/gismo/gsIO/gsParaviewDataSet.h
include/gismo/gsIO/gsParaviewUtils.h
@@ -559,6 +636,7 @@ include/gismo/gsModeling/gsSolidHalfEdge.h
include/gismo/gsModeling/gsSolidHalfFace.h
include/gismo/gsModeling/gsSolidHeVertex.h
include/gismo/gsModeling/gsSpringPatch.h
+include/gismo/gsModeling/gsSurfaceReparameterization.h
include/gismo/gsModeling/gsTemplate.h
include/gismo/gsModeling/gsTriMeshToSolid.h
include/gismo/gsModeling/gsTrimSurface.h
@@ -573,6 +651,7 @@ include/gismo/gsNurbs/gsBoehm.h
include/gismo/gsNurbs/gsCurveCurveIntersection.h
include/gismo/gsNurbs/gsKnotIterator.h
include/gismo/gsNurbs/gsKnotVector.h
+include/gismo/gsNurbs/gsMobiusMap.h
include/gismo/gsNurbs/gsNurbs.h
include/gismo/gsNurbs/gsNurbsBasis.h
include/gismo/gsNurbs/gsNurbsCreator.h
@@ -580,8 +659,6 @@ include/gismo/gsNurbs/gsTensorBSpline.h
include/gismo/gsNurbs/gsTensorBSplineBasis.h
include/gismo/gsNurbs/gsTensorNurbs.h
include/gismo/gsNurbs/gsTensorNurbsBasis.h
-include/gismo/gsOpennurbs/gsReadOpenNurbs.h
-include/gismo/gsOpennurbs/gsWriteOpenNurbs.h
include/gismo/gsOptimizer/gsFunctionAdaptor.h
include/gismo/gsOptimizer/gsGradientDescent.h
include/gismo/gsOptimizer/gsLevenbergMarquardt.h
@@ -626,13 +703,10 @@ include/gismo/gsSolver/gsSumOp.h
include/gismo/gsTensor/gsGenericTensorBasis.h
include/gismo/gsTensor/gsGridIterator.h
include/gismo/gsTensor/gsTensorBasis.h
-include/gismo/gsTensor/gsTensorDomainBoundaryIterator.h
-include/gismo/gsTensor/gsTensorDomainIterator.h
include/gismo/gsTensor/gsTensorTools.h
include/gismo/gsUtils/gsBoundedPriorityQueue.h
include/gismo/gsUtils/gsCombinatorics.h
include/gismo/gsUtils/gsFunctionWithDerivatives.h
-include/gismo/gsUtils/gsKDTree.h
include/gismo/gsUtils/gsL2Projection.h
include/gismo/gsUtils/gsMesh/gsBoundingBox.h
include/gismo/gsUtils/gsMesh/gsCell.h
@@ -711,7 +785,7 @@ lib/gismo/ofa/cpuinfo_x86.cxx
lib/libgismo.a
lib/libgismo.so
lib/libgismo.so.25
-lib/libgismo.so.25.1.0
+lib/libgismo.so.25.7.0
libdata/pkgconfig/gismo.pc
%%DATADIR%%data/breps/2D/duck_BRep.xml
%%DATADIR%%data/breps/3D/duck_BRep.xml
@@ -763,6 +837,8 @@ libdata/pkgconfig/gismo.pc
%%DATADIR%%data/pde/poisson2d_bvp_bin.xml
%%DATADIR%%data/pde/poisson2d_sin.xml
%%DATADIR%%data/pde/poisson3d_sin.xml
+%%DATADIR%%data/pde/surfacepoisson_sphere_bvp.xml
+%%DATADIR%%data/pde/surfacepoisson_torus_bvp.xml
%%DATADIR%%data/planar/hexagon_3p.xml
%%DATADIR%%data/planar/hexagon_5p.xml
%%DATADIR%%data/planar/lshape2d_3patches_tens.xml
@@ -778,6 +854,7 @@ libdata/pkgconfig/gismo.pc
%%DATADIR%%data/stl/patchLisa.stl
%%DATADIR%%data/stl/patchLisa_1.stl
%%DATADIR%%data/surfaces/car.xml
+%%DATADIR%%data/surfaces/crazySurf.xml
%%DATADIR%%data/surfaces/cylinder.xml
%%DATADIR%%data/surfaces/egg.xml
%%DATADIR%%data/surfaces/g_plus_s_surf.xml
@@ -788,6 +865,11 @@ libdata/pkgconfig/gismo.pc
%%DATADIR%%data/surfaces/thbs_face_3levels.xml
%%DATADIR%%data/thbbasis/simple.xml
%%DATADIR%%data/thbbasis/thbs_basis_02.xml
+%%DATADIR%%data/unittests/gsComposedBasis.xml
+%%DATADIR%%data/unittests/gsComposedFunction.xml
+%%DATADIR%%data/unittests/gsComposedGeometry.xml
+%%DATADIR%%data/unittests/gsConstantFunction.xml
+%%DATADIR%%data/unittests/gsFunctionExpr.xml
%%DATADIR%%data/unittests/matrix.xml
%%DATADIR%%data/volumes/GshapedVolume.xml
%%DATADIR%%data/volumes/cube.xml
diff --git a/math/py-igraph/Makefile b/math/py-igraph/Makefile
index ba22555e9a9c..59e9aed6bfd8 100644
--- a/math/py-igraph/Makefile
+++ b/math/py-igraph/Makefile
@@ -1,6 +1,5 @@
PORTNAME= igraph
-DISTVERSION= 0.10.6
-PORTREVISION= 6
+DISTVERSION= 0.11.9
CATEGORIES= math python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -12,17 +11,13 @@ WWW= https://igraph.org/python/
LICENSE= GPLv2
-BROKEN= Fails to build with libxml2 2.13+, error: incompatible function pointer types passing 'void (*)(void *, xmlErrorPtr)' (aka 'void (*)(void *, struct _xmlError *)') to parameter of type 'xmlStructuredErrorFunc' (aka 'void (*)(void *, const struct _xmlError *)')
-
BUILD_DEPENDS= cmake:devel/cmake-core \
${LOCALBASE}/bin/flex:textproc/flex
-LIB_DEPENDS= libigraph.so:math/igraph \
- libarpack.so:math/arpack-ng \
+LIB_DEPENDS= libarpack.so:math/arpack-ng \
libblas.so:math/blas \
libglpk.so:math/glpk \
libgmp.so:math/gmp \
- liblapack.so:math/lapack \
- libopenblas.so:math/openblas
+ liblapack.so:math/lapack
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}texttable>=1.6.2:textproc/py-texttable@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}cairocffi>0:graphics/py-cairocffi@${PY_FLAVOR}
TEST_DEPENDS= py.test:devel/py-pytest@${PY_FLAVOR}
diff --git a/math/py-igraph/distinfo b/math/py-igraph/distinfo
index 92d43956c400..3b9f5d95b2c0 100644
--- a/math/py-igraph/distinfo
+++ b/math/py-igraph/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1692030616
-SHA256 (python-igraph/igraph-0.10.6.tar.gz) = 76f7aad294514412f835366a7d9a9c1e7a34c3e6ef0a6c3a1a835234323228e8
-SIZE (python-igraph/igraph-0.10.6.tar.gz) = 4233333
+TIMESTAMP = 1752616078
+SHA256 (python-igraph/igraph-0.11.9.tar.gz) = c57ce44873abcfcfd1d61d7d261e416d352186958e7b5d299cf244efa6757816
+SIZE (python-igraph/igraph-0.11.9.tar.gz) = 4587322
diff --git a/math/py-igraph/files/patch-setup.py b/math/py-igraph/files/patch-setup.py
index c45c6da41642..24e3ea45c0df 100644
--- a/math/py-igraph/files/patch-setup.py
+++ b/math/py-igraph/files/patch-setup.py
@@ -1,24 +1,26 @@
---- setup.py.orig 2023-07-13 11:49:16 UTC
+--- setup.py.orig 2025-06-11 00:02:53 UTC
+++ setup.py
-@@ -281,7 +281,7 @@ class IgraphCCoreCMakeBuilder:
+@@ -280,8 +280,8 @@ class IgraphCCoreCMakeBuilder:
+ args.append("-DIGRAPH_GRAPHML_SUPPORT:BOOL=OFF")
# Build the Python interface with vendored libraries
- for deps in "ARPACK BLAS GLPK GMP LAPACK".split():
+- for deps in "ARPACK BLAS GLPK GMP LAPACK PLFIT".split():
- args.append("-DIGRAPH_USE_INTERNAL_" + deps + "=ON")
++ for deps in "ARPACK BLAS GLPK GMP LAPACK".split():
+ args.append("-DIGRAPH_USE_INTERNAL_" + deps + "=OFF")
- # -fPIC is needed on Linux so we can link to a static igraph lib from a
- # Python shared library
-@@ -289,6 +289,12 @@ class IgraphCCoreCMakeBuilder:
-
+ # Use link-time optinization if available
+ args.append("-DIGRAPH_ENABLE_LTO=AUTO")
+@@ -293,6 +293,12 @@ class IgraphCCoreCMakeBuilder:
# No need to build tests
args.append("-DBUILD_TESTING=OFF")
-+
+
+ # Always use flex from ports
+ args.append("-DFLEX_EXECUTABLE:FILEPATH=%%LOCALBASE%%/bin/flex")
+
+ # Don't try to use git
+ args.append("-DCMAKE_DISABLE_FIND_PACKAGE_Git:BOOL=True")
-
++
# Do not treat compilation warnings as errors in case someone is trying
# to "pip install" igraph in an environment for which we don't provide
+ # wheels and the compiler complains about harmless things
diff --git a/math/py-igraph/files/patch-vendor_source_igraph_etc_cmake_compilers.cmake b/math/py-igraph/files/patch-vendor_source_igraph_etc_cmake_compilers.cmake
new file mode 100644
index 000000000000..c0f153b37fa3
--- /dev/null
+++ b/math/py-igraph/files/patch-vendor_source_igraph_etc_cmake_compilers.cmake
@@ -0,0 +1,19 @@
+Strip the _POSIX_C_SOURCE=200809L define again, our libc++ breaks claiming
+that a set included from locale cannot find isascii()...
+
+--- vendor/source/igraph/etc/cmake/compilers.cmake.orig 2025-06-11 00:03:00 UTC
++++ vendor/source/igraph/etc/cmake/compilers.cmake
+@@ -1,13 +1,5 @@ include(CheckCCompilerFlag)
+ include(CheckCCompilerFlag)
+
+-# Enable POSIX features. This needs to be set here instead of in source files so
+-# that it affects CMake-based feature tests.
+-#
+-# See:
+-# - https://pubs.opengroup.org/onlinepubs/007904875/functions/xsh_chap02_02.html
+-# - https://www.gnu.org/software/libc/manual/html_node/Feature-Test-Macros.html
+-add_compile_definitions(_POSIX_C_SOURCE=200809L)
+-
+ if(MSVC)
+ add_compile_options(/FS)
+ add_compile_definitions(_CRT_SECURE_NO_WARNINGS) # necessary to compile for UWP
diff --git a/math/scilab/Makefile b/math/scilab/Makefile
index 5ddb6ca33416..eed99f22294e 100644
--- a/math/scilab/Makefile
+++ b/math/scilab/Makefile
@@ -1,6 +1,6 @@
PORTNAME= scilab
DISTVERSION= 6.1.1
-PORTREVISION= 22
+PORTREVISION= 23
CATEGORIES= math cad java
MASTER_SITES= https://www.scilab.org/download/${DISTVERSION}/
DISTFILES= ${DISTNAME}-src${EXTRACT_SUFX}
@@ -14,8 +14,6 @@ LICENSE_COMB= dual
LICENSE_FILE_GPLv2= ${WRKSRC}/COPYING
LICENSE_FILE_BSD3CLAUSE= ${WRKSRC}/COPYING-BSD
-BROKEN= Fails to build, configure: error: Could not find or use the Java package/jar saxon used by Saxon XSLT Processor (looking for package com.icl.saxon.Loader)
-
LIB_DEPENDS= libpcre.so:devel/pcre \
libcurl.so:ftp/curl \
libhdf5.so:science/hdf5 \
@@ -86,7 +84,7 @@ _GUI_DEPENDS+= ${JAVALIBDIR}/commons-beanutils.jar:java/apache-commons-beanutils
${LOCALBASE}/bin/splint:devel/splint
# Documentation building:
_GUI_DEPENDS+= ${LOCALBASE}/share/xsl/docbook/javahelp/javahelp.xsl:textproc/docbook-xsl \
- ${JAVALIBDIR}/saxon-he-12.6.jar:textproc/saxon-he \
+ saxon-he>=12.8:textproc/saxon-he \
${_JAVADIR}/xml-commons/xml-apis-ext.jar:textproc/xml-commons \
xsltproc:textproc/libxslt
# Other gui deps:
@@ -148,6 +146,7 @@ FFLAGS+= -fallow-argument-mismatch
post-patch:
@${REINPLACE_CMD} 's,/usr/local,${LOCALBASE},' ${WRKSRC}/etc/librarypath.xml
@${REINPLACE_CMD} -e 's, gfortran, ${FC},' ${WRKSRC}/modules/dynamic_link/src/scripts/configure
+ @${REINPLACE_CMD} -e 's,valgrind,X_X_NONEXIST_X_X,' ${WRKSRC}/configure
.if ${COMPILER_TYPE} == clang
@${REINPLACE_CMD} -e 's|std::filesystem|std::__fs::filesystem|g' \
${WRKSRC}/modules/fileio/src/cpp/fullpath.cpp \
diff --git a/math/scilab/files/patch-libxml2.13 b/math/scilab/files/patch-libxml2.13
new file mode 100644
index 000000000000..d304ca60c5df
--- /dev/null
+++ b/math/scilab/files/patch-libxml2.13
@@ -0,0 +1,41 @@
+diff -up modules/scicos/src/cpp/XMIResource_load.cpp.orig modules/scicos/src/cpp/XMIResource_load.cpp
+--- modules/scicos/src/cpp/XMIResource_load.cpp.orig 2021-07-15 13:55:14.000000000 +0200
++++ modules/scicos/src/cpp/XMIResource_load.cpp 2025-07-14 14:43:30.773655000 +0200
+@@ -56,11 +56,11 @@ struct LibXML2State
+ LibXML2State()
+ {
+ xmlGenericErrorFunc f = &console_print;
+- initGenericErrorDefaultFunc(&f);
++ xmlSetGenericErrorFunc(nullptr, f);
+ }
+ ~LibXML2State()
+ {
+- initGenericErrorDefaultFunc(nullptr);
++ xmlSetGenericErrorFunc(nullptr, nullptr);
+ }
+ };
+
+diff -up modules/xml/src/cpp/XMLDocument.cpp.orig modules/xml/src/cpp/XMLDocument.cpp
+--- modules/xml/src/cpp/XMLDocument.cpp.orig 2021-07-15 13:55:21.000000000 +0200
++++ modules/xml/src/cpp/XMLDocument.cpp 2025-07-14 14:31:16.844487000 +0200
+@@ -520,7 +520,7 @@ void XMLDocument::errorFunction(void *ctx, const char
+ errorBuffer.append(str);
+ }
+
+-void XMLDocument::errorXPathFunction(void *ctx, xmlError * error)
++void XMLDocument::errorXPathFunction(void *ctx, const xmlError * error)
+ {
+ errorXPathBuffer.append(error->message);
+ }
+diff -up modules/xml/src/cpp/XMLDocument.hxx.orig modules/xml/src/cpp/XMLDocument.hxx
+--- modules/xml/src/cpp/XMLDocument.hxx.orig 2021-07-15 13:55:21.000000000 +0200
++++ modules/xml/src/cpp/XMLDocument.hxx 2025-07-14 14:31:29.264578000 +0200
+@@ -175,7 +175,7 @@ class XML_SCILAB_IMPEXP XMLDocument: public XMLObject
+ * Error function used when the XPath query is compiled/
+ * @see http://xmlsoft.org/html/libxml-xmlerror.html#xmlStructuredErrorFunc
+ */
+- static void errorXPathFunction(void *ctx, xmlError * error);
++ static void errorXPathFunction(void *ctx, const xmlError * error);
+
+ /**
+ * Reads and parses a document given in a file.