diff options
author | tonnerre <tonnerre> | 2013-03-09 00:23:26 +0000 |
---|---|---|
committer | tonnerre <tonnerre> | 2013-03-09 00:23:26 +0000 |
commit | 29727826436ea6dc4428440d1d5de612e1091852 (patch) | |
tree | 8cd9ffd8820b4d3aeedc8bfac7c0db93cd1ddc7e | |
parent | 61ebdba7225404dbe1bf45ca461c94bfbc59bc7b (diff) | |
download | pkgsrc-29727826436ea6dc4428440d1d5de612e1091852.tar.gz |
Update clib to version 0.3.
Changes since version 0.2.2:
- Added additional socket functions (str2addrinfo, str2sockaddr,
connect2addrinfo and bind2addrinfo).
- C++ compatibility (no variables named new, etc).
- Use more const.
- NetBSD compatibility for getnameinfo().
- Bugfixes.
-rw-r--r-- | devel/clib/Makefile | 4 | ||||
-rw-r--r-- | devel/clib/PLIST | 4 | ||||
-rw-r--r-- | devel/clib/buildlink3.mk | 6 | ||||
-rw-r--r-- | devel/clib/distinfo | 12 | ||||
-rw-r--r-- | devel/clib/patches/patch-aa | 17 | ||||
-rw-r--r-- | devel/clib/patches/patch-ab | 13 | ||||
-rw-r--r-- | devel/clib/patches/patch-ac | 13 | ||||
-rw-r--r-- | devel/clib/patches/patch-ad | 11 |
8 files changed, 12 insertions, 68 deletions
diff --git a/devel/clib/Makefile b/devel/clib/Makefile index 9ba76595195..0f8572e36cf 100644 --- a/devel/clib/Makefile +++ b/devel/clib/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.1.1.1 2010/04/27 23:52:53 tonnerre Exp $ +# $NetBSD: Makefile,v 1.2 2013/03/09 00:23:26 tonnerre Exp $ -DISTNAME= clib-0.2.2 +DISTNAME= clib-0.3 CATEGORIES= devel MASTER_SITES= ftp://ftp.ancient-solutions.com/pub/bsdprojects/clib/ EXTRACT_SUFX= .tar.bz2 diff --git a/devel/clib/PLIST b/devel/clib/PLIST index bae737e65d6..75a0d4be3cd 100644 --- a/devel/clib/PLIST +++ b/devel/clib/PLIST @@ -1,4 +1,6 @@ -@comment $NetBSD: PLIST,v 1.1.1.1 2010/04/27 23:52:53 tonnerre Exp $ +@comment $NetBSD: PLIST,v 1.2 2013/03/09 00:23:26 tonnerre Exp $ +include/clib/array.h include/clib/clib.h +include/clib/hash.h include/clib/queue.h lib/libclib.la diff --git a/devel/clib/buildlink3.mk b/devel/clib/buildlink3.mk index 1adb0d70129..b6df04161b8 100644 --- a/devel/clib/buildlink3.mk +++ b/devel/clib/buildlink3.mk @@ -1,12 +1,12 @@ -# $NetBSD: buildlink3.mk,v 1.1.1.1 2010/04/27 23:52:53 tonnerre Exp $ +# $NetBSD: buildlink3.mk,v 1.2 2013/03/09 00:23:26 tonnerre Exp $ BUILDLINK_TREE+= clib .if !defined(CLIB_BUILDLINK3_MK) CLIB_BUILDLINK3_MK:= -BUILDLINK_API_DEPENDS.clib+= clib>=0.2 -BUILDLINK_ABI_DEPENDS.clib+= clib>=0.2 +BUILDLINK_API_DEPENDS.clib+= clib>=0.3 +BUILDLINK_ABI_DEPENDS.clib+= clib>=0.3 BUILDLINK_PKGSRCDIR.clib?= ../../devel/clib .endif # CLIB_BUILDLINK3_MK diff --git a/devel/clib/distinfo b/devel/clib/distinfo index ccdbfdd0ee4..7cf2954f6bf 100644 --- a/devel/clib/distinfo +++ b/devel/clib/distinfo @@ -1,9 +1,5 @@ -$NetBSD: distinfo,v 1.1.1.1 2010/04/27 23:52:53 tonnerre Exp $ +$NetBSD: distinfo,v 1.2 2013/03/09 00:23:26 tonnerre Exp $ -SHA1 (clib-0.2.2.tar.bz2) = fa52fb10badd399884ef0572173b638f9da8dc05 -RMD160 (clib-0.2.2.tar.bz2) = deef15e980af658d5f38e341240fc83baf486d65 -Size (clib-0.2.2.tar.bz2) = 386945 bytes -SHA1 (patch-aa) = 9dfec91e036b589c9bcf3cc23d61859df621965d -SHA1 (patch-ab) = ffdd731c5e4628daa90364887d4793c3ae64a92f -SHA1 (patch-ac) = 70d80413dcc4fd427d30f9c0e54ae5a099c5e27b -SHA1 (patch-ad) = 41cd3192d06dd4a6425d925954e0c44adbfba0a0 +SHA1 (clib-0.3.tar.bz2) = 38a02ee7623c991cfe31336da3cf8d65801304d3 +RMD160 (clib-0.3.tar.bz2) = e341cf14a2b302b28c1678d644a8b088dd2ae80a +Size (clib-0.3.tar.bz2) = 269607 bytes diff --git a/devel/clib/patches/patch-aa b/devel/clib/patches/patch-aa deleted file mode 100644 index 38ecbe789b5..00000000000 --- a/devel/clib/patches/patch-aa +++ /dev/null @@ -1,17 +0,0 @@ -$NetBSD: patch-aa,v 1.1.1.1 2010/04/27 23:52:53 tonnerre Exp $ - ---- clib_internal.h -+++ clib_internal.h -@@ -36,6 +36,12 @@ - #include <assert.h> - #endif - -+#ifdef HAVE_NETINET_IN_H -+#include <netinet/in.h> -+#endif -+#ifdef HAVE_NETINET6_IN6_H -+#include <netinet6/in6.h> -+#endif - #ifdef HAVE_SYS_SOCKET_H - #include <sys/socket.h> - #endif diff --git a/devel/clib/patches/patch-ab b/devel/clib/patches/patch-ab deleted file mode 100644 index 4c89dfe61c8..00000000000 --- a/devel/clib/patches/patch-ab +++ /dev/null @@ -1,13 +0,0 @@ -$NetBSD: patch-ab,v 1.1.1.1 2010/04/27 23:52:53 tonnerre Exp $ - ---- configure.ac -+++ configure.ac -@@ -40,7 +40,7 @@ AC_CHECK_LIB([nbcompat], [main], [LIBS="-lnbcompat $LIBS"]) - # Checks for header files. - AC_CHECK_HEADERS([string.h strings.h memory.h stdlib.h unistd.h queue.h \ - sys/types.h sys/queue.h nbcompat/queue.h assert.h stddef.h \ -- sys/socket.h netdb.h]) -+ sys/socket.h netdb.h netinet/in.h netinet6/in6.h]) - CL_IFDEF(SLIST_HEAD, [SLIST_HEAD(name,type)], - [struct name { struct type *slh_first; /* first element */ }], - [Singly-linked list head]) diff --git a/devel/clib/patches/patch-ac b/devel/clib/patches/patch-ac deleted file mode 100644 index 8a0860ae1a9..00000000000 --- a/devel/clib/patches/patch-ac +++ /dev/null @@ -1,13 +0,0 @@ -$NetBSD: patch-ac,v 1.1.1.1 2010/04/27 23:52:53 tonnerre Exp $ - ---- configure.orig 2010-04-27 23:42:59.000000000 +0000 -+++ configure -@@ -6813,7 +6813,7 @@ fi - - - for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ -- inttypes.h stdint.h unistd.h -+ inttypes.h stdint.h unistd.h netinet/in.h netinet6/in6.h - do - as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` - { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 diff --git a/devel/clib/patches/patch-ad b/devel/clib/patches/patch-ad deleted file mode 100644 index b8363a94e0e..00000000000 --- a/devel/clib/patches/patch-ad +++ /dev/null @@ -1,11 +0,0 @@ -$NetBSD: patch-ad,v 1.1.1.1 2010/04/27 23:52:53 tonnerre Exp $ - ---- config.h.in.orig 2010-04-27 23:46:29.000000000 +0000 -+++ config.h.in -@@ -179,3 +179,6 @@ - /* Define to the type of an unsigned integer type of width exactly 8 bits if - such a type exists and the standard includes do not define it. */ - #undef uint8_t -+ -+#undef HAVE_NETINET_IN_H -+#undef HAVE_NETINET6_IN6_H |