This is the updated patch for xmrig, but I still have to figure out how to package some of p2pool's c++ dependencies. Cheers.