tags 931695 +patch thanks Some poking around revealed that upstream fixed this by removing the last (NULL) parameter from the call. This was done in a commit titled "minor fixes". https://github.com/jacquesg/p5-Git-Raw/commit/30f7a4491ab453d28ae1fa1b393fcd023f6c344d . There was also another apparently unrelated change in the commit, which did not seem relavent to the version in Debian.
I did a test build with this change in a raspbian bullseye-staging chroot. A couple of tests failed, but that could have just been my build environment, I decided this was good enough to disable the testsuite and upload to raspbian. While working on this I ran into an issue with the clean target not cleaning up properly, so I fixed that too. A debdiff should appear soon at https://debdiffs.raspbian.org/main/libg/libgit-raw-perl No intent to NMU in debian.