maekke      14/06/15 10:16:58

  Added:                ufraw-0.19.2-clang.patch
  Log:
  fix building with clang by Priit Laes in bug #513054
  
  (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 
072AD062)

Revision  Changes    Path
1.1                  media-gfx/ufraw/files/ufraw-0.19.2-clang.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/ufraw/files/ufraw-0.19.2-clang.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/ufraw/files/ufraw-0.19.2-clang.patch?rev=1.1&content-type=text/plain

Index: ufraw-0.19.2-clang.patch
===================================================================
https://bugs.gentoo.org/show_bug.cgi?id=513054
http://sourceforge.net/p/ufraw/bugs/365/

--- ufraw.h.orig        2014-01-11 11:04:08.000000000 -0800
+++ ufraw.h     2014-01-11 11:04:54.000000000 -0800
@@ -41,6 +41,10 @@
 /* An impossible value for conf float values */
 #define NULLF -10000.0
 
+#ifdef __cplusplus
+extern "C" {
+#endif // __cplusplus
+
 /* Options, like auto-adjust buttons can be in 3 states. Enabled and disabled
  * are obvious. Apply means that the option was selected and some function
  * has to act accourdingly, before changing to one of the first two states */
@@ -78,10 +82,6 @@ extern UFName ufRawImage;
 extern UFName ufRawResources;
 extern UFName ufCommandLine;
 
-#ifdef __cplusplus
-extern "C" {
-#endif // __cplusplus
-
     UFObject *ufraw_image_new();
 #ifdef HAVE_LENSFUN
     UFObject *ufraw_lensfun_new();




Reply via email to