pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/x11/xforms If defined, use _DIRENT_DIRSIZ on DragonFly...
details: https://anonhg.NetBSD.org/pkgsrc/rev/134a76aadfc3
branches: trunk
changeset: 502611:134a76aadfc3
user: joerg <joerg%pkgsrc.org@localhost>
date: Mon Nov 07 14:41:20 2005 +0000
description:
If defined, use _DIRENT_DIRSIZ on DragonFly to compute the size of
a dirent. Ignore the bogus size check done before.
diffstat:
x11/xforms/distinfo | 3 ++-
x11/xforms/patches/patch-ah | 15 +++++++++++++++
2 files changed, 17 insertions(+), 1 deletions(-)
diffs (33 lines):
diff -r 087e847bb850 -r 134a76aadfc3 x11/xforms/distinfo
--- a/x11/xforms/distinfo Mon Nov 07 13:55:32 2005 +0000
+++ b/x11/xforms/distinfo Mon Nov 07 14:41:20 2005 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.15 2005/10/10 12:11:46 joerg Exp $
+$NetBSD: distinfo,v 1.16 2005/11/07 14:41:20 joerg Exp $
SHA1 (xforms-1.0-release.tgz) = e25a31351c52472de88352388cf879512b20fc62
RMD160 (xforms-1.0-release.tgz) = 18ccbff4df5e0e3786341a5ab4f8af6e2fd4fd92
@@ -10,3 +10,4 @@
SHA1 (patch-ae) = ba8b68d7e886311cb2fbfe4e0a45e975e7790821
SHA1 (patch-af) = f3fdbbb2a103505e6f18608f0c3882cc1d264b00
SHA1 (patch-ag) = 3dde38a74cbbb1943eefd78f3df56a8de3c0f74f
+SHA1 (patch-ah) = 45129394ca29063443548d961c7954ea12cc435f
diff -r 087e847bb850 -r 134a76aadfc3 x11/xforms/patches/patch-ah
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/xforms/patches/patch-ah Mon Nov 07 14:41:20 2005 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-ah,v 1.1 2005/11/07 14:41:20 joerg Exp $
+
+--- lib/listdir.c.orig 2005-11-07 14:16:31.000000000 +0000
++++ lib/listdir.c
+@@ -838,7 +838,9 @@ tc_scandir(const char *dirname, struct D
+ d_reclen = strlen(d_name) */
+
+ /* Mathog, VMS<7.0, at least has no d_reclen *at all */
+-#if defined(__VMS) && __VMS_VER < 70000000 || defined opennt || defined __CYGWIN__
++#if defined(__DragonFly__) && defined(_DIRENT_DIRSIZ)
++ total = _DIRENT_DIRSIZ(dentry);
++#elif defined(__VMS) && __VMS_VER < 70000000 || defined opennt || defined __CYGWIN__
+ total = dname_is_1 ? strlen(dentry->d_name) : sizeof(*dentry);
+ #else
+ total = dname_is_1 ? dentry->d_reclen : sizeof(*dentry);
Home |
Main Index |
Thread Index |
Old Index