i am not using trunk so i would just need to recompile the package with that command.
In that case then you could try to get away with compiling the fcl-pdf package by downloading the source-code for that package using your current compiler.
That does not have to be difficult. You should be able to do that with compiling each individual unit. As said before if other packages depends on one of the units from the fpc-pdf package then these need to be recompiled as well.
in the case that it doesn't work. How would i recompile whole fcl ?. would it be possible to just delete all compiled packages in "\fpc\units\x86_64-win64\" and then recompile them in "..\fpcsrc\packages\" using the command provided by @Khrys and move the recompiled packages back to "\fpc\units\x86_64-win64\".
I cannot comment on the command presented by Khrys simply because I've never done that myself this way. In basics you can remove the existing package(s), recompile them and replace. As also indicated you woul d then need to recompile Lazarus as well (but that is a one button action)
The newer package version added some support for the pdf units.
Yes, I understand. Do realize that it might be that the changes/fixes in trunk rely on new FPC features not present in your current installed FPC (if not mistaken then you still forgot to mention your version number of FPC which is important).
I am not behind a development machine so can't check for you right now (but can do so later today).