pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/www/firefox Fix PR pkg/48682, fix build under NetBSD/i...
details: https://anonhg.NetBSD.org/pkgsrc/rev/b4dd2c059ea2
branches: trunk
changeset: 632451:b4dd2c059ea2
user: ryoon <ryoon%pkgsrc.org@localhost>
date: Sun Mar 30 01:03:22 2014 +0000
description:
Fix PR pkg/48682, fix build under NetBSD/i386 5.2.
diffstat:
www/firefox/distinfo | 3 +-
www/firefox/patches/patch-dom_system_OSFileConstants.cpp | 32 ++++++++++++++++
2 files changed, 34 insertions(+), 1 deletions(-)
diffs (53 lines):
diff -r 11cfa1225592 -r b4dd2c059ea2 www/firefox/distinfo
--- a/www/firefox/distinfo Sun Mar 30 00:17:57 2014 +0000
+++ b/www/firefox/distinfo Sun Mar 30 01:03:22 2014 +0000
@@ -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_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 -r 11cfa1225592 -r b4dd2c059ea2 www/firefox/patches/patch-dom_system_OSFileConstants.cpp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/firefox/patches/patch-dom_system_OSFileConstants.cpp Sun Mar 30 01:03:22 2014 +0000
@@ -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)
Home |
Main Index |
Thread Index |
Old Index