pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/sysutils/mc Fix build on DragonFly; patch from upstrea...
details: https://anonhg.NetBSD.org/pkgsrc/rev/c41a749384eb
branches: trunk
changeset: 587597:c41a749384eb
user: wiz <wiz%pkgsrc.org@localhost>
date: Fri Apr 08 22:48:04 2011 +0000
description:
Fix build on DragonFly; patch from upstream via Aleksey Cheusov.
diffstat:
sysutils/mc/distinfo | 3 ++-
sysutils/mc/patches/patch-lib_fs.h | 19 +++++++++++++++++++
2 files changed, 21 insertions(+), 1 deletions(-)
diffs (37 lines):
diff -r 5edf62d199a3 -r c41a749384eb sysutils/mc/distinfo
--- a/sysutils/mc/distinfo Fri Apr 08 22:48:03 2011 +0000
+++ b/sysutils/mc/distinfo Fri Apr 08 22:48:04 2011 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.20 2011/01/23 14:36:10 wiz Exp $
+$NetBSD: distinfo,v 1.21 2011/04/08 22:48:04 wiz Exp $
SHA1 (mc-4.7.0.10.tar.bz2) = 2bc13f963780eaddac2f675b9145656d759f974e
RMD160 (mc-4.7.0.10.tar.bz2) = 83a527a94a81f886eb7f80b8965554bf927cad65
@@ -9,3 +9,4 @@
SHA1 (patch-ad) = 4484b91511cf5bac73f4ae940988d46239e2cd95
SHA1 (patch-ae) = b25734f82e46a92eb2a6d6590b0f7524f63040b3
SHA1 (patch-af) = cff069eb20a5df7095805e800a141f8bb1d94c7d
+SHA1 (patch-lib_fs.h) = 89bb61541e0312c4e74d48a8668583d0925d8b7a
diff -r 5edf62d199a3 -r c41a749384eb sysutils/mc/patches/patch-lib_fs.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/mc/patches/patch-lib_fs.h Fri Apr 08 22:48:04 2011 +0000
@@ -0,0 +1,19 @@
+$NetBSD: patch-lib_fs.h,v 1.1 2011/04/08 22:48:04 wiz Exp $
+
+Fix build on DragonFly (missing MAXNAMLEN macro), from upstream.
+
+--- lib/fs.h.orig 2010-11-08 11:46:13 +0000
++++ lib/fs.h
+@@ -44,6 +44,12 @@
+ # define S_ISNAM(x) 0
+ #endif
+
++/* DragonFlyBSD doesn't provide MAXNAMLEN macro */
++#ifndef MAXNAMLEN
++# define MAXNAMLEN NAME_MAX
++#endif
++
++#define MC_MAXFILENAMELEN MAXNAMLEN
+
+ #ifndef MAXPATHLEN
+ # define MC_MAXPATHLEN 4096
Home |
Main Index |
Thread Index |
Old Index