1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-24 07:55:07 +00:00
serenity/Ports/mandoc/patches/fix-main.patch
Daniel Bertalan 7893ae4233 Ports/mandoc: Remove obsolete patches
Since the creation of the port, we gained support for nanosleep(),
WSTOPSIG(), and the getopt family of functions is now available in
unistd.h.
2021-12-24 17:02:40 +03:30

18 lines
382 B
Diff

--- mandoc-1.14.5/main.c.orig Sat Jan 25 20:29:18 2020
+++ mandoc-1.14.5/main.c Sat Jan 25 20:30:06 2020
@@ -30,7 +30,6 @@
#endif
#include <errno.h>
#include <fcntl.h>
-#include <glob.h>
#if HAVE_SANDBOX_INIT
#include <sandbox.h>
#endif
@@ -54,6 +54,7 @@
#include "main.h"
#include "manconf.h"
#include "mansearch.h"
+#include "glob.h"
enum outmode {
OUTMODE_DEF = 0,