I'm trying to build the package ideviceinstaller-git 20120913-1 but I get the following error:
patching file src/ideviceinstaller.c
Hunk #1 FAILED at 698.
1 out of 1 hunk FAILED -- saving rejects to file src/ideviceinstaller.c.rej
==> ERROR: A failure occurred in build().
there is a similar error reported in the comments of the package in the AUR but it should be solved.
I'm using a fresh installed archlinux with all the packages up-to-date
That's the danger of using patches with vcs pkgbuilds. The code has changed so the patch is no longer valid. The maintainer will need to update the patch.