pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/pkgtools/posix_headers Fix hpux c++ linkage problem. B...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c204c88a2b13
branches:  trunk
changeset: 538698:c204c88a2b13
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Sat Feb 16 22:24:19 2008 +0000

description:
Fix hpux c++ linkage problem. Bump version.

diffstat:

 pkgtools/posix_headers/Makefile          |  4 ++--
 pkgtools/posix_headers/files/resolv.h.in |  6 ++++++
 2 files changed, 8 insertions(+), 2 deletions(-)

diffs (31 lines):

diff -r 81084a777603 -r c204c88a2b13 pkgtools/posix_headers/Makefile
--- a/pkgtools/posix_headers/Makefile   Sat Feb 16 22:21:35 2008 +0000
+++ b/pkgtools/posix_headers/Makefile   Sat Feb 16 22:24:19 2008 +0000
@@ -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 -r 81084a777603 -r c204c88a2b13 pkgtools/posix_headers/files/resolv.h.in
--- a/pkgtools/posix_headers/files/resolv.h.in  Sat Feb 16 22:21:35 2008 +0000
+++ b/pkgtools/posix_headers/files/resolv.h.in  Sat Feb 16 22:24:19 2008 +0000
@@ -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 @@
 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



Home | Main Index | Thread Index | Old Index