summaryrefslogtreecommitdiff
path: root/devel/xulrunner
diff options
context:
space:
mode:
authortnn <tnn@pkgsrc.org>2011-07-12 15:12:36 +0000
committertnn <tnn@pkgsrc.org>2011-07-12 15:12:36 +0000
commit949d6d0c286d20f8b36fd03506212a4e0eea47a7 (patch)
treecb05a82a57e8c8148467f64720a455288fa89301 /devel/xulrunner
parente9e59650ec23343b1898f327285cada9f8ff843a (diff)
downloadpkgsrc-949d6d0c286d20f8b36fd03506212a4e0eea47a7.tar.gz
Fix some dragonfly build issues.
Diffstat (limited to 'devel/xulrunner')
-rw-r--r--devel/xulrunner/distinfo5
-rw-r--r--devel/xulrunner/patches/patch-bf13
-rw-r--r--devel/xulrunner/patches/patch-ipc_chromium_src_base_platform__file__posix.cc12
3 files changed, 26 insertions, 4 deletions
diff --git a/devel/xulrunner/distinfo b/devel/xulrunner/distinfo
index acb6a6500a1..dfa3f77c2ae 100644
--- a/devel/xulrunner/distinfo
+++ b/devel/xulrunner/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.46 2011/07/12 00:19:45 tnn Exp $
+$NetBSD: distinfo,v 1.47 2011/07/12 15:12:36 tnn Exp $
SHA1 (firefox-5.0.source.tar.bz2) = 22b7b4751173c2142a0f09cca1aebc717d97b45a
RMD160 (firefox-5.0.source.tar.bz2) = 93d97a01f572f3688b0065c903afc3d7f9260179
@@ -29,12 +29,13 @@ SHA1 (patch-az) = 5a09ccfa14fab962c4e2916f00669a1fa4a8ade4
SHA1 (patch-ba) = 9d4058f2a3a290429b26cb8335dd5b188bccc96d
SHA1 (patch-bd) = e09718d6492739a66dc5e21d3ed2cc1a404acd30
SHA1 (patch-be) = 723d74807830632ecd3b88e8271d91d73ac81be4
-SHA1 (patch-bf) = 9a2e7a40e7d6cf01df384bf5e71b15a7c3f94cc0
+SHA1 (patch-bf) = 66bac52db259d8edd7359267431a73bd19d25526
SHA1 (patch-bg) = 85d82348c43257eded6426ac84af9815619eb759
SHA1 (patch-bi) = a79369cf0c7370a8655fe414cdb7c8ddb4c2d495
SHA1 (patch-ipc_chromium_src_base_debug__util__posic.cc) = fcb4313d2a77c73df717138e33a3bc74841f06c4
SHA1 (patch-ipc_chromium_src_base_file__util.h) = 1385e427cc8c0c14cd67763aea85d78b99901de7
SHA1 (patch-ipc_chromium_src_base_file__util__posix.cc) = f3e0891320d2658db2bf33b57e6287f4380c855e
+SHA1 (patch-ipc_chromium_src_base_platform__file__posix.cc) = eb6c8003375c047602fbe5d52497257f0bcdaa4d
SHA1 (patch-ipc_chromium_src_base_platform__thread__posix.cc) = bfcea1298c2d2c7d65570be3a5529adbf711dea3
SHA1 (patch-ipc_chromium_src_base_sys__info__posix.cc) = 4d6e4724bc2473325fc9e62ab2321155a06c65d6
SHA1 (patch-ipc_chromium_src_base_third__party_nspr_prcpucfg.h) = 15b35884249077eb879371b8b63d2f8aa4ee68b5
diff --git a/devel/xulrunner/patches/patch-bf b/devel/xulrunner/patches/patch-bf
index 60999e9fd37..903d29b919c 100644
--- a/devel/xulrunner/patches/patch-bf
+++ b/devel/xulrunner/patches/patch-bf
@@ -1,13 +1,22 @@
-$NetBSD: patch-bf,v 1.3 2011/07/11 12:46:14 tnn Exp $
+$NetBSD: patch-bf,v 1.4 2011/07/12 15:12:36 tnn Exp $
--- js/src/jsnativestack.cpp.orig 2011-06-15 21:57:29.000000000 +0000
+++ js/src/jsnativestack.cpp
+@@ -50,7 +50,7 @@
+ #elif defined(XP_MACOSX) || defined(DARWIN) || defined(XP_UNIX)
+ # include <pthread.h>
+
+-# if defined(__FreeBSD__)
++# if defined(__FreeBSD__) || defined(__DragonFly__)
+ # include <pthread_np.h>
+ # endif
+
@@ -145,7 +145,7 @@ GetNativeStackBaseImpl()
pthread_attr_init(&sattr);
# if defined(__OpenBSD__)
stack_t ss;
-# elif defined(PTHREAD_NP_H) || defined(_PTHREAD_NP_H_) || defined(NETBSD)
-+# elif defined(PTHREAD_NP_H) || defined(_PTHREAD_NP_H_) || defined(NETBSD) || defined(__NetBSD__) /* XXX tnn not sure why NETBSD isn't defined, it looks like it should be ... */
++# elif defined(PTHREAD_NP_H) || defined(_PTHREAD_NP_H_) || defined(__DragonFly__) || defined(NETBSD) || defined(__NetBSD__) /* XXX tnn not sure why NETBSD isn't defined, it looks like it should be ... */
/* e.g. on FreeBSD 4.8 or newer, neundorf@kde.org */
pthread_attr_get_np(thread, &sattr);
# else
diff --git a/devel/xulrunner/patches/patch-ipc_chromium_src_base_platform__file__posix.cc b/devel/xulrunner/patches/patch-ipc_chromium_src_base_platform__file__posix.cc
new file mode 100644
index 00000000000..70db25bc526
--- /dev/null
+++ b/devel/xulrunner/patches/patch-ipc_chromium_src_base_platform__file__posix.cc
@@ -0,0 +1,12 @@
+$NetBSD: patch-ipc_chromium_src_base_platform__file__posix.cc,v 1.1 2011/07/12 15:12:36 tnn Exp $
+
+--- ipc/chromium/src/base/platform_file_posix.cc.orig 2011-06-15 21:57:27.000000000 +0000
++++ ipc/chromium/src/base/platform_file_posix.cc
+@@ -9,6 +9,7 @@
+ #ifdef ANDROID
+ #include <linux/stat.h>
+ #endif
++#include <sys/stat.h> /* for S_IRUSR */
+
+ #include "base/logging.h"
+ #include "base/string_util.h"