pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/pkgtools/posix_headers Add missing resolver prototypes.
details: https://anonhg.NetBSD.org/pkgsrc/rev/fe8579fd6cbf
branches: trunk
changeset: 528278:fe8579fd6cbf
user: tnn <tnn%pkgsrc.org@localhost>
date: Fri Apr 27 13:54:24 2007 +0000
description:
Add missing resolver prototypes.
diffstat:
pkgtools/posix_headers/Makefile | 8 ++++----
pkgtools/posix_headers/buildlink3.mk | 4 ++--
pkgtools/posix_headers/files/resolv.h | 16 ++++++++++++++++
3 files changed, 22 insertions(+), 6 deletions(-)
diffs (56 lines):
diff -r 603795306424 -r fe8579fd6cbf pkgtools/posix_headers/Makefile
--- a/pkgtools/posix_headers/Makefile Fri Apr 27 13:42:38 2007 +0000
+++ b/pkgtools/posix_headers/Makefile Fri Apr 27 13:54:24 2007 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.3 2007/04/25 11:15:02 tnn Exp $
+# $NetBSD: Makefile,v 1.4 2007/04/27 13:54:24 tnn Exp $
DISTNAME= posix_headers-0.4
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= pkgtools
MASTER_SITES= # empty
DISTFILES= # empty
@@ -18,8 +18,8 @@
PLIST_SRC= ${WRKDIR}/PLIST_SRC
-POSIX_HEADERS.HPUX= sys/select.h stdint.h math.h
-SUBST_HEADERS.HPUX= math.h
+POSIX_HEADERS.HPUX= sys/select.h stdint.h math.h resolv.h
+SUBST_HEADERS.HPUX= math.h resolv.h
BUILDING_POSIX_HEADERS= yes
diff -r 603795306424 -r fe8579fd6cbf pkgtools/posix_headers/buildlink3.mk
--- a/pkgtools/posix_headers/buildlink3.mk Fri Apr 27 13:42:38 2007 +0000
+++ b/pkgtools/posix_headers/buildlink3.mk Fri Apr 27 13:54:24 2007 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: buildlink3.mk,v 1.1.1.1 2007/04/24 19:35:46 tnn Exp $
+# $NetBSD: buildlink3.mk,v 1.2 2007/04/27 13:54:24 tnn Exp $
-BUILD_DEPENDS+= posix_headers>=0.4:../../pkgtools/posix_headers
+BUILD_DEPENDS+= posix_headers>=0.4nb2:../../pkgtools/posix_headers
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
POSIX_HEADERS_BUILDLINK3_MK:= ${POSIX_HEADERS_BUILDLINK3_MK}+
diff -r 603795306424 -r fe8579fd6cbf pkgtools/posix_headers/files/resolv.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/pkgtools/posix_headers/files/resolv.h Fri Apr 27 13:54:24 2007 +0000
@@ -0,0 +1,16 @@
+/* $NetBSD: resolv.h,v 1.1 2007/04/27 13:54:24 tnn Exp $ */
+#ifndef _PKGSRC_RESOLV_H_
+#define _PKGSRC_RESOLV_H_
+#include "@REAL_HEADER@"
+#ifdef __hpux
+/* Missing prototypes. We have them in libc though. */
+ssize_t res_query(char*, int, int, u_char, int);
+ssize_t res_search(char*, int, int, u_char, int);
+ssize_t res_mkquery(int, const char*, int, int, const char*, int,\
+ const char*, char*, int);
+ssize_t res_send(const char*, ssize_t, char*, int);
+int res_init();
+ssize_t dn_comp(const char*, u_char*, ssize_t, u_char**, u_char**);
+ssize_t dn_expand(const u_char*, const u_char*, u_char*, int);
+#endif /* __hpux */
+#endif /* _PKGSRC_RESOLV_H_ */
Home |
Main Index |
Thread Index |
Old Index