Bug#871811: FTBFS with CGAL 4.10

Joachim Reichel reichel at debian.org
Fri Aug 11 19:42:26 UTC 2017


Source: rheolef
Version: 6.7-3
Severity: normal
Tags: upstream, patch

Hi,

your package fails to build with CGAL 4.10 in experimental. The following patch fixes the problem:

--- rheolef-6.7.orig/nfem/geo_element/cgal_kernel.h
+++ rheolef-6.7/nfem/geo_element/cgal_kernel.h
@@ -247,7 +247,7 @@ template < class R >
 std::ostream &
 operator<<(std::ostream &os, const MySegmentC2<R> &s)
 {
-    switch(os.iword(CGAL::IO::mode)) {
+    switch(os.iword(CGAL::IO::get_static_mode())) {
     case CGAL::IO::ASCII :
         return os << s.source() << ' ' << s.target();
     case CGAL::IO::BINARY :

Direct access to CGAL::IO::mode is no longer possible. Only the accessor function remains.

  Joachim

-- System Information:
Debian Release: 9.1
  APT prefers stable
  APT policy: (800, 'stable'), (700, 'testing'), (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'stable-debug'), (200, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.9.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)



More information about the debian-science-maintainers mailing list