[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] gnu: pulseaudio: Increase thread-test timeout, for slower machin
From: |
Mark H Weaver |
Subject: |
[PATCH] gnu: pulseaudio: Increase thread-test timeout, for slower machines |
Date: |
Fri, 28 Mar 2014 03:35:51 -0400 |
This is needed on Loongson 2F machines.
Mark
>From a3f19db3e9f0dd810f23c06f4d9e63d815e29c21 Mon Sep 17 00:00:00 2001
From: Mark H Weaver <address@hidden>
Date: Wed, 26 Mar 2014 23:33:26 -0400
Subject: [PATCH] gnu: pulseaudio: Increase thread-test timeout, for slower
machines.
* gnu/packages/patches/pulseaudio-increase-thread-test-timeout.patch:
New file.
* gnu/packages/pulseaudio.scm (pulseaudio): Add it.
* gnu-system.am (dist_patch_DATA): Add it.
---
gnu-system.am | 1 +
.../patches/pulseaudio-increase-thread-test-timeout.patch | 12 ++++++++++++
gnu/packages/pulseaudio.scm | 5 ++++-
3 files changed, 17 insertions(+), 1 deletion(-)
create mode 100644
gnu/packages/patches/pulseaudio-increase-thread-test-timeout.patch
diff --git a/gnu-system.am b/gnu-system.am
index 197265c..b512a5c 100644
--- a/gnu-system.am
+++ b/gnu-system.am
@@ -311,6 +311,7 @@ dist_patch_DATA =
\
gnu/packages/patches/perl-no-sys-dirs.patch \
gnu/packages/patches/plotutils-libpng-jmpbuf.patch \
gnu/packages/patches/procps-make-3.82.patch \
+ gnu/packages/patches/pulseaudio-increase-thread-test-timeout.patch \
gnu/packages/patches/python-fix-dbm.patch \
gnu/packages/patches/qemu-make-4.0.patch \
gnu/packages/patches/qemu-multiple-smb-shares.patch \
diff --git a/gnu/packages/patches/pulseaudio-increase-thread-test-timeout.patch
b/gnu/packages/patches/pulseaudio-increase-thread-test-timeout.patch
new file mode 100644
index 0000000..a10a9d8
--- /dev/null
+++ b/gnu/packages/patches/pulseaudio-increase-thread-test-timeout.patch
@@ -0,0 +1,12 @@
+Needed for slower machines.
+
+--- pulseaudio/src/tests/thread-test.c.orig 2014-01-23 13:57:55.000000000
-0500
++++ pulseaudio/src/tests/thread-test.c 2014-03-26 23:28:50.046386718 -0400
+@@ -152,6 +152,7 @@
+ s = suite_create("Thread");
+ tc = tcase_create("thread");
+ tcase_add_test(tc, thread_test);
++ tcase_set_timeout(tc, 120);
+ suite_add_tcase(s, tc);
+
+ sr = srunner_create(s);
diff --git a/gnu/packages/pulseaudio.scm b/gnu/packages/pulseaudio.scm
index db7e752..de95c8a 100644
--- a/gnu/packages/pulseaudio.scm
+++ b/gnu/packages/pulseaudio.scm
@@ -142,7 +142,10 @@ parse JSON formatted strings back into the C
representation of JSON objects.")
version ".tar.xz"))
(sha256
(base32
- "0fgrr8v7yfh0byhzdv4c87v9lkj8g7gpjm8r9xrbvpa92a5kmhcr"))))
+ "0fgrr8v7yfh0byhzdv4c87v9lkj8g7gpjm8r9xrbvpa92a5kmhcr"))
+ (patches
+ (list (search-patch
+ "pulseaudio-increase-thread-test-timeout.patch")))))
(build-system gnu-build-system)
(arguments
`(#:configure-flags '("--localstatedir=/var" ;"--sysconfdir=/etc"
--
1.8.4
- [PATCH] gnu: pulseaudio: Increase thread-test timeout, for slower machines,
Mark H Weaver <=