diff options
author | ryoon <ryoon@pkgsrc.org> | 2014-03-30 01:03:22 +0000 |
---|---|---|
committer | ryoon <ryoon@pkgsrc.org> | 2014-03-30 01:03:22 +0000 |
commit | f65969568438b2bffae675f644532c9b02269a78 (patch) | |
tree | f758456c14a6d1056f972fc29a8f2055d3952bc2 /www | |
parent | 9db6122ca4c81d553f4d20fc8baffd5f239b864d (diff) | |
download | pkgsrc-f65969568438b2bffae675f644532c9b02269a78.tar.gz |
Fix PR pkg/48682, fix build under NetBSD/i386 5.2.
Diffstat (limited to 'www')
-rw-r--r-- | www/firefox/distinfo | 3 | ||||
-rw-r--r-- | www/firefox/patches/patch-dom_system_OSFileConstants.cpp | 32 |
2 files changed, 34 insertions, 1 deletions
diff --git a/www/firefox/distinfo b/www/firefox/distinfo index 5db7c78bd76..23488263c36 100644 --- a/www/firefox/distinfo +++ b/www/firefox/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.134 2014/03/20 21:02:00 ryoon Exp $ +$NetBSD: distinfo,v 1.135 2014/03/30 01:03:22 ryoon Exp $ SHA1 (firefox-28.0.source.tar.bz2) = f78517836ceca0cd2a0d3db1f282985c616e3fae RMD160 (firefox-28.0.source.tar.bz2) = 71124b36dca319eaa0de268ce4f6133f0ceca4f9 @@ -43,6 +43,7 @@ SHA1 (patch-content_media_gstreamer_moz.build) = c38bd0d432577b55429ae5466b1b02c SHA1 (patch-content_media_test_manifest.js) = 5b98d9eb16f898211fc0e30d821303bf72e8aaeb SHA1 (patch-dom_plugins_ipc_PluginModuleChild.cpp) = 69b0a51d733cd52e7d200052362e0faf4ec918f1 SHA1 (patch-dom_plugins_ipc_PluginModuleChild.h) = 0a7f3167e939822013ae6195406657453578453e +SHA1 (patch-dom_system_OSFileConstants.cpp) = 1a3db7a122363c4caba2627bcb5a52b66272820d SHA1 (patch-extensions_spellcheck_hunspell_src_mozHunspell.cpp) = a2a0652d0eac018fda06e729bf5ba786dd8a3866 SHA1 (patch-gfx__skia__include__core__SkPreConfig.h) = 6f99cf0eb5d4617d529c378707f537bc1e5cb28f SHA1 (patch-gfx_graphite2_src_Bidi.cpp) = 5e80b4a32a47ae44d237fec69ea87bdd612a76ce diff --git a/www/firefox/patches/patch-dom_system_OSFileConstants.cpp b/www/firefox/patches/patch-dom_system_OSFileConstants.cpp new file mode 100644 index 00000000000..b2bc0639dc5 --- /dev/null +++ b/www/firefox/patches/patch-dom_system_OSFileConstants.cpp @@ -0,0 +1,32 @@ +$NetBSD: patch-dom_system_OSFileConstants.cpp,v 1.1 2014/03/30 01:03:22 ryoon Exp $ + +* NetBSD 5 does not support posix_spawn(3) + +--- dom/system/OSFileConstants.cpp.orig 2014-03-15 05:19:14.000000000 +0000 ++++ dom/system/OSFileConstants.cpp +@@ -9,11 +9,15 @@ + + #include "prsystem.h" + ++#if defined(__NetBSD__) ++#include <sys/param.h> ++#endif ++ + #if defined(XP_UNIX) + #include "unistd.h" + #include "dirent.h" + #include "sys/stat.h" +-#if !defined(ANDROID) ++#if !defined(ANDROID) && (defined(__NetBSD_) && (__NetBSD_Version__ < 600000000)) + #include <spawn.h> + #endif // !defined(ANDROID) + #endif // defined(XP_UNIX) +@@ -508,7 +512,7 @@ static const dom::ConstantSpec gLibcProp + // The size of |time_t|. + { "OSFILE_SIZEOF_TIME_T", INT_TO_JSVAL(sizeof (time_t)) }, + +-#if !defined(ANDROID) ++#if !defined(ANDROID) && (defined(__NetBSD_) && (__NetBSD_Version__ < 600000000)) + // The size of |posix_spawn_file_actions_t|. + { "OSFILE_SIZEOF_POSIX_SPAWN_FILE_ACTIONS_T", INT_TO_JSVAL(sizeof (posix_spawn_file_actions_t)) }, + #endif // !defined(ANDROID) |