diff options
author | ryoon <ryoon@pkgsrc.org> | 2012-09-02 05:45:29 +0000 |
---|---|---|
committer | ryoon <ryoon@pkgsrc.org> | 2012-09-02 05:45:29 +0000 |
commit | 8101428d6abd047d428f878813e86d82b7504017 (patch) | |
tree | c0084fe9db43d14b9f1d00dabdfe08865453e872 /devel | |
parent | c54fbcd5212a78c0562b5218db2d0a6d4a7bfcae (diff) | |
download | pkgsrc-8101428d6abd047d428f878813e86d82b7504017.tar.gz |
Add one more patch from Jan Beich,
mainly fix DragonFly build.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/xulrunner/distinfo | 4 | ||||
-rw-r--r-- | devel/xulrunner/patches/patch-ipc_chromium_src_base_dir__reader__bsd.h | 8 |
2 files changed, 8 insertions, 4 deletions
diff --git a/devel/xulrunner/distinfo b/devel/xulrunner/distinfo index 7229e853bb9..1c0de4c2e23 100644 --- a/devel/xulrunner/distinfo +++ b/devel/xulrunner/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.76 2012/08/31 11:52:13 ryoon Exp $ +$NetBSD: distinfo,v 1.77 2012/09/02 05:45:29 ryoon Exp $ SHA1 (firefox-15.0.source.tar.bz2) = a5e6067cf3fb7741818b630d90778928873a2b04 RMD160 (firefox-15.0.source.tar.bz2) = e70629dbd92db68e39707e28fbe53df7f0946c36 @@ -39,7 +39,7 @@ SHA1 (patch-ipc_chromium_Makefile.in) = 4fbd046e80824669547d5dcb809a3126ce2b96b8 SHA1 (patch-ipc_chromium_chromium-config.mk) = 24b1fe7cc7f3f14dd8a79f8eedf6f3638c304020 SHA1 (patch-ipc_chromium_src_base_base__paths.h) = 0b8e231055cde854f31b9aa44392692a53d806f0 SHA1 (patch-ipc_chromium_src_base_debug__util__posix.cc) = 46bf793870b4fbc2c8594186eea6bd3c7db885e9 -SHA1 (patch-ipc_chromium_src_base_dir__reader__bsd.h) = 26257fc46798b00c469875cf249a23c4a45e631e +SHA1 (patch-ipc_chromium_src_base_dir__reader__bsd.h) = 767160e3099d7bd4eb58dc24ed207417acdf098a SHA1 (patch-ipc_chromium_src_base_dir__reader__posix.h) = d6dd15f644de3fa755f8c9be9190eb4092295091 SHA1 (patch-ipc_chromium_src_base_file__util__linux.cc) = f5a4b391c5c21708c51ad94d6cd02156be78c999 SHA1 (patch-ipc_chromium_src_base_file__util__posix.cc) = 96a5a0d4b61ec69b80db3c9ff212d7a7a3d506f6 diff --git a/devel/xulrunner/patches/patch-ipc_chromium_src_base_dir__reader__bsd.h b/devel/xulrunner/patches/patch-ipc_chromium_src_base_dir__reader__bsd.h index bd06668d6c9..d230002e985 100644 --- a/devel/xulrunner/patches/patch-ipc_chromium_src_base_dir__reader__bsd.h +++ b/devel/xulrunner/patches/patch-ipc_chromium_src_base_dir__reader__bsd.h @@ -1,8 +1,8 @@ -$NetBSD: patch-ipc_chromium_src_base_dir__reader__bsd.h,v 1.2 2012/08/28 23:27:10 ryoon Exp $ +$NetBSD: patch-ipc_chromium_src_base_dir__reader__bsd.h,v 1.3 2012/09/02 05:45:29 ryoon Exp $ --- ipc/chromium/src/base/dir_reader_bsd.h.orig 2012-08-28 18:53:58.000000000 +0000 +++ 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-ipc_chromium_src_base_dir__reader__bsd.h,v 1.2 2012/08/28 23:27:1 + 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_) |