mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-30 10:38:37 +00:00
www/palemoon: Update to 27.6.2
- Add SNDIO option - Include bug fixes that improve A/V sync with SNDIO=on [1] - Allow armv6 build Changes: http://www.palemoon.org/releasenotes.shtml PR: 223934, 215867 [1] Submitted by: lichray@gmail.com (maintainer) Security: 6056bf68-f570-4e70-b740-b9f606971283
This commit is contained in:
parent
6c1ffc5a13
commit
a862efd5e3
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=455086
@ -2,7 +2,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= palemoon
|
||||
DISTVERSION= 27.6.1
|
||||
DISTVERSION= 27.6.2
|
||||
DISTVERSIONSUFFIX=_Release
|
||||
CATEGORIES= www ipv6
|
||||
|
||||
@ -42,7 +42,7 @@ MOZ_OPTIONS= --enable-application=browser \
|
||||
--enable-jemalloc-lib
|
||||
|
||||
OPTIONS_DEFAULT= BUNDLED_CAIRO GTK2
|
||||
OPTIONS_EXCLUDE= DTRACE INTEGER_SAMPLES JACK SNDIO TEST
|
||||
OPTIONS_EXCLUDE= DTRACE INTEGER_SAMPLES JACK TEST
|
||||
|
||||
.include "${.CURDIR}/../../www/firefox/Makefile.options"
|
||||
|
||||
|
@ -1,3 +1,3 @@
|
||||
TIMESTAMP = 1510878123
|
||||
SHA256 (MoonchildProductions-Pale-Moon-27.6.1_Release_GH0.tar.gz) = bf426f51274472178dec248b258bfc8f2f33fbecb1cb70c36ee36a46a4dd6926
|
||||
SIZE (MoonchildProductions-Pale-Moon-27.6.1_Release_GH0.tar.gz) = 179623221
|
||||
TIMESTAMP = 1511899017
|
||||
SHA256 (MoonchildProductions-Pale-Moon-27.6.2_Release_GH0.tar.gz) = 124bee1630cf56f120220cdcadde4e24831b472db49d18da6480b7a847785d19
|
||||
SIZE (MoonchildProductions-Pale-Moon-27.6.2_Release_GH0.tar.gz) = 179622196
|
||||
|
13
www/palemoon/files/patch-bug1153151
Normal file
13
www/palemoon/files/patch-bug1153151
Normal file
@ -0,0 +1,13 @@
|
||||
Bug 1153151 - make libcubeb sndio use non-blocking i/o
|
||||
|
||||
--- media/libcubeb/src/cubeb_sndio.c.orig 2017-01-12 17:53:15 UTC
|
||||
+++ media/libcubeb/src/cubeb_sndio.c
|
||||
@@ -187,7 +187,7 @@ sndio_stream_init(cubeb *context,
|
||||
if (s == NULL)
|
||||
return CUBEB_ERROR;
|
||||
s->context = context;
|
||||
- s->hdl = sio_open(NULL, SIO_PLAY, 0);
|
||||
+ s->hdl = sio_open(NULL, SIO_PLAY, 1);
|
||||
if (s->hdl == NULL) {
|
||||
free(s);
|
||||
DPR("sndio_stream_init(), sio_open() failed\n");
|
40
www/palemoon/files/patch-bug1153179
Normal file
40
www/palemoon/files/patch-bug1153179
Normal file
@ -0,0 +1,40 @@
|
||||
Bug 1153179 - fix latency reporting in libcubeb sndio
|
||||
|
||||
--- media/libcubeb/src/cubeb_sndio.c.orig 2017-01-12 17:53:15 UTC
|
||||
+++ media/libcubeb/src/cubeb_sndio.c
|
||||
@@ -67,7 +67,7 @@ sndio_onmove(void *arg, int delta)
|
||||
{
|
||||
cubeb_stream *s = (cubeb_stream *)arg;
|
||||
|
||||
- s->rdpos += delta;
|
||||
+ s->rdpos += delta * s->bpf;
|
||||
}
|
||||
|
||||
static void *
|
||||
@@ -135,7 +135,7 @@ sndio_mainloop(void *arg)
|
||||
state = CUBEB_STATE_ERROR;
|
||||
break;
|
||||
}
|
||||
- s->wrpos = 0;
|
||||
+ s->wrpos += n;
|
||||
start += n;
|
||||
}
|
||||
}
|
||||
@@ -326,7 +336,7 @@ sndio_stream_get_position(cubeb_stream *
|
||||
{
|
||||
pthread_mutex_lock(&s->mtx);
|
||||
DPR("sndio_stream_get_position() %lld\n", s->rdpos);
|
||||
- *p = s->rdpos;
|
||||
+ *p = s->rdpos / s->bpf;
|
||||
pthread_mutex_unlock(&s->mtx);
|
||||
return CUBEB_OK;
|
||||
}
|
||||
@@ -346,7 +356,7 @@ sndio_stream_get_latency(cubeb_stream *
|
||||
{
|
||||
// http://www.openbsd.org/cgi-bin/man.cgi?query=sio_open
|
||||
// in the "Measuring the latency and buffers usage" paragraph.
|
||||
- *latency = stm->wrpos - stm->rdpos;
|
||||
+ *latency = (stm->wrpos - stm->rdpos) / stm->bpf;
|
||||
return CUBEB_OK;
|
||||
}
|
||||
|
11
www/palemoon/files/patch-gfx_skia_moz.build
Normal file
11
www/palemoon/files/patch-gfx_skia_moz.build
Normal file
@ -0,0 +1,11 @@
|
||||
--- gfx/skia/moz.build.orig 2017-11-26 22:41:30 UTC
|
||||
+++ gfx/skia/moz.build
|
||||
@@ -961,7 +961,7 @@ elif CONFIG['CLANG_CL']:
|
||||
SOURCES['trunk/src/opts/SkBlurImage_opts_SSE4.cpp'].flags += ['-msse4.1']
|
||||
|
||||
if CONFIG['GNU_CXX'] and CONFIG['CPU_ARCH'] == 'arm':
|
||||
- SOURCES['skia/src/opts/SkBlitRow_opts_arm.cpp'].flags += ['-fomit-frame-pointer']
|
||||
+ SOURCES['trunk/src/opts/SkBlitRow_opts_arm.cpp'].flags += ['-fomit-frame-pointer']
|
||||
|
||||
DEFINES['SKIA_IMPLEMENTATION'] = 1
|
||||
DEFINES['GR_IMPLEMENTATION'] = 1
|
Loading…
Reference in New Issue
Block a user