I knew you're the man, AS.
I've already applied the patch of your fix and IT BUILD
Also, since you already build the SRPM, you can send it to Texstar instead. There's just one minor thing you need to do.
AS, we don't change the source code. We apply a patch. To do this, (one of two ways that I know)
Copy and paste libretroshare.pro ... cd SOURCE ... cp 0.5..2/libretroshare/src/libreretroshare.pro 0.5..2/libretroshare/src/libreretroshare.pro~
On the copy, edit line 209 and add the 64 after the correct lib. <-- such a small thing made a big difference!
Save and note that you are on the parent of 0.5.2 (at SOURCE/) ... the command is
diff -uNr 0.5.2/libretroshare/src/libretroshare.pro 0.5.2/libretroshare/src/libretroshare.pro~ > libretroshare.pro.patch
Next the specfile. Add Patch0: libretroshare.pro.patch after the SOURCE line and %patch0 -p1 after the %setup -q line and save.
Build from the specfile using the original source code ... the tar.xz that I sent to you ... and voila!
Don't forget to test it extensively before sending the SRPM.
And, VERY GOOD JOB! I have no doubt you're the one to find the file.
Yeap, the other files were irrelevant ... so tell me how you manage to single out that file? You must teach me this technique.