This patch prevents the iRony logs from being filled up with the following deprecation warning:
PHP Deprecated: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context
I didn't know this warning is fixed in newer versions of PEAR - the warning message suggested the opposite. :-)
I'm on Debian 8, which ships an older version of PEAR (see https://packages.debian.org/jessie/php-pear).
So I guess we can scratch this patch and either provide a newer version of PEAR (yay, more packages!) or patch iRony for the distros that ship PEAR < 1.10.1? If possible, I'd favour the latter because I'd like to keep the deviation from distro packages as small as possible (i.e., provide own packages only for functional reasons, not for non-functional ones).