Hi,
I'm currently getting in touch with gnupg code and found there are some old ERR
codes to be replaced. So I replaced them everywhere and at
https://github.com/mbartos89/gnupg_changes/commit/e66f91647872d18677301668767690979eacca2b
is a commit for current HEAD. It's also removing mapping of the old error codes
to the gpg-error ones.
Best regards,
Milan Bartos
P.S.: please let me know if you prefer patch files instead of git branches.