Bug 117533 - Compile error for dev-util/kdesvn-0.7.1 when compiling with GCC 4.1.0-beta20051230
Bug#: 117533 Product:  Gentoo Linux Version: 2005.1 Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: ka0ttic@gentoo.org Reported By: steeeeeveee@gmx.net
Component: GCC Porting
URL: 
Summary: Compile error for dev-util/kdesvn-0.7.1 when compiling with GCC 4.1.0-beta20051230
Keywords:  
Status Whiteboard: 
Opened: 2006-01-02 20:08 0000
Description:   Opened: 2006-01-02 20:08 0000
Compiling kdesvn-0.7.1 with GCC 4.1.0-beta20051230 does not work.

The bug is already reported upstream
(http://www.alwins-world.de/programs/mantis/bug_view_page.php?bug_id=45) and
the solution is to patch kdesvn-0.7.1/src/svncpp/targets.hpp with the following
patch:

--- kdesvn-0.7.1/src/svncpp/targets.hpp.orig    2005-12-14 16:09:29.000000000
-0700
+++ kdesvn-0.7.1/src/svncpp/targets.hpp 2005-12-14 16:13:21.000000000 -0700
@@ -78,7 +78,7 @@
      * Constructor. Convert stringlist into target list.
      * @param targets
      */
-    Targets::Targets(const QStringList&targets);
+    Targets (const QStringList & targets);

     /**
      * Copy Constructor


cheers

SteveB

------- Comment #1 From Mark Loeser 2006-01-02 20:21:52 0000 -------
Looks good to me

------- Comment #2 From Mark Loeser 2006-01-13 22:09:05 0000 -------
Fixed, thanks.