Thanks for the tips. I took a look at the ebuild again and the problem is setting the working directory like this:
Code: Select all
S="${WORKDIR}/SMC\ ${PV}\ Preview\ 1/src/unix"
Instead, I put the full directory names using single quotes in the src_unpack() and it's now going to the correct directory to patch. Not the most elegant way of doing it but if it works...
My patch is currently failing so I'm not getting any further and I won't have time to fiddle with it before a couple of days. However, I suspect that it will fail when it's time to build, so I'll probably rename the directory to somethiing more sane (like SMC-0.95) and make it work. Of course, I'll have to patch some other files, but...
Thanks,
L