pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/chat/kmess Avoid "error: call of overloaded <func> is ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8b3fed0e7745
branches:  trunk
changeset: 639755:8b3fed0e7745
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Wed Sep 24 16:28:40 2014 +0000

description:
Avoid "error: call of overloaded <func> is ambiguous".

diffstat:

 chat/kmess/distinfo                          |   3 ++-
 chat/kmess/patches/patch-kmess_xautolock.cpp |  15 +++++++++++++++
 2 files changed, 17 insertions(+), 1 deletions(-)

diffs (33 lines):

diff -r ded0398d0aba -r 8b3fed0e7745 chat/kmess/distinfo
--- a/chat/kmess/distinfo       Wed Sep 24 16:20:38 2014 +0000
+++ b/chat/kmess/distinfo       Wed Sep 24 16:28:40 2014 +0000
@@ -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-af) = 1fb15e95b763089386adcdd500636f3e2fc16e09
 SHA1 (patch-config.h.in) = 333f6c3213afd544e0f4606d5710dd8866f56c21
 SHA1 (patch-kmess_prefix.cpp) = a0a1bba175df79f5d370d9ddc7c6b5fe0a7c4a47
+SHA1 (patch-kmess_xautolock.cpp) = fcd4dc42dba040cf522da2ab1c99cfb9089beb8b
diff -r ded0398d0aba -r 8b3fed0e7745 chat/kmess/patches/patch-kmess_xautolock.cpp
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/chat/kmess/patches/patch-kmess_xautolock.cpp      Wed Sep 24 16:28:40 2014 +0000
@@ -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...



Home | Main Index | Thread Index | Old Index