firefox: update to 44.0.
This commit is contained in:
parent
132c146383
commit
1867f00d67
3 changed files with 39 additions and 2 deletions
18
srcpkgs/firefox/patches/mallinfo.patch
Normal file
18
srcpkgs/firefox/patches/mallinfo.patch
Normal file
|
@ -0,0 +1,18 @@
|
|||
--- xpcom/base/nsMemoryReporterManager.cpp
|
||||
+++ xpcom/base/nsMemoryReporterManager.cpp
|
||||
@@ -153,6 +153,7 @@ ResidentUniqueDistinguishedAmount(int64_t* aN)
|
||||
return GetProcSelfSmapsPrivate(aN);
|
||||
}
|
||||
|
||||
+#ifdef __GLIBC__
|
||||
#define HAVE_SYSTEM_HEAP_REPORTER 1
|
||||
nsresult
|
||||
SystemHeapSize(int64_t* aSizeOut)
|
||||
@@ -172,6 +173,7 @@ SystemHeapSize(int64_t* aSizeOut)
|
||||
*aSizeOut = size_t(info.hblkhd) + size_t(info.uordblks);
|
||||
return NS_OK;
|
||||
}
|
||||
+#endif
|
||||
|
||||
#elif defined(__DragonFly__) || defined(__FreeBSD__) \
|
||||
|| defined(__NetBSD__) || defined(__OpenBSD__) \
|
15
srcpkgs/firefox/patches/patch-xpcom_components_Module.h
Normal file
15
srcpkgs/firefox/patches/patch-xpcom_components_Module.h
Normal file
|
@ -0,0 +1,15 @@
|
|||
$NetBSD: patch-xpcom_components_Module.h,v 1.1 2016/02/06 22:13:22 ryoon Exp $
|
||||
|
||||
* Workaround for binutils/GNU ld 2.26 from NetBSD/amd64 7.99.26
|
||||
|
||||
--- xpcom/components/Module.h.orig 2016-01-23 23:23:51.000000000 +0000
|
||||
+++ xpcom/components/Module.h
|
||||
@@ -125,7 +125,7 @@ struct Module
|
||||
# define NSMODULE_SECTION __declspec(allocate(".kPStaticModules$M"), dllexport)
|
||||
# elif defined(__GNUC__)
|
||||
# if defined(__ELF__)
|
||||
-# define NSMODULE_SECTION __attribute__((section(".kPStaticModules"), visibility("protected")))
|
||||
+# define NSMODULE_SECTION __attribute__((section(".kPStaticModules"), visibility("default")))
|
||||
# elif defined(__MACH__)
|
||||
# define NSMODULE_SECTION __attribute__((section("__DATA, .kPStaticModules"), visibility("default")))
|
||||
# elif defined (_WIN32)
|
|
@ -1,13 +1,13 @@
|
|||
# Template build file for 'firefox'.
|
||||
pkgname=firefox
|
||||
version=43.0.4
|
||||
version=44.0
|
||||
revision=1
|
||||
short_desc="Lightweight gecko-based web browser"
|
||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||
homepage="https://www.mozilla.org/firefox/"
|
||||
license="MPL-1.1, GPL-2, LGPL-2.1"
|
||||
distfiles="${MOZILLA_SITE}/${pkgname}/releases/${version}/source/${pkgname}-${version}.source.tar.xz"
|
||||
checksum=76cfa99285d49dede4097096ab3e7ee4bdedb64084b1fc23f2de216884245a76
|
||||
checksum=ea82b0f4840d320aa4fe8046ba28e686bf6dc60f707a0514a9d68c150d0c4c1d
|
||||
|
||||
nopie=yes
|
||||
lib32disabled=yes
|
||||
|
@ -25,6 +25,10 @@ makedepends="
|
|||
depends="nss>=3.20.1 desktop-file-utils hicolor-icon-theme"
|
||||
conflicts="firefox-esr>=0"
|
||||
|
||||
# https://bugzilla.mozilla.org/show_bug.cgi?id=1243724
|
||||
#CFLAGS="-DBROTLI_BUILD_PORTABLE"
|
||||
#CXXFLAGS="-DBROTLI_BUILD_PORTABLE"
|
||||
|
||||
pre_configure() {
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
*-musl)
|
||||
|
|
Loading…
Reference in a new issue