pkgsrc-Bugs archive

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

Re: pkg/37292: Nautilus 2.20.0 fails to build



> In file included from /usr/include/sys/mount.h:43,
>                  from fm-properties-window.c:95:
> /usr/include/sys/ucred.h:49: error: `NGROUPS' undeclared

The check for <sys/param.h> got lost in the "configure"
script, so this header is not included.
NetBSD-3 needs it included before mount.h (which is generally
OK and documented).
Rather than a fix to configure which is hard to maintain
in pkgsrc I'd prefer a workaround -- can you try the
appended patch?
I'll report the issue upstream, hopefully it gets fixed
in future releases.

best regards
Matthias





-----------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------
Forschungszentrum Juelich GmbH
52425 Juelich

Sitz der Gesellschaft: Juelich
Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498
Vorsitzende des Aufsichtsrats: MinDirig'in Baerbel Brumme-Bothe
Geschaeftsfuehrung: Prof. Dr. Achim Bachem (Vorsitzender), Dr. Ulrich Krafft 
(stellv. 
Vorsitzender)
-----------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------
$NetBSD$

--- config.h.in.orig    2007-11-07 11:56:38.000000000 +0100
+++ config.h.in
@@ -176,3 +176,8 @@
 
 /* Define to empty if `const' does not conform to ANSI C. */
 #undef const
+
+/* XXX work around missing check in configure */
+#if defined(__NetBSD__)
+#define HAVE_SYS_PARAM_H
+#endif


Home | Main Index | Thread Index | Old Index