pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/cdecl Add conditionals to make build on Interix.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/48a6260ae0cc
branches:  trunk
changeset: 501943:48a6260ae0cc
user:      tv <tv%pkgsrc.org@localhost>
date:      Mon Oct 31 19:24:03 2005 +0000

description:
Add conditionals to make build on Interix.

diffstat:

 devel/cdecl/distinfo         |   4 ++--
 devel/cdecl/patches/patch-aa |  10 +++++-----
 2 files changed, 7 insertions(+), 7 deletions(-)

diffs (52 lines):

diff -r f867b5e846f4 -r 48a6260ae0cc devel/cdecl/distinfo
--- a/devel/cdecl/distinfo      Mon Oct 31 19:07:18 2005 +0000
+++ b/devel/cdecl/distinfo      Mon Oct 31 19:24:03 2005 +0000
@@ -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 -r f867b5e846f4 -r 48a6260ae0cc devel/cdecl/patches/patch-aa
--- a/devel/cdecl/patches/patch-aa      Mon Oct 31 19:07:18 2005 +0000
+++ b/devel/cdecl/patches/patch-aa      Mon Oct 31 19:24:03 2005 +0000
@@ -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 @@
  # 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 @@
  # 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 @@
    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 **);



Home | Main Index | Thread Index | Old Index