Apply the patch on a current ports repository using
svn patch /path/to/patchset
in your ${PORTSDIR} (which defaults to /usr/ports) and use the port updating tool of your choice to update the KDE installation of the system being sacrificed for testing. Alternatively just install them using
make -C ${PORTSDIR}/x11/kde4 install