libprelude/libprelude-5.2.0-disable_test-poll_on_kfreebsd.patch
2020-09-17 23:09:58 +02:00

18 lines
513 B
Diff

Description: Disable test-poll test in libmissing on kfreebsd
Author: Thomas Andrejak <thomas.andrejak@gmail.com>
Last-Update: 2017-06-22
--- libprelude-3.1.0/libmissing/tests/test-poll.c 2016-09-15 02:49:10.775000884 -0400
+++ libprelude-3.1.0/libmissing/tests/test-poll.c 2017-06-25 12:18:46.997120157 -0400
@@ -370,6 +370,10 @@
{
int result;
+#if defined(__FreeBSD_kernel__) && defined(__GLIBC__)
+ exit(77);
+#endif
+
#ifdef INTERACTIVE
printf ("Please press Enter\n");
test (test_tty, "TTY");