Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 688540 - media-gfx/ufraw-0.22-r2 #include missed in ufraw_exiv2.cc (upstream)
Summary: media-gfx/ufraw-0.22-r2 #include missed in ufraw_exiv2.cc (upstream)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Gentoo Graphics Project
URL:
Whiteboard:
Keywords:
: 691346 (view as bug list)
Depends on:
Blocks:
 
Reported: 2019-06-23 09:48 UTC by hangglider
Modified: 2019-09-15 23:47 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
add missing include (ufraw-0.22-missing_include.patch,790 bytes, patch)
2019-06-25 21:48 UTC, Petr Cerny [:hrosik]
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description hangglider 2019-06-23 09:48:31 UTC
Compiling ufraw the following error(s) occure(s):

ufraw_exiv2.cc: In function 'int ufraw_exif_read_input(ufraw_data*)':
ufraw_exiv2.cc:45:37: error: 'cerr' is not a member of 'std'                                 
     std::streambuf *savecerr = std::cerr.rdbuf();                                          
                                     ^~~~                                                   
ufraw_exiv2.cc:45:37: note: 'std::cerr' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
ufraw_exiv2.cc:21:1:                                                                        
+#include <iostream>                                                                        
                                                                                            
...

Can be solved with simply inserting that line.
Comment 1 Petr Cerny [:hrosik] 2019-06-25 21:48:24 UTC
Created attachment 580944 [details, diff]
add missing include

patch fixing build
Comment 2 Attila Tóth 2019-07-23 19:35:31 UTC
Patch works for me, thanks!
Comment 3 Andreas Sturmlechner gentoo-dev 2019-08-03 18:35:58 UTC
*** Bug 691346 has been marked as a duplicate of this bug. ***
Comment 4 Martin Dummer 2019-08-28 21:24:37 UTC
I can confirm the bug and the patch helps for me, too.

What about adding the patch to the ebuild?
Comment 5 Konstantin Münning 2019-09-01 13:18:57 UTC
Works for me, too.
Comment 6 Larry the Git Cow gentoo-dev 2019-09-15 23:47:23 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f40350f459b1d6c6e2715031cb59bf22720d3fd8

commit f40350f459b1d6c6e2715031cb59bf22720d3fd8
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2019-09-15 23:15:50 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2019-09-15 23:16:02 +0000

    media-gfx/ufraw: Fix build with >=media-libs/exiv2-0.27.1
    
    Closes: https://bugs.gentoo.org/688540
    Package-Manager: Portage-2.3.76, Repoman-2.3.17
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 media-gfx/ufraw/files/ufraw-0.22-exiv2-0.27.patch | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)