diff options
author | tnn <tnn@pkgsrc.org> | 2008-02-16 22:24:19 +0000 |
---|---|---|
committer | tnn <tnn@pkgsrc.org> | 2008-02-16 22:24:19 +0000 |
commit | b182ad8987aca9a3c0d32747cab1c670df53791a (patch) | |
tree | f8edd22a1e2c034c6a00ece4b9a940776cbdf593 | |
parent | 40ef1e450ff37ea4d5f19bdb29a7ffed3dbf4a77 (diff) | |
download | pkgsrc-b182ad8987aca9a3c0d32747cab1c670df53791a.tar.gz |
Fix hpux c++ linkage problem. Bump version.
-rw-r--r-- | pkgtools/posix_headers/Makefile | 4 | ||||
-rw-r--r-- | pkgtools/posix_headers/files/resolv.h.in | 6 |
2 files changed, 8 insertions, 2 deletions
diff --git a/pkgtools/posix_headers/Makefile b/pkgtools/posix_headers/Makefile index 4a3dd62a9c3..b187a6cf7fc 100644 --- a/pkgtools/posix_headers/Makefile +++ b/pkgtools/posix_headers/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.8 2008/01/16 03:32:59 tnn Exp $ +# $NetBSD: Makefile,v 1.9 2008/02/16 22:24:19 tnn Exp $ -DISTNAME= posix_headers-0.5 +DISTNAME= posix_headers-0.6 CATEGORIES= pkgtools MASTER_SITES= # empty DISTFILES= # empty diff --git a/pkgtools/posix_headers/files/resolv.h.in b/pkgtools/posix_headers/files/resolv.h.in index 37b0b49e504..1cc80ba9277 100644 --- a/pkgtools/posix_headers/files/resolv.h.in +++ b/pkgtools/posix_headers/files/resolv.h.in @@ -1,4 +1,7 @@ #if !defined(@have_res_proto@) && defined(__hpux) +@ifdef __cplusplus +extern "C" { +@endif 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,\ @@ -7,4 +10,7 @@ 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*, const u_char*, u_char*, int); +@ifdef __cplusplus +} +@endif #endif |