diff options
author | wiz <wiz@pkgsrc.org> | 2015-11-17 11:55:39 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2015-11-17 11:55:39 +0000 |
commit | 18b7a1970ba2f0e50c66bb082a418357a1cc44ca (patch) | |
tree | cd05901aa21376074b110dd06174ce437a140a65 /devel | |
parent | de89f946415e3f0128c867ea6fbd4e4dd7c13a74 (diff) | |
download | pkgsrc-18b7a1970ba2f0e50c66bb082a418357a1cc44ca.tar.gz |
Update liblangtag to 0.5.8:
0.5.7 -> 0.5.8
=================
Akira TAGOH (6):
Fix the build fail on MSVC 14 (fixes issue#13)
Drop the word of GNOME from the ifdef'd variable for debugging
Fix the build requirement in pkgconfig file
Make some header files public (fixes: issue#14)
Fix test fail on SunOS
Fix unknown node issue
Diffstat (limited to 'devel')
-rw-r--r-- | devel/liblangtag/Makefile | 5 | ||||
-rw-r--r-- | devel/liblangtag/PLIST | 5 | ||||
-rw-r--r-- | devel/liblangtag/distinfo | 11 | ||||
-rw-r--r-- | devel/liblangtag/patches/patch-liblangtag_lt-ext-module.c | 43 |
4 files changed, 11 insertions, 53 deletions
diff --git a/devel/liblangtag/Makefile b/devel/liblangtag/Makefile index 1c11b59e914..0e93b398187 100644 --- a/devel/liblangtag/Makefile +++ b/devel/liblangtag/Makefile @@ -1,7 +1,6 @@ -# $NetBSD: Makefile,v 1.8 2015/08/30 16:17:27 richard Exp $ +# $NetBSD: Makefile,v 1.9 2015/11/17 11:55:39 wiz Exp $ -DISTNAME= liblangtag-0.5.7 -PKGREVISION= 1 +DISTNAME= liblangtag-0.5.8 CATEGORIES= devel MASTER_SITES= https://bitbucket.org/tagoh/liblangtag/downloads/ EXTRACT_SUFX= .tar.bz2 diff --git a/devel/liblangtag/PLIST b/devel/liblangtag/PLIST index 4bedb56e152..ad4d65355f4 100644 --- a/devel/liblangtag/PLIST +++ b/devel/liblangtag/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.3 2015/04/03 06:58:04 wiz Exp $ +@comment $NetBSD: PLIST,v 1.4 2015/11/17 11:55:39 wiz Exp $ include/liblangtag/langtag.h include/liblangtag/lt-config.h include/liblangtag/lt-database.h @@ -15,6 +15,7 @@ include/liblangtag/lt-lang-db.h include/liblangtag/lt-lang.h include/liblangtag/lt-list.h include/liblangtag/lt-macros.h +include/liblangtag/lt-messages.h include/liblangtag/lt-redundant-db.h include/liblangtag/lt-redundant.h include/liblangtag/lt-region-db.h @@ -23,8 +24,10 @@ include/liblangtag/lt-script-db.h include/liblangtag/lt-script.h include/liblangtag/lt-string.h include/liblangtag/lt-tag.h +include/liblangtag/lt-utils.h include/liblangtag/lt-variant-db.h include/liblangtag/lt-variant.h +include/liblangtag/lt-xml.h lib/liblangtag.la lib/liblangtag/liblangtag-ext-ldml-t.la lib/liblangtag/liblangtag-ext-ldml-u.la diff --git a/devel/liblangtag/distinfo b/devel/liblangtag/distinfo index abd01e5a799..94f963560db 100644 --- a/devel/liblangtag/distinfo +++ b/devel/liblangtag/distinfo @@ -1,7 +1,6 @@ -$NetBSD: distinfo,v 1.9 2015/11/03 03:27:42 agc Exp $ +$NetBSD: distinfo,v 1.10 2015/11/17 11:55:39 wiz Exp $ -SHA1 (liblangtag-0.5.7.tar.bz2) = 825c5f1cec818e1c8c2de6d87f6beb9d7b22e95d -RMD160 (liblangtag-0.5.7.tar.bz2) = 9170faf6c5707333b8f91ef4dedc1a306d80b2fe -SHA512 (liblangtag-0.5.7.tar.bz2) = 9a8241e0ac2d4da799f9a803b27973920f910c4d2b83521c8b970a522d0a760970b0ed2a73e2278bc3fc1262009d10f46881cb5a980d0c9fcedffa610deb1df6 -Size (liblangtag-0.5.7.tar.bz2) = 671856 bytes -SHA1 (patch-liblangtag_lt-ext-module.c) = 9bbcbd8a873b48c9a9e98de92b706bd10979738e +SHA1 (liblangtag-0.5.8.tar.bz2) = a217fc028c21618c3df7407165dd9cc53ab93a1e +RMD160 (liblangtag-0.5.8.tar.bz2) = cadb3b02d07fffb6b257b0c359ad9847f1531d31 +SHA512 (liblangtag-0.5.8.tar.bz2) = 477f74d8b7eab66e5c503942117d8b448dd9d1b13866b3ec48388058bc0e5e4c6215ece88405fd947515cd092853f069d70b3fe2f307a9b41cb697b6b1dc3baf +Size (liblangtag-0.5.8.tar.bz2) = 672452 bytes diff --git a/devel/liblangtag/patches/patch-liblangtag_lt-ext-module.c b/devel/liblangtag/patches/patch-liblangtag_lt-ext-module.c deleted file mode 100644 index 22409646577..00000000000 --- a/devel/liblangtag/patches/patch-liblangtag_lt-ext-module.c +++ /dev/null @@ -1,43 +0,0 @@ -$NetBSD: patch-liblangtag_lt-ext-module.c,v 1.1 2015/08/30 16:17:27 richard Exp $ -workaround for erroneous readdir_r usage reported upstream as found on SunOS ---- liblangtag/lt-ext-module.c.orig 2015-01-05 07:30:05.000000000 +0000 -+++ liblangtag/lt-ext-module.c -@@ -24,6 +24,7 @@ - #if HAVE_LIBGEN_H - #include <libgen.h> - #endif -+#include <stddef.h> - #include <stdio.h> - #include <stdlib.h> - #include <string.h> -@@ -604,19 +605,21 @@ lt_ext_modules_load(void) - - dir = opendir(path); - if (dir) { -- struct dirent dent, *dresult; -- size_t len; -+ struct dirent *dent, *p; - -- while (1) { -- if (readdir_r(dir, &dent, &dresult) || dresult == NULL) -- break; -- -- len = strlen(dent.d_name); -+ while ((dent = readdir (dir))) { -+ size_t len = strlen (dent->d_name); -+ size_t dentlen = offsetof (struct dirent, d_name) + len + 1; -+ -+ dentlen = ((dentlen + ALIGNOF_VOID_P - 1) & ~(ALIGNOF_VOID_P - 1)); -+ p = (struct dirent *)malloc(dentlen); -+ memcpy(p, dent, dentlen); - if (len > suffix_len && -- lt_strcmp0(&dent.d_name[len - suffix_len], -+ lt_strcmp0(&(p->d_name[len - suffix_len]), - "." LT_MODULE_SUFFIX) == 0) { -- lt_ext_module_new(dent.d_name); -+ lt_ext_module_new(p->d_name); - } -+ free(p); - } - closedir(dir); - } |