diff options
author | drochner <drochner@pkgsrc.org> | 2010-06-01 17:28:31 +0000 |
---|---|---|
committer | drochner <drochner@pkgsrc.org> | 2010-06-01 17:28:31 +0000 |
commit | 663aec16cfb848d94e15d0e9fa6b62309203b3bc (patch) | |
tree | cef4146cccdbc06893a044eb90c072bec0a119ab /devel/glib2/patches/patch-cf | |
parent | fb65d592aba6b3b8196083c8e0f980928855cf9f (diff) | |
download | pkgsrc-663aec16cfb848d94e15d0e9fa6b62309203b3bc.tar.gz |
fix 2 build errors:
-inconsistency of .hidden attributes, leading to link error on amd64,
reported by Tobias Nygren
-trick NetBSD's arpa/nameser_compat.h into using the system provided
endianess definitions -- it has its own ifdefs but misses eg. ppc,
fixes build error on macppc reported by Erik Bertelsen
Diffstat (limited to 'devel/glib2/patches/patch-cf')
-rw-r--r-- | devel/glib2/patches/patch-cf | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/devel/glib2/patches/patch-cf b/devel/glib2/patches/patch-cf new file mode 100644 index 00000000000..68368a0e6f9 --- /dev/null +++ b/devel/glib2/patches/patch-cf @@ -0,0 +1,14 @@ +$NetBSD: patch-cf,v 1.1 2010/06/01 17:28:31 drochner Exp $ + +--- 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 + |