view src/qhull-1-fixes.patch @ 4037:85abb6c3ec8b

of-netcdf: patch for --enable-64 (Bug #46060) * src/of-netcdf-1-fixes.patch: new file * dist-files.mk: add of-netcdf-1-fixes.patch
author John Donoghue <john.donoghue@ieee.org>
date Tue, 29 Sep 2015 19:43:19 -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;