I understand that this patch is pretty old.
But, we having issues because of it.

According to the description it is intended to fix some problems for RPM systems.
We are using DEB packages and this patch is preventing to update rc.d scripts if new version of the package has updates in it.
Particularly, the new script is intended to be run with a different boot priority: 'start' directive to update-rc.d.

The problem is that during upgrade an old symlinks to rc* directories are not removed because of this condition added by wrap_uninstall().
And as a result update-rc.d is failing to update init scripts in rc* folders. Because old are existing.