Subject: Re: pkg/37292: Nautilus 2.20.0 fails to build
To: None <Gilles@Gravier.org>
From: Matthias Drochner <M.Drochner@fz-juelich.de>
List: pkgsrc-bugs
Date: 11/07/2007 12:08:32
This is a multipart MIME message.

--==_Exmh_1911370504400
Content-Type: text/plain; charset=us-ascii


> 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)
-----------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------

--==_Exmh_1911370504400
Content-Type: text/plain ; name="patch-ak"; charset=us-ascii
Content-Description: patch-ak
Content-Disposition: attachment; filename="patch-ak"

$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

--==_Exmh_1911370504400--