summaryrefslogtreecommitdiff
path: root/cad/fasthenry/patches/patch-as
diff options
context:
space:
mode:
authordmcmahill <dmcmahill@pkgsrc.org>2001-02-09 11:29:36 +0000
committerdmcmahill <dmcmahill@pkgsrc.org>2001-02-09 11:29:36 +0000
commita11d7a44b87863faf3c7f78d59afd2301abd9983 (patch)
tree9dba087dfdd631abbd7fb633abd47b8f86722735 /cad/fasthenry/patches/patch-as
parent266cc49dc0d1380df192e2ec6bf3b93c67a3ab47 (diff)
downloadpkgsrc-a11d7a44b87863faf3c7f78d59afd2301abd9983.tar.gz
-include a ton of missing header files for 64 bit machines. there remain
some 64 bit related compiler warnings to fix. - while here, use libffm if on an alpha for faster math. In this case 20-30% faster.
Diffstat (limited to 'cad/fasthenry/patches/patch-as')
-rw-r--r--cad/fasthenry/patches/patch-as13
1 files changed, 13 insertions, 0 deletions
diff --git a/cad/fasthenry/patches/patch-as b/cad/fasthenry/patches/patch-as
new file mode 100644
index 00000000000..91c25cd447b
--- /dev/null
+++ b/cad/fasthenry/patches/patch-as
@@ -0,0 +1,13 @@
+$NetBSD: patch-as,v 1.1 2001/02/09 11:29:39 dmcmahill Exp $
+
+--- src/zbuf/savemat_mod.c.orig Tue Nov 12 14:18:56 1996
++++ src/zbuf/savemat_mod.c Thu Feb 8 20:04:39 2001
+@@ -23,6 +23,7 @@
+ */
+ #include <stdio.h>
++#include <string.h>
+
+-#ifdef ALPHA
++#if defined(ALPHA) || defined(__alpha__) || defined(__sparc64__)
+ typedef struct {
+ int type; /* type */