Bug 229480 - changes to extragear libbtcore break compilation of kget
Summary: changes to extragear libbtcore break compilation of kget
Status: RESOLVED DUPLICATE of bug 229425
Alias: None
Product: kget
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: KGet authors
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-05 02:39 UTC by Robert Marmorstein
Modified: 2010-03-05 12:56 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
Uses the new function names (1.15 KB, patch)
2010-03-05 02:40 UTC, Robert Marmorstein
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Marmorstein 2010-03-05 02:39:19 UTC
Version:            (using Devel)
Compiler:          gcc-4.4.3 
OS:                Linux
Installed from:    Compiled sources

The bittorrent plugin for kget depends on a library from extragear called libbtcore which had an API change in the last few weeks.  They introduced UTP support and renamed a bunch of the external functions.  They also removed the "isOk" function from the server class (instead the init function returns a bool).

This broke compilation of kget which is still using the old function names and isOK.
Comment 1 Robert Marmorstein 2010-03-05 02:40:59 UTC
Created attachment 41340 [details]
Uses the new function names

This patch fixes the problem for me.  I've tested it and kget (all of kdenetwork in fact) compiles. I've also run kget and used it to torrent an Archlinux boot image, so it seems to be working fine.  Should I commit to svn?
Comment 2 Lukas Appelhans 2010-03-05 12:56:19 UTC

*** This bug has been marked as a duplicate of bug 229425 ***