diff options
author | tv <tv@pkgsrc.org> | 2005-10-31 19:24:03 +0000 |
---|---|---|
committer | tv <tv@pkgsrc.org> | 2005-10-31 19:24:03 +0000 |
commit | 6297a5068e825da2bfbd25bd2e66d01d92644974 (patch) | |
tree | c1c5ad9e15ba0e01f07b00c81c72e1edc8112f8a /devel | |
parent | 6c348a80af23287961a16406012dc000954396c0 (diff) | |
download | pkgsrc-6297a5068e825da2bfbd25bd2e66d01d92644974.tar.gz |
Add conditionals to make build on Interix.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/cdecl/distinfo | 4 | ||||
-rw-r--r-- | devel/cdecl/patches/patch-aa | 10 |
2 files changed, 7 insertions, 7 deletions
diff --git a/devel/cdecl/distinfo b/devel/cdecl/distinfo index b0fd4d975d3..f0b2f22bd43 100644 --- a/devel/cdecl/distinfo +++ b/devel/cdecl/distinfo @@ -1,7 +1,7 @@ -$NetBSD: distinfo,v 1.7 2005/06/14 03:02:29 jschauma Exp $ +$NetBSD: distinfo,v 1.8 2005/10/31 19:24:03 tv Exp $ SHA1 (cdecl-2.5.tar.gz) = b955a0b95b635090360b19de888cb29d5c005296 RMD160 (cdecl-2.5.tar.gz) = 351c36dcc7f18e4d143f2559460025d2de9a83c4 Size (cdecl-2.5.tar.gz) = 21435 bytes -SHA1 (patch-aa) = 2dba6f2b76f71f89fe945b2c3c45347f5b4fbcf1 +SHA1 (patch-aa) = a0198a9f3a94a4bd8dad2e6db505791946cd0ad2 SHA1 (patch-ab) = e8c9f70894ed5613234ed17b8c1c95c9b12afd7b diff --git a/devel/cdecl/patches/patch-aa b/devel/cdecl/patches/patch-aa index e976516b224..94fb2810f94 100644 --- a/devel/cdecl/patches/patch-aa +++ b/devel/cdecl/patches/patch-aa @@ -1,6 +1,6 @@ -$NetBSD: patch-aa,v 1.6 2005/06/14 03:02:29 jschauma Exp $ +$NetBSD: patch-aa,v 1.7 2005/10/31 19:24:03 tv Exp $ ---- cdecl.c.orig Mon Jan 15 21:54:46 1996 +--- cdecl.c.orig 1996-01-15 22:54:46.000000000 -0500 +++ cdecl.c @@ -59,7 +59,9 @@ */ @@ -17,7 +17,7 @@ $NetBSD: patch-aa,v 1.6 2005/06/14 03:02:29 jschauma Exp $ # ifndef NOVARARGS # include <varargs.h> # endif /* ndef NOVARARGS */ -+#if !(defined(__sun__) && defined(__svr4__)) && !(defined(BSD) && (BSD >= 199306)) ++#if !(defined(__sun__) && defined(__svr4__)) && !(defined(BSD) && (BSD >= 199306)) && !defined(__INTERIX) char *malloc(); void free(), exit(), perror(); +#endif @@ -31,7 +31,7 @@ $NetBSD: patch-aa,v 1.6 2005/06/14 03:02:29 jschauma Exp $ # endif /* NOVOID */ #endif /* __STDC__ || DOS */ -+#if defined(__svr4__) && defined(__sun__) || defined(__NetBSD__) || defined(__APPLE__) || defined(__sgi) ++#if (defined(__svr4__) && defined(__sun__)) || defined(__NetBSD__) || defined(__APPLE__) || defined(__sgi) || defined(__INTERIX) +#include <errno.h> +#endif + @@ -44,7 +44,7 @@ $NetBSD: patch-aa,v 1.6 2005/06/14 03:02:29 jschauma Exp $ char *ds(char *), *cat(char *, ...), *visible(int); +#if !(defined(BSD) && BSD >= 199306) && \ + !(defined(__sun__) && defined(__svr4__)) && \ -+ !(defined(__linux__)) ++ !(defined(__linux__)) && !(defined(__INTERIX)) int getopt(int,char **,char *); +#endif int main(int, char **); |