diff options
-rw-r--r-- | deskutils/easystroke/Makefile | 2 | ||||
-rw-r--r-- | deskutils/easystroke/files/patch-handler.cc | 11 |
2 files changed, 12 insertions, 1 deletions
diff --git a/deskutils/easystroke/Makefile b/deskutils/easystroke/Makefile index 2fc5db73d07b..8ccb8e9f595f 100644 --- a/deskutils/easystroke/Makefile +++ b/deskutils/easystroke/Makefile @@ -3,7 +3,7 @@ PORTNAME= easystroke PORTVERSION= 0.6.0 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= deskutils MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION} diff --git a/deskutils/easystroke/files/patch-handler.cc b/deskutils/easystroke/files/patch-handler.cc new file mode 100644 index 000000000000..d717f6d80b9b --- /dev/null +++ b/deskutils/easystroke/files/patch-handler.cc @@ -0,0 +1,11 @@ +--- handler.cc.orig 2013-03-27 15:52:38 UTC ++++ handler.cc +@@ -533,8 +533,6 @@ public: + 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; |