diff options
author | ryoon <ryoon@pkgsrc.org> | 2013-11-13 14:17:11 +0000 |
---|---|---|
committer | ryoon <ryoon@pkgsrc.org> | 2013-11-13 14:17:11 +0000 |
commit | 0966040ec6a3fd2a15d6211be2dd4c9c03e16936 (patch) | |
tree | 963c6db50f87e522f895550cd43b0dfca62ff29c /www/firefox24 | |
parent | 331b8777b824352423eaaa6d5fe710b094235fcd (diff) | |
download | pkgsrc-0966040ec6a3fd2a15d6211be2dd4c9c03e16936.tar.gz |
Fix PR pkg/48240 and bump PKGREVISION
* Use *30 instead of *50. Restore session is recovered on NetBSD/amd64 5.2.
Based on martin@'s patch on pkgsrc-users@.
Diffstat (limited to 'www/firefox24')
-rw-r--r-- | www/firefox24/Makefile | 4 | ||||
-rw-r--r-- | www/firefox24/distinfo | 4 | ||||
-rw-r--r-- | www/firefox24/patches/patch-toolkit_components_osfile_osfile__unix__back.jsm | 12 |
3 files changed, 11 insertions, 9 deletions
diff --git a/www/firefox24/Makefile b/www/firefox24/Makefile index 56c5f1d327b..214740d56dc 100644 --- a/www/firefox24/Makefile +++ b/www/firefox24/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.3 2013/11/10 15:08:31 ryoon Exp $ +# $NetBSD: Makefile,v 1.4 2013/11/13 14:17:11 ryoon Exp $ FIREFOX_VER= ${MOZ_BRANCH}${MOZ_BRANCH_MINOR} MOZ_BRANCH= 24.1.0 @@ -6,7 +6,7 @@ MOZ_BRANCH_MINOR= esr DISTNAME= firefox-${FIREFOX_VER}.source PKGNAME= firefox24-${MOZ_BRANCH}${MOZ_BRANCH_MINOR:S/b/beta/:S/esr//} -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= www #MASTER_SITES= ${MASTER_SITE_MOZILLA:=firefox/releases/${FIREFOX_VER}/source/} MASTER_SITES+= ${MASTER_SITE_MOZILLA_ALL:=firefox/releases/${FIREFOX_VER}/source/} diff --git a/www/firefox24/distinfo b/www/firefox24/distinfo index 2bab11a061f..19ae5a99991 100644 --- a/www/firefox24/distinfo +++ b/www/firefox24/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.2 2013/11/08 12:51:25 ryoon Exp $ +$NetBSD: distinfo,v 1.3 2013/11/13 14:17:11 ryoon Exp $ SHA1 (firefox-24.1.0esr.source.tar.bz2) = faeed7eb315e9e0a380ab5081b96800590eb6154 RMD160 (firefox-24.1.0esr.source.tar.bz2) = 5cb36d654ecbd89f9b77e1a96c2eff7d54c45b93 @@ -117,7 +117,7 @@ SHA1 (patch-rc) = 2733724442a2cb49c5091146fd7e6001af686121 SHA1 (patch-security_manager_ssl_src_JARSignatureVerification.cpp) = e9749dfeb0d3fcb4637935322ffd1e0cad4f8ec3 SHA1 (patch-security_manager_ssl_src_nsNSSComponent.cpp) = c4c96b7d3cb0c5dbcfe3820fd52421eec2592452 SHA1 (patch-toolkit_components_osfile_osfile__unix__allthreads.jsm) = 0bb66da3445da1cab81b9ddf46e74b03070243af -SHA1 (patch-toolkit_components_osfile_osfile__unix__back.jsm) = 73136e54fbc18d6b932dd5f2358a062220d0f8ef +SHA1 (patch-toolkit_components_osfile_osfile__unix__back.jsm) = c5069994938d2b2640c527cc63aed186e174d235 SHA1 (patch-toolkit_components_osfile_osfile__unix__front.jsm) = 0d8200b8c43dc4c56f5e3d53fd13f48d7ff6dc38 SHA1 (patch-toolkit_library_Makefile.in) = 0c91d647f0f3a4653d39f11c9d8fd63611235932 SHA1 (patch-toolkit_mozapps_update_updater_updater.cpp) = 6936e5408fc7f0110768f3fc8f27506c0e7879fa diff --git a/www/firefox24/patches/patch-toolkit_components_osfile_osfile__unix__back.jsm b/www/firefox24/patches/patch-toolkit_components_osfile_osfile__unix__back.jsm index a3f12f817cf..8dde913df8e 100644 --- a/www/firefox24/patches/patch-toolkit_components_osfile_osfile__unix__back.jsm +++ b/www/firefox24/patches/patch-toolkit_components_osfile_osfile__unix__back.jsm @@ -1,4 +1,4 @@ -$NetBSD: patch-toolkit_components_osfile_osfile__unix__back.jsm,v 1.1 2013/11/08 12:51:25 ryoon Exp $ +$NetBSD: patch-toolkit_components_osfile_osfile__unix__back.jsm,v 1.2 2013/11/13 14:17:12 ryoon Exp $ Based on martin@'s patch for firefox 27.0 @@ -46,25 +46,27 @@ Based on martin@'s patch for firefox 27.0 } else { UnixFile.readdir = declareFFI("readdir", ctypes.default_abi, -@@ -556,6 +568,25 @@ +@@ -556,6 +568,27 @@ UnixFile.fstat = function stat(fd, buf) { return fxstat(ver, fd, buf); }; + } else if (OS.Constants.Sys.Name == "NetBSD") { ++ // NetBSD 5.0 uses *30, and netbsd-6 uses *50 ++ let v = OS.Constants.libc.OSFILE_SIZEOF_TIME_T < 8 ? "30" : "50"; + UnixFile.stat = -+ declareFFI("__stat50", ctypes.default_abi, ++ declareFFI("__stat"+v, ctypes.default_abi, + /*return*/ Types.negativeone_or_nothing, + /*path*/ Types.path, + /*buf*/ Types.stat.out_ptr + ); + UnixFile.lstat = -+ declareFFI("__lstat50", ctypes.default_abi, ++ declareFFI("__lstat"+v, ctypes.default_abi, + /*return*/ Types.negativeone_or_nothing, + /*path*/ Types.path, + /*buf*/ Types.stat.out_ptr + ); + UnixFile.fstat = -+ declareFFI("__fstat50", ctypes.default_abi, ++ declareFFI("__fstat"+v, ctypes.default_abi, + /*return*/ Types.negativeone_or_nothing, + /*fd*/ Types.fd, + /*buf*/ Types.stat.out_ptr |