pkgsrc-Changes archive

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

Re: CVS commit: pkgsrc/devel/glib2



bertelsen.erik%gmail.com@localhost said:
> /usr/include/arpa/nameser_compat.h:89: error: expected '=', ',', ';',
> 'asm' or '__attribute__' before string constant

While I think that our arpa/nameser_compat.h needs to be fixed,
does this patch work around the problem?
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: MinDir'in Baerbel Brumme-Bothe
Geschaeftsfuehrung: Prof. Dr. Achim Bachem (Vorsitzender),
Dr. Ulrich Krafft (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt,
Prof. Dr. Sebastian M. Schmidt
------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------
$NetBSD$

--- gio/libasyncns/g-asyncns.h.orig     2010-06-01 15:28:52.000000000 +0000
+++ gio/libasyncns/g-asyncns.h
@@ -27,6 +27,9 @@
 
 /* asyncns.c removed this for #580301, but that appears to have been wrong */
 #if HAVE_ARPA_NAMESER_COMPAT_H
+#ifdef __NetBSD__
+#include <sys/param.h>
+#endif
 #include <arpa/nameser_compat.h>
 #endif
 


Home | Main Index | Thread Index | Old Index