Fails like this - the patch doesn't exist in portage... Calculating dependencies ...done! >>> emerge (1 of 2) net-im/psi-0.9-r1 to / >>> md5 src_uri ;-) psi-0.9.tar.bz2 >>> md5 src_uri ;-) qssl-2.0.tar.bz2 kde-functions kde-functions >>> Unpacking source... >>> Unpacking psi-0.9.tar.bz2 to /store/portage-tmp/portage/psi-0.9-r1/work >>> Unpacking qssl-2.0.tar.bz2 to /store/portage-tmp/portage/psi-0.9-r1/work * Applying psi_gpg_fix... [ ok ] * Cannot find $EPATCH_SOURCE! Value for $EPATCH_SOURCE is: * * /usr/portage/net-im/psi/files/gen2-branding-0.9.patch !!! ERROR: net-im/psi-0.9-r1 failed. !!! Function epatch, Line 214, Exitcode 0 !!! Cannot find $EPATCH_SOURCE!
I found the 0.8.7 patch and put it in that location, renamed to the right name and it seemed to work fine... although the patch does seem rather simple! Does getOSName not return the desired result? --- psiaccount.cpp.orig 2002-12-06 15:00:19.000000000 +0100 +++ psiaccount.cpp 2002-12-06 14:59:50.000000000 +0100 @@ -139,7 +139,7 @@ // create Jabber::Client d->client = new Client; - d->client->setOSName(getOSName()); + d->client->setOSName("Gentoo Linux"); d->client->setTimeZone(getTZString(), getTZOffset()); d->client->setClientName(PROG_NAME); d->client->setClientVersion(PROG_VERSION);
From the ChangeLog: 21 Oct 2003; Luke-Jr <luke-jr@gentoo.org> psi-0.9.ebuild, files/gen2-branding-0.9.patch: Removed useless patch; Psi already identifies Gentoo :) This suggests that perhaps psi-0.9-r1.ebuild was adapted from an old version of psi-0.9.ebuild which still referred to this patch. I suggest that this patch can probably simply be removed harmlessly from 0.9-r1 as it was from 0.9. If I knew where Psi actually uses the OS name, I'd test this... but I can't find any reference to it in the UI.
This was my fault, I accidently added a faulty psi-0.9-r1 version. Fixed.