ok, never mind, managed to patch it myself.

On 02/04/2012 10:04 AM, Yuriy Davygora wrote:
  Hello,

while emerging kde-meta:3.5 from kde-sunset, I have encountered the following problem with kde-base/kate-plugins-3.5.10:

plugin_katetabbarextension.h: In constructor 'MyPtrList::MyPtrList()':
plugin_katetabbarextension.h:56:54: error: cannot call constructor 'MyPtrList::QPtrList' directly plugin_katetabbarextension.h:56:54: error: for a function-style cast, remove the redundant '::QPtrList'
plugin_katetabbarextension.h: At global scope:
plugin_katetabbarextension.h:309:13: warning: unused parameter 'number'
plugin_katetabbarextension.h:309:13: warning: unused parameter 'size'
make[3]: *** [plugin_katetabbarextension.lo] Error 1
make[3]: Leaving directory `/var/tmp/portage/kde-base/kate-plugins-3.5.10/work/kate-plugins-3.5.10/kate/tabbarextension'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/kde-base/kate-plugins-3.5.10/work/kate-plugins-3.5.10/kate'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kde-base/kate-plugins-3.5.10/work/kate-plugins-3.5.10'
make: *** [all] Error 2
emake failed

  The complete build log is in the attachment (build.log). Output of

  emerge --info =kde-base/kate-plugins-3.5.10

  is in info.log.

  Thanks in advance for any help!

  Best regards,
  Yuriy

diff -rupN kdeaddons-3.5.10.orig//kate/tabbarextension/plugin_katetabbarextension.h kdeaddons-3.5.10//kate/tabbarextension/plugin_katetabbarextension.h
--- kdeaddons-3.5.10.orig//kate/tabbarextension/plugin_katetabbarextension.h	2012-02-20 11:06:18.017371534 +0100
+++ kdeaddons-3.5.10//kate/tabbarextension/plugin_katetabbarextension.h	2012-02-20 11:09:04.647044979 +0100
@@ -53,7 +53,7 @@ class KateTabBarButton;
 class MyPtrList : public QPtrList <KateTabBarButton>
 {
   public:
-  MyPtrList() { QPtrList<KateTabBarButton>::QPtrList(); }
+  MyPtrList() { QPtrList<KateTabBarButton>(); }
 
   virtual int compareItems ( QPtrCollection::Item item1_, QPtrCollection::Item item2_ );
 };

Reply via email to