Source: 3depict
Version: 0.0.22-1.2
Severity: important
Tags: ftbfs, patch

Dear maintainer,

your package uses a deprecated include path for Qhull, which will no
longer build with the latest release. I took the liberty to report this
to upstream already.

Attached is a patch that will fix the build with the qhull package in
experimental.

--- a/configure.ac
+++ b/configure.ac
@@ -140,8 +140,8 @@
 #Attempt to compile a test program
 CFLAGS_ORIG="$CFLAGS"
 CFLAGS="$CFLAGS $QHULL_CFLAGS"
-AC_CHECK_HEADER([qhull/qhull_a.h],[AC_DEFINE(HAVE_QHULL,[],[Have got libqhull headers])],
-	[AC_MSG_ERROR([Required libqhull headers not found (looking for qhull/qhull_a.h)])])
+AC_CHECK_HEADER([libqhull/qhull_a.h],[AC_DEFINE(HAVE_QHULL,[],[Have got libqhull headers])],
+	[AC_MSG_ERROR([Required libqhull headers not found (looking for libqhull/qhull_a.h)])])
 
 if test x"$with_libqhull_link" != x"" ;
 then
--- a/src/backend/filters/algorithms/convexHull.h
+++ b/src/backend/filters/algorithms/convexHull.h
@@ -40,7 +40,7 @@
 	#endif
 	extern "C"
 	{
-		#include <qhull/qhull_a.h>
+		#include <libqhull/qhull_a.h>
 	}
 	#ifdef __POWERPC__
 		#pragma pop_macro("__POWERPC__")
--- a/src/backend/filters/algorithms/spatial.cpp
+++ b/src/backend/filters/algorithms/spatial.cpp
@@ -27,7 +27,7 @@
 #include <gsl/gsl_multifit.h>
 
 #if defined(__WIN64) && !defined(HAVE_SWEEP_HULL)
-#include <qhull/qhull_a.h>
+#include <libqhull/qhull_a.h>
 #endif
 
 using std::vector;

Reply via email to