The applied patch should fix the build failure of gcab by giving NULL as the second argument to realpath and thus avoiding the need to initialize a buffer of length PATH_MAX. Could you please take a look at it?
The package compiles with the patch on both Linux and Hurd. Thanks, Paul Sonnenschein
Index: gcab-1.2/tests/gcab-self-test.c =================================================================== --- gcab-1.2.orig/tests/gcab-self-test.c +++ gcab-1.2/tests/gcab-self-test.c @@ -30,13 +30,10 @@ static gchar * gcab_test_get_filename (const gchar *filename) { gchar *tmp; - char full_tmp[PATH_MAX]; g_autofree gchar *path = NULL; path = g_build_filename (TESTDATADIR, filename, NULL); - tmp = realpath (path, full_tmp); - if (tmp != NULL) - return g_strdup (full_tmp); - return NULL; + tmp = realpath (path, NULL); + return tmp; } static void
signature.asc
Description: This is a digitally signed message part