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,15 @@
Skip unused code for accessing I/O ports: clang on non-x86 does not
handle x86 inline assembly.
Index: server/drivers/port.h
--- server/drivers/port.h.orig
+++ server/drivers/port.h
@@ -333,7 +333,7 @@ static inline int port_deny_multiple (unsigned short p
return i386_set_ioperm(port, count, 0);
}
-#else
+#elif 0
/* ------------------------- Everything else ----------------------------- */
/* Last chance! Use /dev/io and i386 ASM code (BSD4.3 ?) */