diff options
author | jperkin <jperkin@pkgsrc.org> | 2014-09-24 16:28:40 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2014-09-24 16:28:40 +0000 |
commit | c05f0ef275565b92535b6a835fe6b0a58de87b04 (patch) | |
tree | 57e83bfc50c87b11e5993f12081998e8a0d345e5 /chat/kmess | |
parent | 19dbbcf2b36a14553fb511bc5d3e126c552e381d (diff) | |
download | pkgsrc-c05f0ef275565b92535b6a835fe6b0a58de87b04.tar.gz |
Avoid "error: call of overloaded <func> is ambiguous".
Diffstat (limited to 'chat/kmess')
-rw-r--r-- | chat/kmess/distinfo | 3 | ||||
-rw-r--r-- | chat/kmess/patches/patch-kmess_xautolock.cpp | 15 |
2 files changed, 17 insertions, 1 deletions
diff --git a/chat/kmess/distinfo b/chat/kmess/distinfo index a860441137e..c3d4f55b5aa 100644 --- a/chat/kmess/distinfo +++ b/chat/kmess/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.11 2012/02/16 15:07:48 hans Exp $ +$NetBSD: distinfo,v 1.12 2014/09/24 16:28:40 jperkin Exp $ SHA1 (kmess-1.4.3.tar.gz) = 1613c65c7b9ffaa6a1f55396297d25ab7ee3103d RMD160 (kmess-1.4.3.tar.gz) = 280bab4275903389d2f7d5b3884df937a83addf7 @@ -8,3 +8,4 @@ SHA1 (patch-ab) = 90a3f7af4e2ded731b233b87e075e1df10709828 SHA1 (patch-af) = 1fb15e95b763089386adcdd500636f3e2fc16e09 SHA1 (patch-config.h.in) = 333f6c3213afd544e0f4606d5710dd8866f56c21 SHA1 (patch-kmess_prefix.cpp) = a0a1bba175df79f5d370d9ddc7c6b5fe0a7c4a47 +SHA1 (patch-kmess_xautolock.cpp) = fcd4dc42dba040cf522da2ab1c99cfb9089beb8b diff --git a/chat/kmess/patches/patch-kmess_xautolock.cpp b/chat/kmess/patches/patch-kmess_xautolock.cpp new file mode 100644 index 00000000000..707c4c4125a --- /dev/null +++ b/chat/kmess/patches/patch-kmess_xautolock.cpp @@ -0,0 +1,15 @@ +$NetBSD: patch-kmess_xautolock.cpp,v 1.1 2014/09/24 16:28:40 jperkin Exp $ + +Avoid "error: call of overloaded <func> is ambiguous". + +--- kmess/xautolock.cpp.orig 2005-07-13 14:47:59.000000000 +0000 ++++ kmess/xautolock.cpp +@@ -78,7 +78,7 @@ void XAutoLock::checkIdle() + + now = time( 0 ); + +- if ( abs( lastCheck_ - now ) > 120 ) ++ if ( abs( (int)lastCheck_ - (int)now ) > 120 ) + { + /* + Whoah, two minutes since we were last called? Something strange is happenning... |