pkgsrc-Bulk archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkgsrc and DragonFly current DragonFly 2.9/x86_64 2011-03-11 15:00



 >>> sysutils/mc                                  vle%gmx.net@localhost
 >>
 >> Please apply the patch in attachement.
 >> It solves the problem.

> Why not NAME_MAX?

Better patch from upstream is in attachment.
Thanks for reminding about NAME_PATH.

Index: distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/sysutils/mc/distinfo,v
retrieving revision 1.20
diff -u -r1.20 distinfo
--- distinfo    23 Jan 2011 14:36:10 -0000      1.20
+++ distinfo    8 Apr 2011 19:22:27 -0000
@@ -9,3 +9,4 @@
 SHA1 (patch-ad) = 4484b91511cf5bac73f4ae940988d46239e2cd95
 SHA1 (patch-ae) = b25734f82e46a92eb2a6d6590b0f7524f63040b3
 SHA1 (patch-af) = cff069eb20a5df7095805e800a141f8bb1d94c7d
+SHA1 (patch-lib_fs.h) = 3b7db5eac3f313f89362bd6ac6e3e05f2b9f75c6
Index: patches/patch-lib_fs.h
===================================================================
RCS file: patches/patch-lib_fs.h
diff -N patches/patch-lib_fs.h
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ patches/patch-lib_fs.h      8 Apr 2011 19:22:27 -0000
@@ -0,0 +1,17 @@
+$NetBSD$
+
+--- 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
-- 
Best regards, Aleksey Cheusov.


Home | Main Index | Thread Index | Old Index