diff options
author | dholland <dholland> | 2014-02-17 18:36:07 +0000 |
---|---|---|
committer | dholland <dholland> | 2014-02-17 18:36:07 +0000 |
commit | 6f840cab8956b22acff19ec1db1db5eb7b87b03a (patch) | |
tree | 43e3d20749fa5507155cecc507bd7a0dff434629 /emulators | |
parent | 9977b5cd6e34231ef28b43a3aa8111e3449cbe7f (diff) | |
download | pkgsrc-6f840cab8956b22acff19ec1db1db5eb7b87b03a.tar.gz |
Try to make the dirent->d_type handling code autodetect. (As best as I
can tell it is not, in the current version 3.9.2 at least, handled
from configure.) This will probably fix the Solaris build.
I wrote this patch like a month ago and apparently forgot to actually
commit it.
Diffstat (limited to 'emulators')
-rw-r--r-- | emulators/stella/distinfo | 3 | ||||
-rw-r--r-- | emulators/stella/patches/patch-src_unix_FSNodePOSIX.cxx | 21 |
2 files changed, 23 insertions, 1 deletions
diff --git a/emulators/stella/distinfo b/emulators/stella/distinfo index 34d807d625b..6e4a32a7652 100644 --- a/emulators/stella/distinfo +++ b/emulators/stella/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.15 2014/01/06 23:42:38 dholland Exp $ +$NetBSD: distinfo,v 1.16 2014/02/17 18:36:07 dholland Exp $ SHA1 (stella-3.9.2-src.tar.gz) = 96b83dd2c41dddfe77f7bb1ecf74ab4c47e06e9b RMD160 (stella-3.9.2-src.tar.gz) = 6d9127db8ee9f67f9af173aa140c0da826a0cb84 Size (stella-3.9.2-src.tar.gz) = 2282963 bytes SHA1 (patch-ab) = 80504428805995d6a7c651254aded4f4d3fa3962 +SHA1 (patch-src_unix_FSNodePOSIX.cxx) = 1ca0a4f34794843a5f7df0bcc0d5f589cd11a3bd diff --git a/emulators/stella/patches/patch-src_unix_FSNodePOSIX.cxx b/emulators/stella/patches/patch-src_unix_FSNodePOSIX.cxx new file mode 100644 index 00000000000..812223b86ee --- /dev/null +++ b/emulators/stella/patches/patch-src_unix_FSNodePOSIX.cxx @@ -0,0 +1,21 @@ +$NetBSD: patch-src_unix_FSNodePOSIX.cxx,v 1.1 2014/02/17 18:36:07 dholland Exp $ + +Try to make the dirent->d_type handling code autodetect. (As best as I +can tell it is not, in the current version 3.9.2 at least, handled +from configure.) + +--- src/unix/FSNodePOSIX.cxx~ 2013-06-29 00:02:49.000000000 +0000 ++++ src/unix/FSNodePOSIX.cxx +@@ -145,6 +145,12 @@ bool FilesystemNodePOSIX::getChildren(Ab + + FilesystemNodePOSIX entry(newPath, false); + ++#ifndef DT_UNKNOWN ++#ifndef SYSTEM_NOT_SUPPORTING_D_TYPE ++#define SYSTEM_NOT_SUPPORTING_D_TYPE ++#endif ++#endif ++ + #if defined(SYSTEM_NOT_SUPPORTING_D_TYPE) + /* TODO: d_type is not part of POSIX, so it might not be supported + * on some of our targets. For those systems where it isn't supported, |