[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#750497: mate-menus: FTBFS on hurd-i386

Source: mate-menus
Version: 1.8.0-2
Severity: important
Tags: patch
User: debian-hurd@lists.debian.org
Usertags: hurd


Currently mate-menus fails to build from source due to usage of
MAXSYMLINKS, which is not defined on GNU/Hurd. The attached patch
solves this problem by using the runtime function sysconf with argument
_SC_SYMLOOP_MAX to resolve that number.


--- a/libmenu/canonicalize.c	2014-03-01 11:37:52.000000000 +0100
+++ b/libmenu/canonicalize.c	2014-06-03 23:14:43.000000000 +0200
@@ -44,6 +44,10 @@
    that cannot be resolved.  If the path can be resolved, RESOLVED
    holds the same value as the value returned.  */
 static char* menu_realpath(const char* name, char* resolved)
 	char* rpath = NULL;

Reply to: