diff options
author | ryoon <ryoon> | 2012-09-03 15:27:31 +0000 |
---|---|---|
committer | ryoon <ryoon> | 2012-09-03 15:27:31 +0000 |
commit | d57aeaa4a7ca4491092a974d9d7270a71d740d7e (patch) | |
tree | 96d8d8b1a6cb839b5e388edc00d7ec89a787c8d8 /mail | |
parent | 4d965c78f47b806667e52609169db75e42062012 (diff) | |
download | pkgsrc-d57aeaa4a7ca4491092a974d9d7270a71d740d7e.tar.gz |
Fix DragonFly build again. Thank you, marino@.
Diffstat (limited to 'mail')
-rw-r--r-- | mail/thunderbird/distinfo | 4 | ||||
-rw-r--r-- | mail/thunderbird/patches/patch-mozilla_ipc_chromium_src_base_dir__reader__bsd.h | 10 |
2 files changed, 9 insertions, 5 deletions
diff --git a/mail/thunderbird/distinfo b/mail/thunderbird/distinfo index e2147b15142..62d7daa0ada 100644 --- a/mail/thunderbird/distinfo +++ b/mail/thunderbird/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.101 2012/09/02 12:27:50 ryoon Exp $ +$NetBSD: distinfo,v 1.102 2012/09/03 15:27:31 ryoon Exp $ SHA1 (enigmail-1.4.4.tar.gz) = a1601191a3a421b2e94e7ff833300da72267d7ac RMD160 (enigmail-1.4.4.tar.gz) = f362b2f205ed151c2127db381c393394995ca8aa @@ -70,7 +70,7 @@ SHA1 (patch-mozilla_gfx_thebes_gfxPlatform.cpp) = b4107fea2b683cec7be6c6179c4ecf SHA1 (patch-mozilla_ipc_chromium_Makefile.in) = 5b1cd2c6b9e9c21df504aafe85013445a7e9425e SHA1 (patch-mozilla_ipc_chromium_chromium-config.mk) = 3a502f13a41636f2e793f03fb041d267e6dadb71 SHA1 (patch-mozilla_ipc_chromium_src_base_base__paths.h) = 1550fd2f3961ded7a17e821208d1bfe6f549e6ac -SHA1 (patch-mozilla_ipc_chromium_src_base_dir__reader__bsd.h) = f9f95a520c95d9ee95cf1e270ace3594e36fe6db +SHA1 (patch-mozilla_ipc_chromium_src_base_dir__reader__bsd.h) = 1a7779a9fd682739caeb7219548f5d2d479fc302 SHA1 (patch-mozilla_ipc_chromium_src_base_dir__reader__posix.h) = 0c95e25bc77d775c37be342087c5e6591c90de8d SHA1 (patch-mozilla_ipc_chromium_src_base_file__util__linux.cc) = 9e0e8d4e8a4254fca93b37f51eb4940c8f82bd5e SHA1 (patch-mozilla_ipc_chromium_src_base_message__loop.cc) = c8b5440d8886c97a54a759cad49cb129304a29de diff --git a/mail/thunderbird/patches/patch-mozilla_ipc_chromium_src_base_dir__reader__bsd.h b/mail/thunderbird/patches/patch-mozilla_ipc_chromium_src_base_dir__reader__bsd.h index fcfc7c6405a..0ccb18697e9 100644 --- a/mail/thunderbird/patches/patch-mozilla_ipc_chromium_src_base_dir__reader__bsd.h +++ b/mail/thunderbird/patches/patch-mozilla_ipc_chromium_src_base_dir__reader__bsd.h @@ -1,8 +1,8 @@ -$NetBSD: patch-mozilla_ipc_chromium_src_base_dir__reader__bsd.h,v 1.2 2012/09/02 12:27:50 ryoon Exp $ +$NetBSD: patch-mozilla_ipc_chromium_src_base_dir__reader__bsd.h,v 1.3 2012/09/03 15:27:31 ryoon Exp $ ---- mozilla/ipc/chromium/src/base/dir_reader_bsd.h.orig 2012-09-02 06:26:34.000000000 +0000 +--- mozilla/ipc/chromium/src/base/dir_reader_bsd.h.orig 2012-09-03 10:39:55.000000000 +0000 +++ 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. @@ -54,7 +54,11 @@ $NetBSD: patch-mozilla_ipc_chromium_src_base_dir__reader__bsd.h,v 1.2 2012/09/02 + 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_) |