firefox: update to 49.0.

This commit is contained in:
Duncaen 2016-09-20 21:18:28 +02:00
parent fe56ae8190
commit 6ebba65125
3 changed files with 18 additions and 18 deletions

View file

@ -42,17 +42,3 @@
}
void OS::SleepMicro(int microseconds)
--- media/libav/config_unix.h.orig 2015-11-04 18:38:46.660289503 +0100
+++ media/libav/config_unix.h 2015-11-04 18:39:38.620814879 +0100
@@ -223,7 +223,11 @@
#define HAVE_STRERROR_R 1
#define HAVE_STRPTIME 1
#define HAVE_SYSCONF 1
+#if !defined(__linux__) || defined(__GLIBC__)
#define HAVE_SYSCTL 1
+#else
+#define HAVE_SYSCTL 0
+#endif
#define HAVE_USLEEP 1
#define HAVE_VIRTUALALLOC 0
#define HAVE_PTHREADS 0

View file

@ -0,0 +1,14 @@
--- js/src/threading/posix/Thread.cpp.orig 2016-09-20 22:19:46.368622126 +0200
+++ js/src/threading/posix/Thread.cpp 2016-09-20 22:23:35.495823534 +0200
@@ -153,8 +153,10 @@
rv = 0;
#elif defined(__NetBSD__)
rv = pthread_setname_np(pthread_self(), "%s", (void*)name);
-#else
+#elif defined(__GLIBC__)
rv = pthread_setname_np(pthread_self(), name);
+$else
+ rv = 0;
#endif
MOZ_RELEASE_ASSERT(!rv);
}

View file

@ -1,13 +1,13 @@
# Template build file for 'firefox'.
pkgname=firefox
version=48.0.2
revision=5
version=49.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=6efbe0cc8dd120f16ff6d9394d96ea1b13bf6b4163d3b25d4210e06d23ea44b3
checksum=6f7069fa94688f9fb5aa3bbb2ffa78456825067dd984afa714d74b3f0c6eaf63
only_for_archs="i686 i686-musl x86_64 x86_64-musl"
nopie=yes
@ -113,7 +113,7 @@ do_configure() {
--with-pthreads --enable-official-branding --enable-safe-browsing \
--disable-debug --disable-gconf --disable-crashreporter --disable-updater \
--disable-tests --disable-elf-hack --with-system-icu --enable-pulseaudio \
--disable-crashreporter --with-nspr-prefix=${XBPS_CROSS_BASE}/usr \
--with-nspr-prefix=${XBPS_CROSS_BASE}/usr \
--with-nss-prefix=${XBPS_CROSS_BASE}/usr \
--with-google-api-keyfile="${wrksrc}/google-api-key" \
--enable-optimize="$CFLAGS" --disable-strip --disable-install-strip \