summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoragc <agc>2002-10-09 18:48:20 +0000
committeragc <agc>2002-10-09 18:48:20 +0000
commite7fc49a55347c373949d1540f000b08004a0b836 (patch)
tree6578756aedc4afb4917fdc8199be109c45413cd9
parent0934a5071e4abaeb5e4009977f351b3441254105 (diff)
downloadpkgsrc-e7fc49a55347c373949d1540f000b08004a0b836.tar.gz
Pullup version 1.3 of pkgsrc/mbone/common-mml, revs 1.1 of
patches/patch-a{d,e,f} and rev 1.2 of patches/patch-ag, and a regenned distinfo file, onto the netbsd-1-6 pkgsrc branch. Requested by Dan McMahill. Correctly uses the autoconf checks for inet_ntop and inet_pton. Fixes this package on sparc (and probably all other big endian machines). Change has also been tested on alpha (little endian) to make sure it didn't break things there. There are still some issues on the alpha but they appear to be LP64 and alignment related, not endian related and they were present before this change too.
-rw-r--r--mbone/common-mml/Makefile5
-rw-r--r--mbone/common-mml/distinfo6
-rw-r--r--mbone/common-mml/patches/patch-ad13
-rw-r--r--mbone/common-mml/patches/patch-ae16
-rw-r--r--mbone/common-mml/patches/patch-af13
-rw-r--r--mbone/common-mml/patches/patch-ag16
6 files changed, 67 insertions, 2 deletions
diff --git a/mbone/common-mml/Makefile b/mbone/common-mml/Makefile
index ccea28a4048..37af599dfac 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.2.8.1 2002/10/09 18:48:20 agc 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..47fb61917ca 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.2.8.1 2002/10/09 18:48:21 agc 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) = fa3635d64010fa65c64e19f89c94dd87ea04057b
diff --git a/mbone/common-mml/patches/patch-ad b/mbone/common-mml/patches/patch-ad
new file mode 100644
index 00000000000..836472d2d98
--- /dev/null
+++ b/mbone/common-mml/patches/patch-ad
@@ -0,0 +1,13 @@
+$NetBSD: patch-ad,v 1.1.2.2 2002/10/09 18:48:21 agc 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..8495acfd9e1
--- /dev/null
+++ b/mbone/common-mml/patches/patch-ae
@@ -0,0 +1,16 @@
+$NetBSD: patch-ae,v 1.1.2.2 2002/10/09 18:48:21 agc 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..9f49a258cf7
--- /dev/null
+++ b/mbone/common-mml/patches/patch-af
@@ -0,0 +1,13 @@
+$NetBSD: patch-af,v 1.1.2.2 2002/10/09 18:48:21 agc 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..a6732b883d3
--- /dev/null
+++ b/mbone/common-mml/patches/patch-ag
@@ -0,0 +1,16 @@
+$NetBSD: patch-ag,v 1.2.2.2 2002/10/09 18:48:22 agc 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 */
++#endif /* NEED_INET_PTON */