that's what Denis Barov said:
Here is the patch. Don't forget mkdir -p  src/usr.sbin/nscd/agents before
patching  ;) 

Patchin:
#> cd /usr/src
#> mkdir -p  src/usr.sbin/nscd/agents
#> patch < /path/to/patch
then rebuild world.

and here is the link: nscd_backport (for 6.3)

few days ago I've upgraded and needed patch for 6.4 and there we go: nscd_6.4-RELEASE-p4