[kde-freebsd] kdebase3 - bad patch

Michael Nottebrock lofi at freebsd.org
Fri Oct 19 19:53:22 CEST 2007


John E Hein schrieb:
> John E Hein wrote at 13:45 -0600 on Sep 28, 2007:
>  > Building kdebase3, I got this:
>  > 
>  > main.cpp: In function `int kdemain(int, char**)':
>  > main.cpp:310: error: redeclaration of `KApplication*a'
>  > main.cpp:255: error: `KApplication*a' previously declared here
>  > 
>  > This shows up if configured to not use libXcomposite.  This is not
>  > standard, so I doubt many people will run into the problem, but the
>  > following patch to the patch fixes it for both cases (with or without
>  > libXcomposite).
>  > 
>  > Index: files/patch-konsole-konsole-main.cpp
>  > ===================================================================
>  > RCS file: /base/FreeBSD-CVS/ports/x11/kdebase3/files/patch-konsole-konsole-main.cpp,v
>  > retrieving revision 1.3
>  > diff -u -p -r1.3 patch-konsole-konsole-main.cpp
>  > --- files/patch-konsole-konsole-main.cpp	11 Jul 2007 20:53:41 -0000	1.3
>  > +++ files/patch-konsole-konsole-main.cpp	28 Sep 2007 18:57:14 -0000
>  > @@ -24,8 +24,8 @@
>  >     if( qtargs->isSet("font") )
>  >         kdWarning() << "The Qt option -fn, --font has no effect." << endl;
>  >   
>  > -+  KApplication* a = NULL;
>  >   #ifdef COMPOSITE
>  > ++  KApplication* a = NULL;
>  >  -  char *display = 0;
>  >  -  if ( qtargs->isSet("display"))
>  >  -    display = qtargs->getOption( "display" ).data();
>
> Any thoughts on this?
>   
I am a little short on time for work on KDE lately (or even answer my
mail, sorry about that). I will be looking to integrate this into the
KDE 3.5.8 ports (3.5.8 was released this week).

Cheers,
-- 
   ,_,   | Michael Nottebrock               | lofi at freebsd.org
 (/^ ^\) | FreeBSD - The Power to Serve     | http://www.freebsd.org
   \u/   | K Desktop Environment on FreeBSD | http://freebsd.kde.org


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 250 bytes
Desc: OpenPGP digital signature
Url : http://mail.kde.org/pipermail/kde-freebsd/attachments/20071019/19301b31/attachment.pgp 


More information about the kde-freebsd mailing list