diff options
Diffstat (limited to 'games/quakeforge/files/patch-ae')
-rw-r--r-- | games/quakeforge/files/patch-ae | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/games/quakeforge/files/patch-ae b/games/quakeforge/files/patch-ae new file mode 100644 index 000000000000..3ebeacd18bb0 --- /dev/null +++ b/games/quakeforge/files/patch-ae @@ -0,0 +1,13 @@ +--- libs/video/targets/vid_svgalib.c.orig Mon Jan 13 20:14:39 2003 ++++ libs/video/targets/vid_svgalib.c Mon Jan 13 20:24:38 2003 +@@ -641,4 +641,10 @@ + { + asm ("outb %b0, %w1" : :"a"(val), "d"(port)); + } ++#elif defined(__FreeBSD__) ++static inline void ++outb (unsigned char value, unsigned short port) ++{ ++ __asm__ __volatile__ ("outb %b0,%w1"::"a" (value), "d" (port)); ++} + #endif |