diff options
author | erh <erh> | 2004-11-12 05:20:43 +0000 |
---|---|---|
committer | erh <erh> | 2004-11-12 05:20:43 +0000 |
commit | 0b1c4219a4a46551d79edd78fc948e5d57ccdb3e (patch) | |
tree | f4168d47dee05c8e3ac54a90493fbf1f9acce951 | |
parent | 897bc7faaf23ff8f7ce9edb14b393baf44b210eb (diff) | |
download | pkgsrc-0b1c4219a4a46551d79edd78fc948e5d57ccdb3e.tar.gz |
Fix this to compile when we have grantpt() but it's not in stropts.h.
Bump pkgrevision to 5.
It'd probably make sense to update this to the latest version (4.6.0).
-rw-r--r-- | sysutils/mc/Makefile | 4 | ||||
-rw-r--r-- | sysutils/mc/distinfo | 3 | ||||
-rw-r--r-- | sysutils/mc/patches/patch-ak | 14 |
3 files changed, 18 insertions, 3 deletions
diff --git a/sysutils/mc/Makefile b/sysutils/mc/Makefile index 462e1ff15cc..c2a57d1ec29 100644 --- a/sysutils/mc/Makefile +++ b/sysutils/mc/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.44 2003/07/13 13:53:19 wiz Exp $ +# $NetBSD: Makefile,v 1.45 2004/11/12 05:20:43 erh Exp $ # FreeBSD Id: Makefile,v 1.16 1997/11/30 19:37:48 vanilla Exp # -PKGREVISION= 4 +PKGREVISION= 5 COMMENT= Midnight Commander, a free Norton Commander Clone CONFIGURE_ARGS+= --without-x diff --git a/sysutils/mc/distinfo b/sysutils/mc/distinfo index 8b77d060088..7024f3ee976 100644 --- a/sysutils/mc/distinfo +++ b/sysutils/mc/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.8 2004/05/04 08:08:19 wiz Exp $ +$NetBSD: distinfo,v 1.9 2004/11/12 05:20:43 erh Exp $ SHA1 (mc-4.5.51.tar.gz) = 24d5d90695266587a2e8190196b32c8f3a4b2406 Size (mc-4.5.51.tar.gz) = 4330056 bytes @@ -12,3 +12,4 @@ SHA1 (patch-ag) = 60e697e475647038181d12186a0424c4a6165c59 SHA1 (patch-ah) = a5ef804a13870ae5d100a7f6fb45281303da82c3 SHA1 (patch-ai) = 7bac376900226618f1bb5849cb5ac277bdd4e4f9 SHA1 (patch-aj) = b9ab663bf8f2d1b048338b85449846869362f125 +SHA1 (patch-ak) = c01dbd84420515a47f516c6160212d6de5a693c3 diff --git a/sysutils/mc/patches/patch-ak b/sysutils/mc/patches/patch-ak new file mode 100644 index 00000000000..aeced307863 --- /dev/null +++ b/sysutils/mc/patches/patch-ak @@ -0,0 +1,14 @@ +--- src/subshell.c.orig 2004-11-12 05:03:13.000000000 +0000 ++++ src/subshell.c 2004-11-12 05:03:18.000000000 +0000 +@@ -63,7 +63,11 @@ + #endif + + #ifdef HAVE_GRANTPT ++# ifdef HAVE_STROPTS_H + # include <stropts.h> /* For I_PUSH */ ++# else ++# include <stdlib.h> ++# endif + #else + # include <grp.h> /* For the group struct & getgrnam() */ + #endif |