libgit2/libgit2 — pull request #810 by Steap (2012-07-05 23:35:13+00:00)
Title: Fix libgit2 on GNU/Hurd.

On GNU, the d_name field of the dirent structure is defined as "char d_name[1]",
so we must allocate more than sizeof(struct dirent) bytes, just like on Sun.