You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
14bff23293
Rather than trying to figure out `distfiles` using a different port name, make local copies of `18` and `vproc_priv.h`.
37 lines
574 B
Diff
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;
|