"How do I go about reverting specific commits in
the build files?"
Use the --reverse parameter, like this:
cat a5dfd481.diff | patch -p1 --reverse --verbose --no-backup-if-mismatch || exit 1
I do that often when troubleshooting new problems that did not exist a day or two
earlier.
Darrell