MAPGen is a multiobjective automated patch generation and program repair toolkit built on top of GenProg.
MAPGen uses binaries from GenProg which modifies C ASTs. The source code for this is in OCAML. So, you'll definitely need to install that first. On OSX, I recommend using homebrew.
brew install opam