ports/deskutils/easystroke/files/patch-handler.cc
Tobias Kortkamp 852650af2e Unbreak build with newer libsigc++ and glibmm
- Fix lib dependencies
- Respect PREFIX, CFLAGS, CXXFLAGS, and LDFLAGS

Approved by:	lme (mentor)
Differential Revision:	https://reviews.freebsd.org/D10815
2017-05-30 18:33:57 +00:00

11 lines
367 B
C++

--- handler.cc.orig 2013-03-27 15:52:38 UTC
+++ handler.cc
@@ -533,8 +533,6 @@ class WaitForPongHandler : public Handler, protected T
virtual Grabber::State grab_mode() { return parent->grab_mode(); }
};
-static inline float abs(float x) { return x > 0 ? x : -x; }
-
class AbstractScrollHandler : public Handler {
bool have_x, have_y;
float last_x, last_y;