summaryrefslogtreecommitdiff
path: root/Ports/mandoc/patches/fix-catman.patch
blob: 607a92ca97216e1a7ec87c91002e8e439abcdde7 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- mandoc-1.14.5/catman.c.orig	Sun Jan 19 23:55:20 2020
+++ mandoc-1.14.5/catman.c	Sun Jan 19 23:55:30 2020
@@ -113,7 +113,7 @@
 		if ((sz = sendmsg(fd, &msg, 0)) != -1 ||
 		    errno != EAGAIN)
 			break;
-		nanosleep(&timeout, NULL);
+		sleep(1);
 	}
 	return sz;
 }