Source: siconos
Version: 4.4.0+dfsg-2
Severity: important
Tags: ftbfs sid trixie patch
User: [email protected]
Usertags: suitesparse7

Dear Maintainer,

siconos fails to build against suitesparse 7, which is currently available in
experimental.

A patch is attached.

Cheers,

--
⢀⣴⠾⠻⢶⣦⠀  Sébastien Villemot
⣾⠁⢠⠒⠀⣿⡁  Debian Developer
⢿⡄⠘⠷⠚⠋⠀  https://sebastien.villemot.name
⠈⠳⣄⠀⠀⠀⠀  https://www.debian.org
Description: Fix FTBFS against suitesparse 7
 In SuiteSparse 7.1.0, CXSparse now unconditionally enables the complex number
 support. In particular, cs.h now unconditonally includes <complex.h>.
 But "I" is a preprocessor macro when <complex.h> is included, and this
 conflicts with names used inside siconos and boost. So undefine that macro.
Author: Sébastien Villemot <[email protected]>
Bug-Debian: https://bugs.debian.org/<TO BE COMPLETED>
Forwarded: no
Last-Update: 2023-07-15
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/numerics/src/tools/CSparseMatrix_internal.h
+++ b/numerics/src/tools/CSparseMatrix_internal.h
@@ -45,6 +45,7 @@
 #define NCOMPLEX
 
 #include "cs.h"
+#undef I
 
 #include "CSparseMatrix.h"
 
-- 
debian-science-maintainers mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-science-maintainers

Reply via email to