By default OpenWRT's /var is a symlink to /tmp.
This is unusual under GNU/Linux but justified by the unusual
circumstances of limited flash space and lifetime. But there is
no reason for OpenWRT packages to presume that /tmp and /var
are always interchangeable.
The patch below fixes the cups package so that it behaves better
when used on a system with a proper /var area.