diff options
Diffstat (limited to 'x11-servers/XttXF86srv-common/files/patch-02')
-rw-r--r-- | x11-servers/XttXF86srv-common/files/patch-02 | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/x11-servers/XttXF86srv-common/files/patch-02 b/x11-servers/XttXF86srv-common/files/patch-02 new file mode 100644 index 000000000000..036e849db7fe --- /dev/null +++ b/x11-servers/XttXF86srv-common/files/patch-02 @@ -0,0 +1,30 @@ +diff -ur /usr/ports/x11/XFree86/work/xc/programs/Xserver/hw/xfree86/SuperProbe/AsmMacros.h programs/Xserver/hw/xfree86/SuperProbe/AsmMacros.h +--- /usr/ports/x11/XFree86/work/xc/programs/Xserver/hw/xfree86/SuperProbe/AsmMacros.h Mon Dec 23 06:31:04 1996 ++++ programs/Xserver/hw/xfree86/SuperProbe/AsmMacros.h Tue Dec 8 10:05:55 1998 +@@ -37,6 +37,18 @@ + #define outw(p,v) _outw((v),(p)) + #define outl(p,v) _outl((v),(p)) + #else ++#if defined(__FreeBSD__) && defined(__alpha__) ++ ++#include <sys/types.h> ++ ++extern void outb(u_int32_t port, u_int8_t val); ++extern void outw(u_int32_t port, u_int16_t val); ++extern void outl(u_int32_t port, u_int32_t val); ++extern u_int8_t inb(u_int32_t port); ++extern u_int16_t inw(u_int32_t port); ++extern u_int32_t inl(u_int32_t port); ++ ++#else + #ifdef GCCUSESGAS + static __inline__ void + outb(port, val) +@@ -156,6 +168,7 @@ + + #endif /* GCCUSESGAS */ + #endif /* linux && __alpha__ */ ++#endif /* __FreeBSD__ && __alpha__ */ + + #ifdef linux + |