diff options
author | ryoon <ryoon@pkgsrc.org> | 2012-09-29 16:30:19 +0000 |
---|---|---|
committer | ryoon <ryoon@pkgsrc.org> | 2012-09-29 16:30:19 +0000 |
commit | 4722bce8f7f33c9430231971bb7ce8f09b815e22 (patch) | |
tree | aa6f504841ce766e4a07a68cca158a2868d881ca /www/seamonkey | |
parent | cc75f92a1b0fef63554ef7054632637fb09c25b6 (diff) | |
download | pkgsrc-4722bce8f7f33c9430231971bb7ce8f09b815e22.tar.gz |
Fix build on DragonFly with minimal change.
Thanks to Francois Tigeot for pointing it out.
Diffstat (limited to 'www/seamonkey')
-rw-r--r-- | www/seamonkey/distinfo | 4 | ||||
-rw-r--r-- | www/seamonkey/patches/patch-mozilla_ipc_chromium_src_base_dir__reader__bsd.h | 10 |
2 files changed, 9 insertions, 5 deletions
diff --git a/www/seamonkey/distinfo b/www/seamonkey/distinfo index d04c3ac702e..5cd7c37cd34 100644 --- a/www/seamonkey/distinfo +++ b/www/seamonkey/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.85 2012/09/06 12:08:50 ryoon Exp $ +$NetBSD: distinfo,v 1.86 2012/09/29 16:30:19 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) = 4eddacfa48526ac00de34a3222ce74 SHA1 (patch-mozilla_ipc_chromium_Makefile.in) = 158659f33dcec2b3bd63053af6074fe1c5057db9 SHA1 (patch-mozilla_ipc_chromium_chromium-config.mk) = 2da68d1b37a2ea7cefaa81d0191201d730eab50d SHA1 (patch-mozilla_ipc_chromium_src_base_base__paths.h) = 6405469f4e56d411b8f668c871d3a977919cfdea -SHA1 (patch-mozilla_ipc_chromium_src_base_dir__reader__bsd.h) = 45bd754832c530674fce7b97af0914f8d8ca7b0a +SHA1 (patch-mozilla_ipc_chromium_src_base_dir__reader__bsd.h) = 0f6df166774c5535bbf897c4ac174a4873158118 SHA1 (patch-mozilla_ipc_chromium_src_base_dir__reader__posix.h) = bbe90f32b9b9f33fed15b1bcfc5be1e583fa9da1 SHA1 (patch-mozilla_ipc_chromium_src_base_file__util__linux.cc) = 9ce6c36ebd066c3c2cc1bca0f270444a713167ec SHA1 (patch-mozilla_ipc_chromium_src_base_message__loop.cc) = 2990937ab88c834e6446f219ca55382f91ca262a diff --git a/www/seamonkey/patches/patch-mozilla_ipc_chromium_src_base_dir__reader__bsd.h b/www/seamonkey/patches/patch-mozilla_ipc_chromium_src_base_dir__reader__bsd.h index 423048fdaf7..a8b8aed46a9 100644 --- a/www/seamonkey/patches/patch-mozilla_ipc_chromium_src_base_dir__reader__bsd.h +++ b/www/seamonkey/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.1 2012/09/06 12:08:51 ryoon Exp $ +$NetBSD: patch-mozilla_ipc_chromium_src_base_dir__reader__bsd.h,v 1.2 2012/09/29 16:30:19 ryoon Exp $ ---- mozilla/ipc/chromium/src/base/dir_reader_bsd.h.orig 2012-09-02 13:39:11.000000000 +0000 +--- mozilla/ipc/chromium/src/base/dir_reader_bsd.h.orig 2012-08-28 18:53:58.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.1 2012/09/06 + 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_) |