Bug 223146 - kdelibs build fails with libpng 1.4.0
Summary: kdelibs build fails with libpng 1.4.0
Status: RESOLVED FIXED
Alias: None
Product: konqueror
Classification: Applications
Component: khtml image part (show other bugs)
Version: unspecified
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-17 15:46 UTC by Andrea Scarpino
Modified: 2010-01-19 02:03 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
libpng 1.4 patch (480 bytes, patch)
2010-01-17 20:46 UTC, Andrea Scarpino
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrea Scarpino 2010-01-17 15:46:01 UTC
Version:           4.3.4 (using KDE 4.3.4)
Compiler:          gcc 4.4.2 -DCMAKE_{SHARED,MODULE,EXE}_LINKER_FLAGS='-Wl,--no-undefined -Wl,--as-needed'
OS:                Linux
Installed from:    Archlinux Packages

[ 70%] Building CXX object khtml/CMakeFiles/khtml.dir/imload/decoders/jpegloader.o                                                                               
/build/src/kdelibs-4.3.4/khtml/imload/decoders/jpegloader.cpp: In member function 'int khtmlImLoad::JPEGLoader::Private::processData(uchar*, int)':              
/build/src/kdelibs-4.3.4/khtml/imload/decoders/jpegloader.cpp:416: warning: unused variable 'oldoutput_scanline'                                                 
[ 70%] Building CXX object khtml/CMakeFiles/khtml.dir/imload/decoders/pngloader.o                                                                                
/build/src/kdelibs-4.3.4/khtml/imload/decoders/pngloader.cpp: In member function 'void khtmlImLoad::PNGLoader::haveInfo()':                                      
/build/src/kdelibs-4.3.4/khtml/imload/decoders/pngloader.cpp:96: error: 'png_set_gray_1_2_4_to_8' was not declared in this scope                                 
make[2]: *** [khtml/CMakeFiles/khtml.dir/imload/decoders/pngloader.o] Error 1                                                                                    
make[1]: *** [khtml/CMakeFiles/khtml.dir/all] Error 2                                                                                                            
make: *** [all] Error 2
Comment 1 Andrea Scarpino 2010-01-17 20:46:11 UTC
Created attachment 39987 [details]
libpng 1.4 patch

thanks to Pierre Schmitz
Comment 2 Patrick Spendrin 2010-01-19 02:03:32 UTC
SVN commit 1076881 by sengels:

fix bug on behalf of SadEagle
BUG:223146


 M  +4 -0      pngloader.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1076881