I'm trying to patch mediatomb (UpnP server) with a lastfm patch, and I'm using this tutorial
Compiling the lastfm patch works fine, just when I try to patch mediatomb, I get the following errors:
Is there a common way to solve this problem or is the script faulty?
hermann@debian-server-h4:~/mediatomb-0.11.0$ patch -p0 < ../lastfmlib-0.1.3/mediatomb.patch
patching file src/config_manager.cc
Hunk #1 FAILED at 1966.
1 out of 1 hunk FAILED -- saving rejects to file src/config_manager.cc.rej
patching file src/server.cc
patching file src/lastfm.h
patching file src/common.h
Hunk #1 FAILED at 349.
1 out of 1 hunk FAILED -- saving rejects to file src/common.h.rej
patching file src/config_manager.h
Hunk #1 succeeded at 157 with fuzz 2 (offset -28 lines).
patching file src/file_request_handler.cc
Hunk #1 succeeded at 55 (offset -7 lines).
Hunk #2 succeeded at 494 (offset -131 lines).
patching file src/lastfm.cc
patching file build/libmediatomb_src
Hunk #1 succeeded at 55 (offset -8 lines).
patching file build/Makefile.am
Hunk #1 FAILED at 27.
Hunk #2 FAILED at 54.
Hunk #3 FAILED at 93.
3 out of 3 hunks FAILED -- saving rejects to file build/Makefile.am.rej
patching file configure.ac
Hunk #1 succeeded at 2498 with fuzz 1 (offset 929 lines).
Hunk #2 FAILED at 2834.
1 out of 2 hunks FAILED -- saving rejects to file configure.ac.rej
Thank you for any help!
PS: Sorry for the language; I'm from Germany, through I hope that you know what I mean :)
I'm not sure this solves your problem, but this is the only failed hunk I could turn up for you...
Originally Posted by AdmiralBeotch
Really nice picture, now I know what to do!
I had the same problem, but not anymore!
Thanks, that solved my problem too.