gives errors with libc++ 3.8.0:
handler.cc:536:21: error: static declaration of 'abs' follows non-static declaration
static inline float abs(float x) { return x > 0 ? x : -x; }
^
/usr/include/c++/v1/math.h:646:1: note: previous definition is here
abs(float __lcpp_x) _NOEXCEPT {return fabsf(__lcpp_x);}
^
This is because easystroke tries to roll its own version of abs(), which
is already defined in math.h. Fix this by removing the custom abs().
Approved by: t@tobik.me (maintainer)
PR: 209372
MFH: 2016Q2
strokes are movements that you make with your mouse (or your pen,
finger etc.) while holding down a specific mouse button. Easystroke
will execute certain actions if it recognizes the stroke; currently
easystroke can emulate key presses, execute shell commands, hold down
modifiers and emulate a scroll wheel. The program was designed with
Tablet PCs in mind and can be used effectively even without access to
a keyboard.
WWW: http://easystroke.sourceforge.net/
PR: ports/176083
Submitted by: Tobias Kortkamp <tobias.kortkamp@gmail.com>