diff options
author | jtb <jtb@pkgsrc.org> | 2001-02-26 21:42:16 +0000 |
---|---|---|
committer | jtb <jtb@pkgsrc.org> | 2001-02-26 21:42:16 +0000 |
commit | 4911d745fc8e79f38b251c182cc558d0c8f30599 (patch) | |
tree | 3773475420c2953ad43e1e8ddb6db2a45d345d5e /graphics/plplot/patches | |
parent | ba49fd45486dc80e1517d580ba1aa56727ce37cc (diff) | |
download | pkgsrc-4911d745fc8e79f38b251c182cc558d0c8f30599.tar.gz |
Include <sys/types.h>. Add -Dunix to CPPFLAGS. This might fix Alpha bulk
build problem.
Diffstat (limited to 'graphics/plplot/patches')
-rw-r--r-- | graphics/plplot/patches/patch-ab | 24 |
1 files changed, 10 insertions, 14 deletions
diff --git a/graphics/plplot/patches/patch-ab b/graphics/plplot/patches/patch-ab index ca691de51dc..a66d503923e 100644 --- a/graphics/plplot/patches/patch-ab +++ b/graphics/plplot/patches/patch-ab @@ -1,22 +1,18 @@ -$NetBSD: patch-ab,v 1.1.1.1 2000/12/02 05:40:33 jtb Exp $ +$NetBSD: patch-ab,v 1.2 2001/02/26 21:42:16 jtb Exp $ ---- include/plplot.h.orig Sat May 6 19:27:21 1995 +--- include/plplot.h.orig Fri Feb 9 21:57:38 2001 +++ include/plplot.h -@@ -125,12 +125,7 @@ - * (others...) - * - \*--------------------------------------------------------------------------*/ -- --#ifdef unix /* the old way */ --#ifndef __unix --#define __unix --#endif --#endif -+#include <sys/param.h> +@@ -81,6 +81,9 @@ + #endif + #endif ++#include <sys/types.h> ++#include <sys/param.h> ++ /* Make sure Unix systems define "__unix" */ -@@ -140,7 +135,8 @@ + #if defined(SX) || /* NEC Super-UX */ \ +@@ -89,7 +92,8 @@ defined(sun) || /* SUN */ \ defined(CRAY) || /* Cray */ \ defined(__convexc__) || /* CONVEX */ \ |