SecBSD's official ports repository

This commit is contained in:
purplerain 2023-08-16 22:26:55 +00:00
commit 2c0afcbbf3
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
64331 changed files with 5339189 additions and 0 deletions

View file

@ -0,0 +1,24 @@
Harder to port than the others, and doesn't seem really desirable
for OpenBSD anyway, so mactelnetd is in the too-hard basket for now.
Index: src/mactelnetd.c
--- src/mactelnetd.c.orig
+++ src/mactelnetd.c
@@ -37,7 +37,7 @@
#else
#include <endian.h>
#endif
-#if defined(__FreeBSD__) || defined(__APPLE__)
+#if defined(__FreeBSD__) || defined(__APPLE__) || defined(__OpenBSD__)
#include <paths.h>
#endif
#include <time.h>
@@ -64,7 +64,7 @@
#include <sys/sysinfo.h>
#endif
#include <pwd.h>
-#if defined(__FreeBSD__) || defined(__APPLE__)
+#if defined(__FreeBSD__) || defined(__APPLE__) || defined(__OpenBSD__)
#include <sys/time.h>
/* This is the really Posix interface the Linux code should have used !!*/
#include <utmpx.h>