This patch fix error on 'gnulib' library required to build 'grep' package on GNU/Hurd. The patch was adapted from upstream source repository: '' Commit: 4084b3a1094372b960ce4a97634e08f4538c8bdd diff --git a/lib/glthread/lock.c b/lib/glthread/lock.c index 061562b..afc86f4 100644 --- a/lib/glthread/lock.c +++ b/lib/glthread/lock.c @@ -30,7 +30,7 @@ /* ------------------------- gl_rwlock_t datatype ------------------------- */ -# if HAVE_PTHREAD_RWLOCK && (HAVE_PTHREAD_RWLOCK_RDLOCK_PREFER_WRITER || (__GNU_LIBRARY__ > 1)) +# if HAVE_PTHREAD_RWLOCK && (HAVE_PTHREAD_RWLOCK_RDLOCK_PREFER_WRITER || (defined PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP && (__GNU_LIBRARY__ > 1))) # ifdef PTHREAD_RWLOCK_INITIALIZER diff --git a/lib/glthread/lock.h b/lib/glthread/lock.h index ec16d39..67932aa 100644 --- a/lib/glthread/lock.h +++ b/lib/glthread/lock.h @@ -179,7 +179,7 @@ typedef pthread_mutex_t gl_lock_t; /* ------------------------- gl_rwlock_t datatype ------------------------- */ -# if HAVE_PTHREAD_RWLOCK && (HAVE_PTHREAD_RWLOCK_RDLOCK_PREFER_WRITER || (__GNU_LIBRARY__ > 1)) +# if HAVE_PTHREAD_RWLOCK && (HAVE_PTHREAD_RWLOCK_RDLOCK_PREFER_WRITER || (defined PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP && (__GNU_LIBRARY__ > 1))) # ifdef PTHREAD_RWLOCK_INITIALIZER 986'>commitdiff
path: root/etc/system-tests.scm
AgeCommit message (Expand)Author
2020-03-23tests: Use the same source as ci.guix.gnu.org....Ludovic Courtès
2020-03-05tests: Add a manifest for system tests....Ludovic Courtès