summaryrefslogtreecommitdiff
path: root/devel/cdk/patches
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>1999-11-10 10:48:29 +0000
committeragc <agc@pkgsrc.org>1999-11-10 10:48:29 +0000
commit9297f8d65ec81f08cb5f6c141bd723d395b9273e (patch)
tree95c0c91f359667e791624fe2f5dfd0e578581235 /devel/cdk/patches
parent53fe9f03a726efa6abc5644b616cf39a122aec63 (diff)
downloadpkgsrc-9297f8d65ec81f08cb5f6c141bd723d395b9273e.tar.gz
Make this package work on Solaris.
Diffstat (limited to 'devel/cdk/patches')
-rw-r--r--devel/cdk/patches/patch-ac26
1 files changed, 21 insertions, 5 deletions
diff --git a/devel/cdk/patches/patch-ac b/devel/cdk/patches/patch-ac
index b67284f1df0..d03a7f80357 100644
--- a/devel/cdk/patches/patch-ac
+++ b/devel/cdk/patches/patch-ac
@@ -1,13 +1,29 @@
-$NetBSD: patch-ac,v 1.3 1999/07/06 07:57:22 jlam Exp $
+$NetBSD: patch-ac,v 1.4 1999/11/10 10:48:30 agc Exp $
---- include/cdk.h.orig Wed Dec 9 12:13:17 1998
-+++ include/cdk.h Tue Jul 6 00:56:37 1999
-@@ -38,7 +38,7 @@
+--- include/cdk.h.orig Wed Dec 9 17:13:17 1998
++++ include/cdk.h Wed Nov 10 10:26:45 1999
+@@ -38,7 +38,15 @@
#undef instr
#endif
--#include <curses.h>
++#include <sys/types.h>
++#include <sys/param.h>
++#include <sys/stat.h>
++
++#if (defined(BSD) && BSD >= 199306)
+#include <ncurses.h>
++#else
+ #include <curses.h>
++#endif
#include <stdlib.h>
#include <string.h>
+@@ -49,8 +57,6 @@
+ #include <errno.h>
+ #include <pwd.h>
+ #include <grp.h>
+-#include <sys/stat.h>
+-#include <sys/types.h>
+ #include <math.h>
+
+ /*