Well, it seems like patch originated from upstream and I failed to attribute it correctly, here is the commit: https://github.com/erikd/libsndfile/commit/d7cc3dd0a437cfb087e09c80c0b89dfd3ec80a54

I'm going to update patch to attribute it correctly.