summaryrefslogtreecommitdiff
path: root/audio/terminatorx/files/patch-src_tX_mouse.cc
diff options
context:
space:
mode:
authorPietro Cerutti <gahr@FreeBSD.org>2013-03-20 08:56:07 +0000
committerPietro Cerutti <gahr@FreeBSD.org>2013-03-20 08:56:07 +0000
commit5d571f26be1f6c7e87e0a6dd199046efcfe3e557 (patch)
treec10889b1c35c151631906ed1a724b2b97979fef4 /audio/terminatorx/files/patch-src_tX_mouse.cc
parent- Update to 0.29 (diff)
- Fix build with clang
- Get rid of PTHREAD_CFLAGS and PTHREAD_LIBS - Get rid of shlib versions in LIB_DEPENDS - Trim Makefile headers - Pet portlint by renaming patch files
Diffstat (limited to 'audio/terminatorx/files/patch-src_tX_mouse.cc')
-rw-r--r--audio/terminatorx/files/patch-src_tX_mouse.cc12
1 files changed, 12 insertions, 0 deletions
diff --git a/audio/terminatorx/files/patch-src_tX_mouse.cc b/audio/terminatorx/files/patch-src_tX_mouse.cc
new file mode 100644
index 000000000000..a2fec9e93450
--- /dev/null
+++ b/audio/terminatorx/files/patch-src_tX_mouse.cc
@@ -0,0 +1,12 @@
+--- src/tX_mouse.cc.orig 2011-01-31 06:01:32.000000000 +0900
++++ src/tX_mouse.cc 2011-04-02 11:56:20.000000000 +0900
+@@ -47,7 +47,8 @@
+ #include "tX_global.h"
+ #include "tX_engine.h"
+ #include "tX_vtt.h"
+-#include <stdlib.h>
++#include <cstdlib>
++#include <cmath>
+
+ #define TX_MOUSE_SPEED_NORMAL 0.05
+ #define TX_MOUSE_SPEED_WARP 250000