mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
glib: Patch around prlimit(2) failure.
* gnu/packages/glib.scm (glib)[source]: Switch to mirror://gnome. [inputs]: Add `patch/tests-prlimit'. [arguments]: Add it. * gnu/packages/patches/glib-tests-prlimit.patch: New file. * Makefile.am (dist_patch_DATA): Add it.
This commit is contained in:
parent
0b5aa854a0
commit
785db4d877
3 changed files with 23 additions and 5 deletions
14
gnu/packages/patches/glib-tests-prlimit.patch
Normal file
14
gnu/packages/patches/glib-tests-prlimit.patch
Normal file
|
@ -0,0 +1,14 @@
|
|||
prlimit(2) returns ENOSYS on Linux 2.6.32-5-xen-amd64 as found on
|
||||
hydra.gnu.org, and strace(1) doesn't recognize it.
|
||||
|
||||
--- glib-2.34.3/glib/tests/thread.c 2012-11-20 15:27:12.000000000 +0100
|
||||
+++ glib-2.34.3/glib/tests/thread.c 2013-03-27 14:48:31.000000000 +0100
|
||||
@@ -130,7 +130,7 @@ test_thread3 (void)
|
||||
static void
|
||||
test_thread4 (void)
|
||||
{
|
||||
-#ifdef HAVE_PRLIMIT
|
||||
+#if 0
|
||||
struct rlimit ol, nl;
|
||||
GThread *thread;
|
||||
GError *error;
|
Loading…
Add table
Add a link
Reference in a new issue