SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
15
comms/lcdproc/patches/patch-server_drivers_port_h
Normal file
15
comms/lcdproc/patches/patch-server_drivers_port_h
Normal 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 ?) */
|
Loading…
Add table
Add a link
Reference in a new issue