pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/sysutils/mc Fix this to compile when we have grantpt()...
details: https://anonhg.NetBSD.org/pkgsrc/rev/e7e494df136c
branches: trunk
changeset: 483429:e7e494df136c
user: erh <erh%pkgsrc.org@localhost>
date: Fri Nov 12 05:20:43 2004 +0000
description:
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).
diffstat:
sysutils/mc/Makefile | 4 ++--
sysutils/mc/distinfo | 3 ++-
sysutils/mc/patches/patch-ak | 14 ++++++++++++++
3 files changed, 18 insertions(+), 3 deletions(-)
diffs (46 lines):
diff -r 81d9c5f96512 -r e7e494df136c sysutils/mc/Makefile
--- a/sysutils/mc/Makefile Fri Nov 12 05:20:01 2004 +0000
+++ b/sysutils/mc/Makefile Fri Nov 12 05:20:43 2004 +0000
@@ -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 -r 81d9c5f96512 -r e7e494df136c sysutils/mc/distinfo
--- a/sysutils/mc/distinfo Fri Nov 12 05:20:01 2004 +0000
+++ b/sysutils/mc/distinfo Fri Nov 12 05:20:43 2004 +0000
@@ -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-ah) = a5ef804a13870ae5d100a7f6fb45281303da82c3
SHA1 (patch-ai) = 7bac376900226618f1bb5849cb5ac277bdd4e4f9
SHA1 (patch-aj) = b9ab663bf8f2d1b048338b85449846869362f125
+SHA1 (patch-ak) = c01dbd84420515a47f516c6160212d6de5a693c3
diff -r 81d9c5f96512 -r e7e494df136c sysutils/mc/patches/patch-ak
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/mc/patches/patch-ak Fri Nov 12 05:20:43 2004 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index