pkgsrc/cad/fasthenry/patches/patch-am
dmcmahill ab8490f3bf - homepage has moved
- distfile has moved
- license has changed.  Patches are the result of de-fuzzing the
  old patches since the new source files have the new (less restrictive)
  license.
2004-09-20 02:08:58 +00:00

15 lines
488 B
Text

$NetBSD: patch-am,v 1.2 2004/09/20 02:08:58 dmcmahill Exp $
--- src/fasthenry/savemat_mod.c.orig Tue Aug 3 22:17:16 2004
+++ src/fasthenry/savemat_mod.c
@@ -56,8 +56,9 @@ operation of Software or Licensed Progra
* Revised 7-23-91 to support ANSI-C
*/
#include <stdio.h>
+#include <string.h>
-#ifdef ALPHA
+#if defined(ALPHA) || defined(__alpha__) || defined(__sparc64__) || defined(__x86_64__)
typedef struct {
int type; /* type */
int mrows; /* row dimension */