Please disregard the patch I sent previously which was bogus. Sending a corrected patch now. If this approach is deemed acceptable, the _GNU_SOURCE option could be added to the build system instead. Best regards, João On Mon, Aug 31, 2026 at 05:43:53PM +0100, João Pedro Malhado wrote:
Dear Dillo Maintainers,
I noticed that the Dillo 3.3.0 Debian package build was failing on GNU/hurd due to the PATH_MAX macro not being defined on that platform. This is a common portability issue on the platform, and the following page indicates why the macro is not defined in GNU/hurd https://www.gnu.org/software/hurd/faq/foo_max
It was pointed out to me that commit b43ab26e81a1e399e3cb148b972a284518aa4d39 has addressed the hurd build failure already, but it does so by simply defining PATH_MAX to an arbitrary value. As per the page above, the preferred way to address the issue by allocating the size of the path dynamically. I submit the following patch to your consideration. The patch applies to version 3.3.0 of the file present in Debian, before the above mentioned commit.
Best regards, João