~ruther/guix-local

ref: 21e583def33ecf9e9bae3a18df875cd3380e14ec guix-local/gnu/packages/patches/glib-tests-prlimit.patch -rw-r--r-- 430 bytes
21e583de — Ludovic Courtès gnu: gcc: Add a RUNPATH to libstdc++.so so that it finds libgcc_s.so. 11 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
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;