diff options
author | joerg <joerg@pkgsrc.org> | 2006-06-06 21:11:29 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2006-06-06 21:11:29 +0000 |
commit | 42fd33e345721eabf52e9ae9224a8e85a9aec3ca (patch) | |
tree | 3dacf99aa81bf9b035880b0254bedf2fe0df6922 /misc/udfclient | |
parent | d2cd05a9dee0d05da70095ac1dae98c13d9c443e (diff) | |
download | pkgsrc-42fd33e345721eabf52e9ae9224a8e85a9aec3ca.tar.gz |
No need to set the non-existent d_reclen on DragonFly...
Diffstat (limited to 'misc/udfclient')
-rw-r--r-- | misc/udfclient/distinfo | 3 | ||||
-rw-r--r-- | misc/udfclient/patches/patch-aa | 14 |
2 files changed, 16 insertions, 1 deletions
diff --git a/misc/udfclient/distinfo b/misc/udfclient/distinfo index dc4c7856dde..5eac1a1fed2 100644 --- a/misc/udfclient/distinfo +++ b/misc/udfclient/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.22 2006/01/04 14:39:40 reinoud Exp $ +$NetBSD: distinfo,v 1.23 2006/06/06 21:11:29 joerg Exp $ SHA1 (UDFclient.0.5.1.tgz) = ef37e30c106a04f9fc4cc022fe377a25cddf2e1e RMD160 (UDFclient.0.5.1.tgz) = ef8570dc0974c1c9cf06c7c5bfcf59a7f518d91b Size (UDFclient.0.5.1.tgz) = 227322 bytes +SHA1 (patch-aa) = 8862b35d49bb8615522cc3b762dd81b6667a1611 diff --git a/misc/udfclient/patches/patch-aa b/misc/udfclient/patches/patch-aa new file mode 100644 index 00000000000..73fafc3cc73 --- /dev/null +++ b/misc/udfclient/patches/patch-aa @@ -0,0 +1,14 @@ +$NetBSD: patch-aa,v 1.7 2006/06/06 21:11:29 joerg Exp $ + +--- udf.c.orig 2006-06-06 21:05:41.000000000 +0000 ++++ udf.c +@@ -5323,7 +5323,9 @@ static int read_fid_stream(struct udf_no + /* create resulting dirent structure */ + fid_name = (char *) fid->data + udf_rw16(fid->l_iu); + dirent->d_fileno = udf_rw32(fid->icb.impl.im_used.unique_id); /* only 32 bits salvageable */ ++#if !defined(__DragonFly__) + dirent->d_reclen = sizeof(struct dirent); ++#endif + dirent->d_type = DT_UNKNOWN; + udf_to_unix_name(dirent->d_name, fid_name, fid->l_fi, &dir_node->udf_log_vol->log_vol->desc_charset); + if (fid->file_char & UDF_FILE_CHAR_DIR) dirent->d_type = DT_DIR; |