Files
macports-ports/sysutils/screen4/files/patch-xcode-12-implicit-function-fixes.diff
Blair Zajac 14bff23293 screen4: new port copied from screen@4.9.1_0
Rather than trying to figure out `distfiles` using a different port
name, make local copies of `18` and `vproc_priv.h`.
2025-09-25 18:29:32 -07:00

37 lines
574 B
Diff

--- pty.c.orig
+++ pty.c
@@ -30,6 +30,9 @@
#include <sys/stat.h>
#include <fcntl.h>
#include <signal.h>
+#ifdef __APPLE__
+#include <util.h>
+#endif
#include "config.h"
#include "screen.h"
--- screen.c.orig
+++ screen.c
@@ -47,6 +47,9 @@
#include <string.h>
#include <unistd.h>
#include <fcntl.h>
+#ifdef __APPLE__
+#include <err.h>
+#endif
#if defined(__sun)
# include <limits.h>
--- socket.c.orig
+++ socket.c
@@ -1419,7 +1419,9 @@
char *p;
int pid;
int noshowwin;
+#ifdef UTMPOK
struct win *wi;
+#endif
ASSERT(display);
pid = D_userpid;