Skip to content

Commit 2ffa396

Browse files
author
scole
committed
libdatrie 0.2.13 Released
@thep thep released this Jan 29, 2021 Fix wrong key listing in byte trie (Issue #9, Thanks @legale for the report.) Fix cross-compiling issue caused by AC_FUNC_MALLOC (Issue #11, Thanks @vmchale for the report.) Fix isspace() arg problem on NetBSD. (Personal mail, Thanks Sean for the report; PR #8, Thanks @obache for an individual pull request.) Fix some documentations. Really use TRIE_CHAR_TERM in TrieChar string termination. Changing TRIE_CHAR_TERM definition now won't break the code. Fix Windows build issue by avoiding <unistd.h> include. (Partially addressing PR #15, Thanks @fanc999 for first raising this.) [New APIs] Add serialization of the trie into memory buffer. (PR #12, Thanks @KOLANICH for the contribution.)
1 parent 6651af2 commit 2ffa396

4 files changed

Lines changed: 15 additions & 85 deletions

File tree

devel/libdatrie/Makefile

Lines changed: 8 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,22 @@
1-
# $NetBSD: Makefile,v 1.21 2021/01/01 21:49:39 scole Exp $
1+
# $NetBSD: Makefile,v 1.22 2021/01/29 18:33:09 scole Exp $
22

3-
DISTNAME= libdatrie-0.2.12
4-
PKGREVISION= 2
3+
DISTNAME= libdatrie-0.2.13
54
CATEGORIES= devel
6-
MASTER_SITES= ${MASTER_SITE_GITHUB:=tlwg/}
7-
GITHUB_TAG= f1479aaab1b877f305297bdb12fadc280a48cdd6
5+
MASTER_SITES= https://linux.thai.net/pub/thailinux/software/libthai/
6+
EXTRACT_SUFX= .tar.xz
87

98
MAINTAINER= pkgsrc-users@NetBSD.org
109
HOMEPAGE= https://linux.thai.net/~thep/datrie/datrie.html
1110
COMMENT= Implementation of Double-Array Trie
1211
LICENSE= gnu-lgpl-v2.1
1312

14-
USE_LIBTOOL= yes
15-
GNU_CONFIGURE= yes
16-
USE_LANGUAGES= c c++
17-
USE_TOOLS= gmake gm4 pkg-config sh aclocal autoconf autoreconf automake
18-
13+
USE_LIBTOOL= yes
14+
USE_TOOLS+= pkg-config
15+
GNU_CONFIGURE= yes
16+
CONFIGURE_ARGS+= --disable-doxygen-doc
1917
CONFIGURE_ENV+= ICONV_LIBS=${BUILDLINK_LDADD.iconv:Q}
2018
PKGCONFIG_OVERRIDE+= datrie-0.2.pc.in
2119
TEST_TARGET= check
2220

23-
pre-configure:
24-
cd ${WRKSRC} && autoreconf -fi
25-
2621
.include "../../converters/libiconv/buildlink3.mk"
2722
.include "../../mk/bsd.pkg.mk"

devel/libdatrie/buildlink3.mk

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
1-
# $NetBSD: buildlink3.mk,v 1.5 2018/01/07 13:04:05 rillig Exp $
1+
# $NetBSD: buildlink3.mk,v 1.6 2021/01/29 18:33:09 scole Exp $
22

33
BUILDLINK_TREE+= libdatrie
44

55
.if !defined(LIBDATRIE_BUILDLINK3_MK)
66
LIBDATRIE_BUILDLINK3_MK:=
77

8-
BUILDLINK_API_DEPENDS.libdatrie+= libdatrie>=0.2.0
9-
BUILDLINK_ABI_DEPENDS.libdatrie+= libdatrie>=0.2.7.1
8+
BUILDLINK_API_DEPENDS.libdatrie+= libdatrie>=0.2.13
109
BUILDLINK_PKGSRCDIR.libdatrie?= ../../devel/libdatrie
1110
.endif # LIBDATRIE_BUILDLINK3_MK
1211

devel/libdatrie/distinfo

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
$NetBSD: distinfo,v 1.13 2021/01/01 21:49:39 scole Exp $
1+
$NetBSD: distinfo,v 1.14 2021/01/29 18:33:09 scole Exp $
22

3-
SHA1 (libdatrie-0.2.12-f1479aaab1b877f305297bdb12fadc280a48cdd6.tar.gz) = a262c74d234933c6d0606fe63289becc70fba39b
4-
RMD160 (libdatrie-0.2.12-f1479aaab1b877f305297bdb12fadc280a48cdd6.tar.gz) = bb97e91bf811e918298f9a31e9d142dee3501a1d
5-
SHA512 (libdatrie-0.2.12-f1479aaab1b877f305297bdb12fadc280a48cdd6.tar.gz) = 777f49fd0bb3f7a0f1dc3ef8b4eb311bd812cc86ec0f2283027e4e5709063643dc8bbbca19d315a2d64742116d6186c51483e6d6b706bcc3ed5776774710e564
6-
Size (libdatrie-0.2.12-f1479aaab1b877f305297bdb12fadc280a48cdd6.tar.gz) = 106144 bytes
7-
SHA1 (patch-configure.ac) = 1c2d874a5206c0546960d5003bee04705e7ad0f3
3+
SHA1 (libdatrie-0.2.13.tar.xz) = ff3d30605fdc9a226e7acde8de3752125b3a8791
4+
RMD160 (libdatrie-0.2.13.tar.xz) = ecc5608111427f537e0f1b825275a191f3080eca
5+
SHA512 (libdatrie-0.2.13.tar.xz) = db3c879d825ead5871c12ef3a06bb093cb1708a6e7e20775eaf82356af9dd6ad54c6b5cabbe1773f2494d3dfa2426528fdd49441038b6294b70ccb1a3d90099a
6+
Size (libdatrie-0.2.13.tar.xz) = 314072 bytes

devel/libdatrie/patches/patch-configure.ac

Lines changed: 0 additions & 63 deletions
This file was deleted.

0 commit comments

Comments
 (0)