[Kde-pim] akregatorpart 4.4.9 fails to build

Erik esigra at gmail.com
Sun Jan 2 11:25:52 GMT 2011


Steps to reproduce:
1. tar jxvf kdepim-4.4.9.tar.bz2
2. cd kdepim-4.4.9
3. mkdir build
4. cd build
5. cmake -DKDE4_ENABLE_FINAL=ON ..
6. make akregatorpart

Actual results:
In file included from 
/home/work/programmering/kdepim-4.4.9/build/akregator/src/akregatorpart_final_cpp.cpp:8:
/home/work/programmering/kdepim-4.4.9/akregator/src/deletesubscriptioncommand.cpp: 
At global scope:
/home/work/programmering/kdepim-4.4.9/akregator/src/deletesubscriptioncommand.cpp:69: 
fel: referens till "Feed" är tvetydig
/usr/include/syndication/feed.h:66: fel: candidates are: class 
Syndication::Feed
/home/work/programmering/kdepim-4.4.9/akregator/src/feed.h:53: 
fel:                 class Akregator::Feed
/home/work/programmering/kdepim-4.4.9/akregator/src/deletesubscriptioncommand.cpp:69: 
fel: referens till "Feed" är tvetydig
/usr/include/syndication/feed.h:66: fel: candidates are: class 
Syndication::Feed
/home/work/programmering/kdepim-4.4.9/akregator/src/feed.h:53: 
fel:                 class Akregator::Feed
/home/work/programmering/kdepim-4.4.9/akregator/src/deletesubscriptioncommand.cpp:69: 
fel: "Feed" har inte deklarerats

The attached patch fixes this build error and other simlar so that the 
target can be built. It only fixes the parts that are needed for the 
build, although similar fixes should be made to the rest of the source 
files.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: kdepim-4.4.9-akregatorpart_namespace_fix-1.diff
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20110102/b0d297e1/attachment.ksh>
-------------- next part --------------
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/


More information about the kde-pim mailing list