diff options
Diffstat (limited to 'mail/thunderbird/files/patch-bug753046')
-rw-r--r-- | mail/thunderbird/files/patch-bug753046 | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/mail/thunderbird/files/patch-bug753046 b/mail/thunderbird/files/patch-bug753046 index 8d1ccbf2b748..d20eebb42a3c 100644 --- a/mail/thunderbird/files/patch-bug753046 +++ b/mail/thunderbird/files/patch-bug753046 @@ -264,7 +264,7 @@ new file mode 100644 index 0000000..3fc1a87 --- /dev/null +++ mozilla/ipc/chromium/src/base/dir_reader_bsd.h -@@ -0,0 +1,108 @@ +@@ -0,0 +1,112 @@ +// Copyright (c) 2010 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. @@ -316,7 +316,11 @@ index 0000000..3fc1a87 + bool Next() { + if (size_) { + struct dirent* dirent = reinterpret_cast<struct dirent*>(&buf_[offset_]); ++#ifdef OS_DRAGONFLY ++ offset_ += _DIRENT_DIRSIZ(dirent); ++#else + offset_ += dirent->d_reclen; ++#endif + } + + if (offset_ != size_) |