freebsd-ports/games/tenebrae/files/patch-gl_vidlinuxglx.c
Alejandro Pulver dc044fd8e7 - Fix mouse problems.
- Fix sound problems.
- Fix building on !i386.
- Fix writting personal configuration, and do it in ~/.tenebrae, to avoid
  conflicts with other engines since they usually have different variables.
- Use USE_DOS2UNIX.
- Remove unneeded information from pkg-message (it depends on quake-data so it
  will be installed automatically, also quake-data installs the demo so
  tenebrae is playable after installation).
- Use release target instead of the debug one.
- Clean-up.

PR:		ports/98783
Approved by:	maintainer (timeout)
2006-06-17 21:32:32 +00:00

19 lines
492 B
C

--- ./gl_vidlinuxglx.c.orig Sat Jun 10 12:08:13 2006
+++ ./gl_vidlinuxglx.c Sat Jun 10 12:08:13 2006
@@ -20,7 +20,6 @@
#include <termios.h>
#include <sys/ioctl.h>
#include <sys/stat.h>
-#include <sys/vt.h>
#include <stdarg.h>
#include <stdio.h>
#include <signal.h>
@@ -339,8 +338,6 @@
{
mx += ((int)event.xmotion.x - mwx) * 2;
my += ((int)event.xmotion.y - mwy) * 2;
- mwx = event.xmotion.x;
- mwy = event.xmotion.y;
if (mx || my)
dowarp = true;