New comment by mtboehlke on void-packages repository https://github.com/void-linux/void-packages/pull/33416#issuecomment-941436383 Comment: I worked it out myself, but worked from [this](https://github.com/php/php-src/commit/66d42e98844de694c6f77c299a3dc045ac5a3261#diff-789f6706a103e50af5fe30c9e28540c510ee79a11d408f93e5fbb6957feb5345) upstream commit which shows the deprecated functions in enchant.c, and I did double check to see that my diff worked out the same as the [patch](https://github.com/archlinux/svntogit-packages/blob/packages/php7/trunk/enchant-2.patch) Arch does.