diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 16:03:19 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 16:03:19 +0000 |
commit | 9e3a6355172d4502a56db0ad3410b916980e6a76 (patch) | |
tree | 756fd792d3087d62e1dfe774385bac916585593e /debian/patches | |
parent | Adding upstream version 14.2. (diff) | |
download | pulseaudio-9e3a6355172d4502a56db0ad3410b916980e6a76.tar.xz pulseaudio-9e3a6355172d4502a56db0ad3410b916980e6a76.zip |
Adding debian version 14.2-2.debian/14.2-2debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches')
-rw-r--r-- | debian/patches/disable-autospawn.patch | 21 | ||||
-rw-r--r-- | debian/patches/series | 2 | ||||
-rw-r--r-- | debian/patches/tests-fix-use-of-uninitialized-variable-cpu_info.patch | 34 |
3 files changed, 57 insertions, 0 deletions
diff --git a/debian/patches/disable-autospawn.patch b/debian/patches/disable-autospawn.patch new file mode 100644 index 0000000..4f43d0b --- /dev/null +++ b/debian/patches/disable-autospawn.patch @@ -0,0 +1,21 @@ +From: Felipe Sateler <fsateler@debian.org> +Date: Fri, 26 Feb 2021 19:29:30 -0300 +Subject: Disable autospawn by default + +--- + src/pulse/client-conf.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/pulse/client-conf.c b/src/pulse/client-conf.c +index 1daaf91..bf88723 100644 +--- a/src/pulse/client-conf.c ++++ b/src/pulse/client-conf.c +@@ -63,7 +63,7 @@ static const pa_client_conf default_conf = { + .cookie_from_x11_valid = false, + .cookie_file_from_application = NULL, + .cookie_file_from_client_conf = NULL, +- .autospawn = true, ++ .autospawn = false, + .disable_shm = false, + .disable_memfd = false, + .shm_size = 0, diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..54c06fd --- /dev/null +++ b/debian/patches/series @@ -0,0 +1,2 @@ +disable-autospawn.patch +tests-fix-use-of-uninitialized-variable-cpu_info.patch diff --git a/debian/patches/tests-fix-use-of-uninitialized-variable-cpu_info.patch b/debian/patches/tests-fix-use-of-uninitialized-variable-cpu_info.patch new file mode 100644 index 0000000..32843de --- /dev/null +++ b/debian/patches/tests-fix-use-of-uninitialized-variable-cpu_info.patch @@ -0,0 +1,34 @@ +From: Faidon Liambotis <paravoid@debian.org> +Date: Fri, 26 Feb 2021 03:23:52 +0200 +Subject: tests: fix use of uninitialized variable cpu_info + +On cpu-volume-test, cpu_info is initialized only on i386/amd64 systems, +and otherwise passed on to pa_cpu_init_orc() uninitialized. + +If one was unlucky enough, they could end up with cpu_info.cpu_type == +PA_CPU_X86 on a non-x86 system, and use and test the Orc codepath +without that being functional, and thus with the test failing. + +This has been observed in the wild on the ppc64el Debian buildds. See +Debian bug #982740 for more context. + +Define cpu_info here in the same way as in other tests. + +Signed-off-by: Faidon Liambotis <paravoid@debian.org> +--- + src/tests/cpu-volume-test.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/tests/cpu-volume-test.c b/src/tests/cpu-volume-test.c +index 535488e..5de8c83 100644 +--- a/src/tests/cpu-volume-test.c ++++ b/src/tests/cpu-volume-test.c +@@ -187,7 +187,7 @@ END_TEST + + START_TEST (svolume_orc_test) { + pa_do_volume_func_t orig_func, orc_func; +- pa_cpu_info cpu_info; ++ pa_cpu_info cpu_info = { PA_CPU_UNDEFINED, {}, false }; + int i, j; + + #if defined (__i386__) || defined (__amd64__) |