1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-01 01:17:02 +00:00
freebsd-ports/graphics/svgalib/files/patch-al
Maxim Sobolev c01aa3135c Add svgalib - a *native* port of well-knows Linux console graphics library.
Please note, that it's a work in progress, so some features doesn't work (for
example mouse support). However, the functionality already present is
sufficient to run some of the popular apps (quakeforge for example).

I tested it on ATI Mach64 and C&T55554 adapters.
2000-08-25 09:08:01 +00:00

12 lines
351 B
Plaintext

diff -druN svgalib-1.4.2.orig/src/nv3.c src/nv3.c
--- svgalib-1.4.2.orig/src/nv3.c Fri Aug 25 04:39:39 2000
+++ src/nv3.c Fri Aug 25 04:39:57 2000
@@ -17,6 +17,7 @@
#include <stdlib.h>
#include <stdio.h> /* for printf */
#include <string.h> /* for memset */
+#include <sys/types.h>
#include <sys/mman.h>
#include <fcntl.h>
#include <math.h>