Holly leaves or other sharp thorny plants are a good deterrent, but obviously only work in areas where you are happy for such plants to exist!