Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 513054

Summary: media-gfx/ufraw-0.19.2 with CC=clang - ufraw_settings.cc:54:12: error: declaration of 'ufRawImage' with C language linkage conflicts with declaration in global scope
Product: Gentoo Linux Reporter: Priit Laes (IRC: plaes) <plaes>
Component: Current packagesAssignee: Gentoo Graphics Project <graphics+disabled>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://sourceforge.net/p/ufraw/bugs/365/
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 408963    

Description Priit Laes (IRC: plaes) 2014-06-12 15:56:53 UTC
[snip]
ufraw_settings.cc:54:12: error: declaration of 'ufRawImage' with C language linkage conflicts with declaration in global scope
    UFName ufRawImage = "Image";
           ^
./ufraw.h:77:15: note: declared in global scope here
extern UFName ufRawImage;
              ^
[/snip]
Comment 1 Priit Laes (IRC: plaes) 2014-06-12 15:57:21 UTC
This seems to be fixed upstream: http://sourceforge.net/p/ufraw/bugs/365/
Comment 2 Markus Meier gentoo-dev 2014-06-15 10:19:27 UTC
fixed in cvs, thanks for the report!

+  15 Jun 2014; Markus Meier <maekke@gentoo.org> ufraw-0.19.2.ebuild,
+  +files/ufraw-0.19.2-clang.patch:
+  fix building with clang by Priit Laes in bug #513054
+