diff options
author | wiz <wiz@pkgsrc.org> | 2005-12-23 16:19:12 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2005-12-23 16:19:12 +0000 |
commit | 5df1f93f53912ae2ce84fa5a154dd124b6c1213c (patch) | |
tree | 93706b2af15b5e5cd577da0b2e28dc3805d10d2b /devel | |
parent | 5fc76858d160087a69666f15e8fbcb6742c7440c (diff) | |
download | pkgsrc-5df1f93f53912ae2ce84fa5a154dd124b6c1213c.tar.gz |
Only use I_PUSH ioctl when I_PUSH is defined.
Fixes compilation on -current.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/cgdb/distinfo | 3 | ||||
-rw-r--r-- | devel/cgdb/patches/patch-aa | 20 |
2 files changed, 22 insertions, 1 deletions
diff --git a/devel/cgdb/distinfo b/devel/cgdb/distinfo index 1ebce5ddbbe..857681aaf9c 100644 --- a/devel/cgdb/distinfo +++ b/devel/cgdb/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.2 2005/02/23 22:24:11 agc Exp $ +$NetBSD: distinfo,v 1.3 2005/12/23 16:19:12 wiz Exp $ SHA1 (cgdb-0.4.0.tar.gz) = 900105c73e8c16dec9f3e37343abbba120d36df6 RMD160 (cgdb-0.4.0.tar.gz) = f79e567ccf96d5d473e1cd4859ac97bc17619f67 Size (cgdb-0.4.0.tar.gz) = 471395 bytes +SHA1 (patch-aa) = 923af14fee3272739126e05ebe591c627ffdd934 diff --git a/devel/cgdb/patches/patch-aa b/devel/cgdb/patches/patch-aa new file mode 100644 index 00000000000..b94be468e16 --- /dev/null +++ b/devel/cgdb/patches/patch-aa @@ -0,0 +1,20 @@ +$NetBSD: patch-aa,v 1.1 2005/12/23 16:19:12 wiz Exp $ + +--- various/util/src/pseudo.c.orig 2003-04-28 02:04:04.000000000 +0200 ++++ various/util/src/pseudo.c +@@ -327,6 +327,7 @@ int pty_open(int *masterfd, int *slavefd + + #ifndef HAVE_CYGWIN + #ifndef HAVE_LINUX /* linux does not use the streams module */ ++#ifdef I_PUSH + /* + * Push the appropriate streams modules, as described in Solaris pts(7). + * HP-UX pts(7) doesn't have ttcompat module. +@@ -355,6 +356,7 @@ int pty_open(int *masterfd, int *slavefd + #endif + #endif + #endif ++#endif + + #else /* HAVE_DEV_PTMX */ + #ifdef HAVE_DEV_PTS_AND_PTC |