Source: crrcsim
Version: 0.9.13-3.1
Severity: serious
Tags: ftbfs
Control: block 944417 by -1

Hi,

the transition to CGAL 5.0 started (see bug #944417) and your package FTBFS. I
intend to NMU the package with the attached diff to DELAYED/5-day.

Best regards,
  Joachim
diff -Nru crrcsim-0.9.13/debian/changelog crrcsim-0.9.13/debian/changelog
--- crrcsim-0.9.13/debian/changelog     2018-12-22 00:02:57.000000000 +0100
+++ crrcsim-0.9.13/debian/changelog     2019-12-03 22:22:43.000000000 +0100
@@ -1,3 +1,11 @@
+crrcsim (0.9.13-3.2) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Add patch to fix FTBFS with CGAL >= 5.0 (Closes: #xxxxxx).
+  * Add Build-Depends: libcgal-dev (>= 5.0~).
+
+ -- Joachim Reichel <reic...@debian.org>  Tue, 03 Dec 2019 22:22:43 +0100
+
 crrcsim (0.9.13-3.1) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -Nru crrcsim-0.9.13/debian/control crrcsim-0.9.13/debian/control
--- crrcsim-0.9.13/debian/control       2018-12-22 00:02:43.000000000 +0100
+++ crrcsim-0.9.13/debian/control       2019-12-03 22:22:43.000000000 +0100
@@ -9,7 +9,7 @@
  libsdl1.2-dev,
  libboost-thread-dev,
  libplib-dev,
- libcgal-dev,
+ libcgal-dev (>= 5.0~),
  libjpeg-dev,
  portaudio19-dev,
 Standards-Version: 4.1.4
diff -Nru crrcsim-0.9.13/debian/patches/10-cgal-use-header-only-mode.patch 
crrcsim-0.9.13/debian/patches/10-cgal-use-header-only-mode.patch
--- crrcsim-0.9.13/debian/patches/10-cgal-use-header-only-mode.patch    
1970-01-01 01:00:00.000000000 +0100
+++ crrcsim-0.9.13/debian/patches/10-cgal-use-header-only-mode.patch    
2019-12-03 22:22:43.000000000 +0100
@@ -0,0 +1,13 @@
+Index: crrcsim-0.9.13/configure.ac
+===================================================================
+--- crrcsim-0.9.13.orig/configure.ac
++++ crrcsim-0.9.13/configure.ac
+@@ -232,7 +232,7 @@ if  (test "x$ac_cv_header_CGAL_Exact_pre
+       has_CGAL="yes  (found CGAL v3)"
+     fi   
+     CGAL_CFLAGS=-frounding-math
+-    CGAL_LIBS=-lCGAL
++    CGAL_LIBS=
+     AC_DEFINE([WINDDATA3D], [1], [Import code for wind data, needs CGAL, 0 to 
disable])
+ else
+     has_CGAL="no   (CGAL not found)"
diff -Nru crrcsim-0.9.13/debian/patches/series 
crrcsim-0.9.13/debian/patches/series
--- crrcsim-0.9.13/debian/patches/series        2018-12-01 16:49:34.000000000 
+0100
+++ crrcsim-0.9.13/debian/patches/series        2019-12-03 22:22:43.000000000 
+0100
@@ -7,3 +7,4 @@
 07-add-libgmp.patch
 08-boost_thread-mt-change.patch
 09-remove-extra-std-err.patch
+10-cgal-use-header-only-mode.patch

Reply via email to