view src/qhull-1-fixes.patch @ 4462:8b731cde3aaa

sundials-ida: build against the SuiteSparse KLU library * src/sundials-ida.mk: Depend on suitesparse, add cmake options to enable linking with KLU. * src/sundials-ida-1.patch: New file. * dist-files.mk (SRC_FILES_1): Include it in the list.
author Mike Miller <mtmiller@octave.org>
date Fri, 01 Sep 2017 18:04:27 -0700
parents 152e3e693568
children c4e929fb081d
line wrap: on
line source

From the Debian QHull package.

Access globals via a pointer to allocated memory.

 -- Rafael Laboissiere <rafael@debian.org>  Wed, 25 Sep 2002 10:39:30 +0200

--- qhull-orig/src/user.h	2002-04-29 11:01:46.000000000 +0200
+++ qhull/src/user.h	2004-02-02 11:04:47.000000000 +0100
@@ -509,7 +509,7 @@
   see:
     user_eg.c for an example
 */
-#define qh_QHpointer 0
+#define qh_QHpointer 1
 #if 0  /* sample code */
     qhT *oldqhA, *oldqhB;