From 703531aaa64c4dd36eb2e6441ac0ccf39ffce28f Mon Sep 17 00:00:00 2001 From: dmcmahill Date: Fri, 27 Sep 2002 01:50:02 +0000 Subject: use the results of the autoconf test for inet_ntop and inet_pton. Fixes compile problems on sparc and should fix other big endian machines. --- mbone/common-mml/Makefile | 5 ++++- mbone/common-mml/distinfo | 6 +++++- mbone/common-mml/patches/patch-ad | 13 +++++++++++++ mbone/common-mml/patches/patch-ae | 16 ++++++++++++++++ mbone/common-mml/patches/patch-af | 13 +++++++++++++ mbone/common-mml/patches/patch-ag | 17 +++++++++++++++++ 6 files changed, 68 insertions(+), 2 deletions(-) create mode 100644 mbone/common-mml/patches/patch-ad create mode 100644 mbone/common-mml/patches/patch-ae create mode 100644 mbone/common-mml/patches/patch-af create mode 100644 mbone/common-mml/patches/patch-ag (limited to 'mbone') diff --git a/mbone/common-mml/Makefile b/mbone/common-mml/Makefile index ccea28a4048..b658d85b5e0 100644 --- a/mbone/common-mml/Makefile +++ b/mbone/common-mml/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2001/02/17 18:04:34 wiz Exp $ +# $NetBSD: Makefile,v 1.3 2002/09/27 01:50:02 dmcmahill Exp $ # DISTNAME= common-1.2.0 @@ -25,4 +25,7 @@ post-install: ${INSTALL_DATA_DIR} ${PREFIX}/include/common-mml ${INSTALL_DATA} ${WRKSRC}/*.h ${PREFIX}/include/common-mml +test: build + ${WRKSRC}/test-libcommon + .include "../../mk/bsd.pkg.mk" diff --git a/mbone/common-mml/distinfo b/mbone/common-mml/distinfo index 2fae25d507b..cf0ed9f49ee 100644 --- a/mbone/common-mml/distinfo +++ b/mbone/common-mml/distinfo @@ -1,7 +1,11 @@ -$NetBSD: distinfo,v 1.2 2001/04/18 14:33:56 agc Exp $ +$NetBSD: distinfo,v 1.3 2002/09/27 01:50:03 dmcmahill Exp $ SHA1 (common-1.2.0.tar.gz) = 411804ba0c2842a0157f01cec0e448dcbb206c29 Size (common-1.2.0.tar.gz) = 139854 bytes SHA1 (patch-aa) = e07907ec236263033ab7f1b9900c2d7dde5441f0 SHA1 (patch-ab) = adedc5c1bf8bbf9f5fdbbaf6db04eee505e72aa0 SHA1 (patch-ac) = 58bbd43c7478083d657a4ba4b9b135d2970b5c02 +SHA1 (patch-ad) = 66cbf9cbdb8d5e1434ff310137e91e93785eea06 +SHA1 (patch-ae) = 718a7eacf35e54eef95c2c19d71af6d233f70220 +SHA1 (patch-af) = 7ca308acd4f9c9b297176b91ff21f314cd677cf8 +SHA1 (patch-ag) = 8b77e2c080d0e9a33eda5334d8c103b6b27dc886 diff --git a/mbone/common-mml/patches/patch-ad b/mbone/common-mml/patches/patch-ad new file mode 100644 index 00000000000..ee9d1dea35a --- /dev/null +++ b/mbone/common-mml/patches/patch-ad @@ -0,0 +1,13 @@ +$NetBSD: patch-ad,v 1.1 2002/09/27 01:50:05 dmcmahill Exp $ + +--- inet_ntop.c.orig Thu Dec 2 11:07:31 1999 ++++ inet_ntop.c +@@ -16,7 +16,7 @@ + * SOFTWARE. + */ + +-#ifndef HAVE_INET_NTOP ++#ifdef NEED_INET_NTOP + #include "config_unix.h" + #include "config_win32.h" + #include "inet_ntop.h" diff --git a/mbone/common-mml/patches/patch-ae b/mbone/common-mml/patches/patch-ae new file mode 100644 index 00000000000..732ea2723eb --- /dev/null +++ b/mbone/common-mml/patches/patch-ae @@ -0,0 +1,16 @@ +$NetBSD: patch-ae,v 1.1 2002/09/27 01:50:05 dmcmahill Exp $ + +--- inet_ntop.h.orig Tue May 16 13:02:54 2000 ++++ inet_ntop.h +@@ -1,4 +1,4 @@ +-#ifndef HAVE_INET_NTOP ++#ifdef NEED_INET_NTOP + #if defined(__cplusplus) + extern "C" { + #endif +@@ -8,4 +8,4 @@ const char *inet_ntop(int af, const void + #if defined(__cplusplus) + } + #endif +-#endif /* HAVE_INET_NTOP */ ++#endif /* NEED_INET_NTOP */ diff --git a/mbone/common-mml/patches/patch-af b/mbone/common-mml/patches/patch-af new file mode 100644 index 00000000000..46721043f56 --- /dev/null +++ b/mbone/common-mml/patches/patch-af @@ -0,0 +1,13 @@ +$NetBSD: patch-af,v 1.1 2002/09/27 01:50:06 dmcmahill Exp $ + +--- inet_pton.c.orig Thu Dec 2 11:07:31 1999 ++++ inet_pton.c +@@ -16,7 +16,7 @@ + * SOFTWARE. + */ + +-#ifndef HAVE_INET_PTON ++#ifdef NEED_INET_PTON + #include "config_unix.h" + #include "config_win32.h" + #include "inet_pton.h" diff --git a/mbone/common-mml/patches/patch-ag b/mbone/common-mml/patches/patch-ag new file mode 100644 index 00000000000..1d867e51566 --- /dev/null +++ b/mbone/common-mml/patches/patch-ag @@ -0,0 +1,17 @@ +$NetBSD: patch-ag,v 1.1 2002/09/27 01:50:06 dmcmahill Exp $ + +--- inet_pton.h.orig Tue May 16 13:02:55 2000 ++++ inet_pton.h +@@ -1,4 +1,4 @@ +-#ifndef HAVE_INET_PTON ++#ifdef NEED_INET_PTON + #if defined(__cplusplus) + extern "C" { + #endif +@@ -8,4 +8,4 @@ int inet_pton(int af, const char *src, v + #if defined(__cplusplus) + } + #endif +-#endif /* HAVE_INET_PTON */ +\ No newline at end of file ++#endif /* NEED_INET_PTON */ -- cgit v1.2.3