summaryrefslogtreecommitdiff
path: root/misc/kdeutils3
diff options
context:
space:
mode:
authorjperkin <jperkin>2014-07-14 09:57:54 +0000
committerjperkin <jperkin>2014-07-14 09:57:54 +0000
commit22cabbd5776300290ef62f4a463946d69e679745 (patch)
treee6ecc576cb7f4b6f664f21586508ad1840c973d5 /misc/kdeutils3
parentafc77d515fb980c5a6f3535c4d6542cda837a452 (diff)
downloadpkgsrc-22cabbd5776300290ef62f4a463946d69e679745.tar.gz
Avoid "error: call of overloaded <func> is ambiguous" failure.
Diffstat (limited to 'misc/kdeutils3')
-rw-r--r--misc/kdeutils3/distinfo3
-rw-r--r--misc/kdeutils3/patches/patch-khexedit_lib_kbigbuffer.cpp15
2 files changed, 17 insertions, 1 deletions
diff --git a/misc/kdeutils3/distinfo b/misc/kdeutils3/distinfo
index 8b93b1104f3..70b11b61a52 100644
--- a/misc/kdeutils3/distinfo
+++ b/misc/kdeutils3/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.53 2013/03/26 23:30:46 joerg Exp $
+$NetBSD: distinfo,v 1.54 2014/07/14 09:57:54 jperkin Exp $
SHA1 (kdeutils-3.5.10.tar.bz2) = dfa440253fd9802d1a9665d339c20d903ea676af
RMD160 (kdeutils-3.5.10.tar.bz2) = 98edf87a92c6baf2a3dcd119659cead1110d5789
@@ -9,5 +9,6 @@ SHA1 (patch-ai) = 6a4b3d3d77ba2756a7ee71d923d8bfe78c735bce
SHA1 (patch-an) = be425dd332ec5293fe472bba48496c10ec84c7ad
SHA1 (patch-ao) = ef89fd10177e3164a1b3c0dcaccd104f1079ec6a
SHA1 (patch-aq) = a76ff5042c3dec821026f512f6e83f5a3eaa3d91
+SHA1 (patch-khexedit_lib_kbigbuffer.cpp) = 7573d356c918e2e861c8e127370add8c23fde53c
SHA1 (patch-superkaramba_src_imagelabel.h) = 4184b621772a27ec3e0eaa4cf77e951062db2692
SHA1 (patch-superkaramba_src_memsensor.cpp) = 148c897bcd37e0962a5b476d95f2ad6dee5a44fe
diff --git a/misc/kdeutils3/patches/patch-khexedit_lib_kbigbuffer.cpp b/misc/kdeutils3/patches/patch-khexedit_lib_kbigbuffer.cpp
new file mode 100644
index 00000000000..a502b947862
--- /dev/null
+++ b/misc/kdeutils3/patches/patch-khexedit_lib_kbigbuffer.cpp
@@ -0,0 +1,15 @@
+$NetBSD: patch-khexedit_lib_kbigbuffer.cpp,v 1.1 2014/07/14 09:57:54 jperkin Exp $
+
+Avoid "error: call of overloaded <func> is ambiguous"
+
+--- khexedit/lib/kbigbuffer.cpp.orig 2005-09-10 08:21:32.000000000 +0000
++++ khexedit/lib/kbigbuffer.cpp
+@@ -170,7 +170,7 @@ bool KBigBuffer::ensurePageLoaded( unsig
+ if( NoOfFreePages < 1 )
+ {
+ // free the page which is the furthest away from the page we are loading
+- if( abs(FirstPage-PageIndex) > abs(LastPage-PageIndex) )
++ if( abs((int)FirstPage-(int)PageIndex) > abs((int)LastPage-(int)PageIndex) )
+ while( !freePage(FirstPage++) );
+ else
+ while( !freePage(LastPage--) );