# HG changeset patch # User Markus Mützel # Date 1711650618 -3600 # Node ID ebdff9919577ac05d3a48568928c33a721b229ad # Parent 1661d85f04977c73eecc5baf1bb1c9779c46f3f7 of-nurbs: Add patch for missing include of . * src/of-nurbs-1-cassert.patch: Add new file. * dist-files.mk: Add new file to list. diff -r 1661d85f0497 -r ebdff9919577 dist-files.mk --- a/dist-files.mk Thu Mar 28 19:21:22 2024 +0100 +++ b/dist-files.mk Thu Mar 28 19:30:18 2024 +0100 @@ -503,6 +503,7 @@ of-miscellaneous.mk \ of-nan.mk \ of-netcdf.mk \ + of-nurbs-1-cassert.patch \ of-nurbs.mk \ of-ocs-1-cross-fixes.patch \ of-ocs-2-dev-fixes.patch \ diff -r 1661d85f0497 -r ebdff9919577 src/of-nurbs-1-cassert.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/of-nurbs-1-cassert.patch Thu Mar 28 19:30:18 2024 +0100 @@ -0,0 +1,48 @@ +# HG changeset patch +# User Markus Mützel +# Date 1711650467 -3600 +# Thu Mar 28 19:27:47 2024 +0100 +# Node ID 5a45916ec64f6e822283a2b57aa491d29eee531f +# Parent 7eb621c830ef0d8826474248fa27e2bb8bc7089e +Include in files that use "assert". + +* src/low_level_functions.cc, src/nrbsurfderiveval.cc, src/tbasisfun.cc: The +header happened to be include via some headers from Octave before. +That is no longer the case for Octave 10. Include the header directly in files +that require it. + +diff -r 7eb621c830ef -r 5a45916ec64f src/low_level_functions.cc +--- a/src/low_level_functions.cc Mon May 15 15:43:05 2023 +0200 ++++ b/src/low_level_functions.cc Thu Mar 28 19:27:47 2024 +0100 +@@ -17,6 +17,8 @@ + */ + + ++#include ++ + #include + #include "low_level_functions.h" + #include +diff -r 7eb621c830ef -r 5a45916ec64f src/nrbsurfderiveval.cc +--- a/src/nrbsurfderiveval.cc Mon May 15 15:43:05 2023 +0200 ++++ b/src/nrbsurfderiveval.cc Thu Mar 28 19:27:47 2024 +0100 +@@ -14,6 +14,7 @@ + along with this program. If not, see . + */ + ++#include + #include + #include + #include +diff -r 7eb621c830ef -r 5a45916ec64f src/tbasisfun.cc +--- a/src/tbasisfun.cc Mon May 15 15:43:05 2023 +0200 ++++ b/src/tbasisfun.cc Thu Mar 28 19:27:47 2024 +0100 +@@ -15,6 +15,8 @@ + along with this program. If not, see . + */ + ++#include ++ + #include + #include +