From c74264777fd80604e941a4a5585af6c3d47a00a2 Mon Sep 17 00:00:00 2001 From: joerg Date: Mon, 4 Nov 2013 16:41:16 +0000 Subject: Removed undocumented (and almost always unsupported) bounded attribute. --- devel/libdnsres/distinfo | 3 ++- devel/libdnsres/patches/patch-resolv.h | 14 ++++++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 devel/libdnsres/patches/patch-resolv.h (limited to 'devel') diff --git a/devel/libdnsres/distinfo b/devel/libdnsres/distinfo index 1bb22f56fa2..ab74467ec03 100644 --- a/devel/libdnsres/distinfo +++ b/devel/libdnsres/distinfo @@ -1,7 +1,8 @@ -$NetBSD: distinfo,v 1.2 2006/02/26 17:01:25 joerg Exp $ +$NetBSD: distinfo,v 1.3 2013/11/04 16:41:16 joerg Exp $ SHA1 (libdnsres-0.1a.tar.gz) = 570b5d8071dacf16ba7588d6c3fc6f4c3ed55976 RMD160 (libdnsres-0.1a.tar.gz) = 05a92882d1fc0394792e9f28be4584650b46e323 Size (libdnsres-0.1a.tar.gz) = 360583 bytes SHA1 (patch-aa) = e18e80c307c26e0d7c1626171f7c881092174b29 SHA1 (patch-ab) = 29d8a2092c444899e4fdc703b35af33efa95192b +SHA1 (patch-resolv.h) = 22b59a63b26ffcc5816809f7384c4fc9125d4cbd diff --git a/devel/libdnsres/patches/patch-resolv.h b/devel/libdnsres/patches/patch-resolv.h new file mode 100644 index 00000000000..a83a74caca4 --- /dev/null +++ b/devel/libdnsres/patches/patch-resolv.h @@ -0,0 +1,14 @@ +$NetBSD: patch-resolv.h,v 1.1 2013/11/04 16:41:16 joerg Exp $ + +--- resolv.h.orig 2013-11-04 15:25:15.000000000 +0000 ++++ resolv.h +@@ -340,8 +340,7 @@ int res_mkquery(struct dnsres *, + void res_send(struct dnsres *, + const unsigned char *, int, unsigned char *, int, + void (*)(int, struct res_search_state *), +- struct res_search_state *) +- __attribute__((__bounded__(__string__,4,5))); ++ struct res_search_state *); + int res_isourserver(struct dnsres *, + const struct sockaddr_in *); + int res_nameinquery(const char *, int, int, -- cgit v1.2.3