summaryrefslogtreecommitdiff
path: root/Ports/mandoc/patches/fix-catman.patch
diff options
context:
space:
mode:
authorBrian Callahan <bcallah@openbsd.org>2020-01-25 21:20:39 -0500
committerAndreas Kling <kling@serenityos.org>2020-01-26 09:10:37 +0100
commit78ddf2e0489d2944f5bbb05c9c924bb97fed9b34 (patch)
tree1c6041c9a52c8030fbccd5d32cdc0eb60c8ee3d0 /Ports/mandoc/patches/fix-catman.patch
parent77ed9432758fe11cb187816264b444f6318df270 (diff)
downloadserenity-78ddf2e0489d2944f5bbb05c9c924bb97fed9b34.zip
Ports: Add mandoc port
Diffstat (limited to 'Ports/mandoc/patches/fix-catman.patch')
-rw-r--r--Ports/mandoc/patches/fix-catman.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/Ports/mandoc/patches/fix-catman.patch b/Ports/mandoc/patches/fix-catman.patch
new file mode 100644
index 0000000000..607a92ca97
--- /dev/null
+++ b/Ports/mandoc/patches/fix-catman.patch
@@ -0,0 +1,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;
+ }