Bug 101384 - gcc4 fix for kghostview-3.4.2
Bug#: 101384 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: kde@gentoo.org Reported By: wuno@lsvw.de
Component: GCC Porting
URL: 
Summary: gcc4 fix for kghostview-3.4.2
Keywords:  
Status Whiteboard: 
Opened: 2005-08-04 13:53 0000
Description:   Opened: 2005-08-04 13:53 0000
I emerged kde-meta-3.4.2 and kdesdk-meta-3.4.2 from scratch on x86 using
gcc-4.0.1, binutils-2.16.1 and glibc-2.3.5-20050722. The only ebuild refusing to
compile was kghostview contained in kdegraphics-(meta)-3.4.2 see attachment. I
found an upstream patch on
http://websvn.kde.org/trunk/KDE/kdegraphics/kghostview/displayoptions.h?rev=423531&r1=409203&r2=423531
It is not the latest revision (that would probably lead to problems as kde4 is
in sight) and helped me also to compile the 3.4.1 ebuild. Unfortunately, this
patch was only applied to the trunk and not to the 3.4 branch and obviously
therefore not included in the tarball. Probably the patch is also needed for the
kdegraphics-3.4.2 monolithic ebuild to compile properly with gcc4.

------- Comment #1 From Walter Meinl 2005-08-04 13:54:41 0000 -------
Created an attachment (id=65096) [details]
the error message

------- Comment #2 From Walter Meinl 2005-08-04 13:55:35 0000 -------
Created an attachment (id=65097) [details]
the gcc4 patch

------- Comment #3 From Walter Meinl 2005-08-04 13:57:34 0000 -------
Created an attachment (id=65098) [details]
patch for the kghostview-3.4.2.ebuild

------- Comment #4 From Gregorio Guidi (RETIRED) 2005-08-05 03:59:50 0000 -------
In portage. 
 
Please ask to backport the fix to the 3.4 branch, as many other fixes for gcc4 
were already committed there, e.g. 
http://websvn.kde.org/branches/KDE/3.4/kdegraphics/kiconedit/kiconconfig.h?rev=430165&r1=409205&r2=430165 
 

------- Comment #5 From Walter Meinl 2005-08-07 12:05:08 0000 -------
(In reply to comment #4)
> In portage. 
>  
> Please ask to backport the fix to the 3.4 branch, as many other fixes for gcc4 

done, it is backported see http://bugs.kde.org/show_bug.cgi?id=110249
thanks