git: e1893dcaca06 - main - science/votca: add missing #include <cassert>
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 29 Mar 2026 23:36:23 UTC
The branch main has been updated by fluffy:
URL: https://cgit.FreeBSD.org/ports/commit/?id=e1893dcaca06ce6f520e349233ccb4b261c9fe98
commit e1893dcaca06ce6f520e349233ccb4b261c9fe98
Author: Dima Panov <fluffy@FreeBSD.org>
AuthorDate: 2026-03-29 23:25:50 +0000
Commit: Dima Panov <fluffy@FreeBSD.org>
CommitDate: 2026-03-29 23:25:50 +0000
science/votca: add missing #include <cassert>
Reported by: bulk -t
Approved by: portmgr blanket
---
science/votca/files/patch-xtp_include_votca_xtp_eigen.h | 12 ++++++++++++
science/votca/files/patch-xtp_include_votca_xtp_qmstate.h | 10 ++++++++++
.../patch-xtp_include_votca_xtp_votca__xtp__config.h.in | 12 ++++++++++++
3 files changed, 34 insertions(+)
diff --git a/science/votca/files/patch-xtp_include_votca_xtp_eigen.h b/science/votca/files/patch-xtp_include_votca_xtp_eigen.h
new file mode 100644
index 000000000000..8a3c0f763820
--- /dev/null
+++ b/science/votca/files/patch-xtp_include_votca_xtp_eigen.h
@@ -0,0 +1,12 @@
+--- xtp/include/votca/xtp/eigen.h.orig 2025-10-03 18:44:55 UTC
++++ xtp/include/votca/xtp/eigen.h
+@@ -21,6 +21,9 @@
+ #ifndef VOTCA_XTP_EIGEN_H
+ #define VOTCA_XTP_EIGEN_H
+
++// Standard includes
++#include <cassert>
++
+ // CMake Generated file
+ // clang-format off
+ // order seems to matter here
diff --git a/science/votca/files/patch-xtp_include_votca_xtp_qmstate.h b/science/votca/files/patch-xtp_include_votca_xtp_qmstate.h
new file mode 100644
index 000000000000..9c37972ef3f9
--- /dev/null
+++ b/science/votca/files/patch-xtp_include_votca_xtp_qmstate.h
@@ -0,0 +1,10 @@
+--- xtp/include/votca/xtp/qmstate.h.orig 2025-10-03 18:44:55 UTC
++++ xtp/include/votca/xtp/qmstate.h
+@@ -23,6 +23,7 @@
+
+ // Standard includes
+ #include <string>
++#include <cassert>
+
+ // VOTCA includes
+ #include <votca/tools/types.h>
diff --git a/science/votca/files/patch-xtp_include_votca_xtp_votca__xtp__config.h.in b/science/votca/files/patch-xtp_include_votca_xtp_votca__xtp__config.h.in
new file mode 100644
index 000000000000..185826278eed
--- /dev/null
+++ b/science/votca/files/patch-xtp_include_votca_xtp_votca__xtp__config.h.in
@@ -0,0 +1,12 @@
+--- xtp/include/votca/xtp/votca_xtp_config.h.in.orig 2025-10-03 18:44:55 UTC
++++ xtp/include/votca/xtp/votca_xtp_config.h.in
+@@ -20,6 +20,9 @@
+ #ifndef VOTCA_XTP_CONFIG_H
+ #define VOTCA_XTP_CONFIG_H
+
++// Standard includes
++#include <cassert>
++
+ /* OpenMP */
+
+ #if defined(_OPENMP)