I'm sorry, I forgot to attatch the patch file.
Besides the attached file, you can also check it out here:
https://github.com/muphil/cruxports/blob/master/httpup/httpup.diff