SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
24
net/mac-telnet/patches/patch-src_mactelnetd_c
Normal file
24
net/mac-telnet/patches/patch-src_mactelnetd_c
Normal 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>
|
Loading…
Add table
Add a link
Reference in a new issue