diff options
author | Edwin Groothuis <edwin@FreeBSD.org> | 2005-11-15 20:55:29 +0000 |
---|---|---|
committer | Edwin Groothuis <edwin@FreeBSD.org> | 2005-11-15 20:55:29 +0000 |
commit | 4519a751d0dc7832c5150c37a764d825a4c7dc1e (patch) | |
tree | 8c4c2d0e1d7634005baaa25bfa8886bd6abe4d22 /games/quakeforge/files | |
parent | c102162b3ad647d08a0df0d3bb3581fe444bc071 (diff) | |
download | ports-4519a751d0dc7832c5150c37a764d825a4c7dc1e.tar.gz ports-4519a751d0dc7832c5150c37a764d825a4c7dc1e.zip |
Notes
Diffstat (limited to 'games/quakeforge/files')
-rw-r--r-- | games/quakeforge/files/patch-libs::video::targets::vid_svgalib.c | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/games/quakeforge/files/patch-libs::video::targets::vid_svgalib.c b/games/quakeforge/files/patch-libs::video::targets::vid_svgalib.c deleted file mode 100644 index f359e114d566..000000000000 --- a/games/quakeforge/files/patch-libs::video::targets::vid_svgalib.c +++ /dev/null @@ -1,39 +0,0 @@ ---- libs/video/targets/vid_svgalib.c.orig Fri Aug 20 10:51:02 2004 -+++ libs/video/targets/vid_svgalib.c Fri Aug 20 10:52:52 2004 -@@ -82,6 +82,19 @@ - byte *VGA_pagebase; - int VID_options_items = 0; - -+#if defined(i386) && defined(__GLIBC__) && (__GLIBC__ < 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ < 2)) -+void -+outb (unsigned char val, unsigned short port) -+{ -+ 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 - - void - D_BeginDirectRect (int x, int y, byte * pbitmap, int width, int height) -@@ -487,16 +500,3 @@ - return false; - } - --#if defined(i386) && defined(__GLIBC__) && (__GLIBC__ < 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ < 2)) --void --outb (unsigned char val, unsigned short port) --{ -- 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 |