hughsie/appstream-glib — pull request #22 by ximion (2014-11-03 18:56:28+00:00)
Title: Fix FTBFS on GNU/Hurd

Currently appstream-glib FTBFS on GNU/Hurd due to usage of PATH_MAX,
which is not defined. The attached patch solves this problem by
dynamically allocating strings of required length, and free them after
usage if needed.

Many thanks to Svante Signell for the patch!

Reference: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=766333
(patch modified to apply on the current Git master)