diff options
Diffstat (limited to 'www/firefox/files/patch-bug753046')
-rw-r--r-- | www/firefox/files/patch-bug753046 | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/www/firefox/files/patch-bug753046 b/www/firefox/files/patch-bug753046 index f50e21ff7fc3..f520e1118f6d 100644 --- a/www/firefox/files/patch-bug753046 +++ b/www/firefox/files/patch-bug753046 @@ -264,7 +264,7 @@ new file mode 100644 index 0000000..3fc1a87 --- /dev/null +++ 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_) |