view src/qhull-1-fixes.patch @ 3673:972f2d9c76ca

tar-dist: update dist rules for native-mingw tar-dist to work (Bug #42874) * binary-dist-rules.mk: only include windows dist deps of native-*, npp and msys-base if not native mingw build. change copy-windows-dist-files for same.
author John Donoghue
date Thu, 31 Jul 2014 11:23:18 -0400
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;