freebsd-ports/games/quake2lnx/files/patch-src_linux_rw__svgalib.c
Edwin Groothuis 8175bdc56a [UPDATE] games/quake2lnx: integrate with "quake2-data"
Changes:
	* Integrate with "quake2-data".
	* Add OPTIONS (21).
	* Clean-up (sort knobs alphabetically, etc.).
	* Automatically extract Rogue and Xatrix mission packs.
	* Remove ARCH from library names (gamei386.so -> game.so).
	  Also increases portability (the library name was manually
	  defined between #ifdefs checking the architecture, and a
	  #error at the end).
	* Change patch names (using "_" instead of "::"), and also some patches.

PR:		ports/87181
Submitted by:	Alejandro Pulver <alejandro@varnet.biz>
Approved by:	maintainer timeout
2005-11-17 10:51:28 +00:00

12 lines
305 B
C

--- src/linux/rw_svgalib.c.orig Thu Jun 12 18:41:01 2003
+++ src/linux/rw_svgalib.c Thu Jun 12 18:41:41 2003
@@ -36,7 +36,9 @@
#include <termios.h>
#include <sys/ioctl.h>
#include <sys/stat.h>
+#ifdef __linux__
#include <sys/vt.h>
+#endif
#include <stdarg.h>
#include <stdio.h>
#include <signal.h>