diff options
author | minskim <minskim@pkgsrc.org> | 2004-10-30 07:11:18 +0000 |
---|---|---|
committer | minskim <minskim@pkgsrc.org> | 2004-10-30 07:11:18 +0000 |
commit | 35423049212e72c7eb1b03c3e9aceec1d719eace (patch) | |
tree | fcc95ea9a87a41a0001483991f6486a937a4085c /devel/chmlib | |
parent | 3c38cb6551d116d54a63ed0d2a037efc09e1dc66 (diff) | |
download | pkgsrc-35423049212e72c7eb1b03c3e9aceec1d719eace.tar.gz |
Update chmlib to 0.35.
Changes:
- UTF-8 filenames, while still not handled correctly, are handled a little
more gracefully. That is to say, the library doesn't fail to open files
with filenames using characters outside the ASCII subset. I'm very
interested in any information as to the "right" way to handle filenames
of this sort.
- Files not containing a compressed section are handled properly, such as
.chw files. These files seem to contain information about compression,
but the information is invalid or empty. The library deals gracefully
with this now.
- Files compressed with different options were not being decompressed
properly. In particular, if the "reset interval" for the compressed
section was other than 2 block sizes, it could fail to read some of the
files.
- The caching system was improved slightly, in conjunction with this
previous bugfix.
Diffstat (limited to 'devel/chmlib')
-rw-r--r-- | devel/chmlib/Makefile | 15 | ||||
-rw-r--r-- | devel/chmlib/distinfo | 6 | ||||
-rw-r--r-- | devel/chmlib/patches/patch-aa | 20 |
3 files changed, 13 insertions, 28 deletions
diff --git a/devel/chmlib/Makefile b/devel/chmlib/Makefile index cbf953ebb15..6576ebd8cc5 100644 --- a/devel/chmlib/Makefile +++ b/devel/chmlib/Makefile @@ -1,8 +1,7 @@ -# $NetBSD: Makefile,v 1.4 2004/10/03 00:13:25 tv Exp $ +# $NetBSD: Makefile,v 1.5 2004/10/30 07:11:18 minskim Exp $ # -DISTNAME= chmlib-0.31 -PKGREVISION= 1 +DISTNAME= chmlib-0.35 CATEGORIES= devel MASTER_SITES= http://66.93.236.84/%7Ejedwin/projects/chmlib/ EXTRACT_SUFX= .tbz @@ -14,12 +13,18 @@ COMMENT= Library for dealing with Microsoft ITSS/CHM format files PKG_INSTALLATION_TYPES= overwrite pkgviews USE_BUILDLINK3= yes +GNU_CONFIGURE= yes USE_GNU_TOOLS+= make USE_LIBTOOL= yes -INSTALLATION_DIRS= include lib +CONFIGURE_ARGS+= --disable-io64 -PTHREAD_OPTS= require +INSTALLATION_DIRS= include lib .include "../../mk/pthread.buildlink3.mk" + +.if defined(PTHREAD_TYPE) && ${PTHREAD_TYPE} == "none" +CONFIGURE_ARGS+= --disable-pthread +.endif + .include "../../mk/bsd.pkg.mk" diff --git a/devel/chmlib/distinfo b/devel/chmlib/distinfo index ed0426d07ee..e55b5a9e129 100644 --- a/devel/chmlib/distinfo +++ b/devel/chmlib/distinfo @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.2 2004/01/27 14:18:20 xtraeme Exp $ +$NetBSD: distinfo,v 1.3 2004/10/30 07:11:18 minskim Exp $ -SHA1 (chmlib-0.31.tbz) = 4d6be22cb408695c7e8ef6933b46e5cd46d13048 -Size (chmlib-0.31.tbz) = 40810 bytes +SHA1 (chmlib-0.35.tbz) = 645bd23e1e8b2e930b971524b1f3561c02ae1609 +Size (chmlib-0.35.tbz) = 264006 bytes SHA1 (patch-aa) = 39ab703763c7a0aa63e3e90142879a803952fbb4 diff --git a/devel/chmlib/patches/patch-aa b/devel/chmlib/patches/patch-aa deleted file mode 100644 index ef595b9e192..00000000000 --- a/devel/chmlib/patches/patch-aa +++ /dev/null @@ -1,20 +0,0 @@ -$NetBSD: patch-aa,v 1.2 2004/01/27 14:18:21 xtraeme Exp $ - ---- Makefile.orig Wed Oct 9 23:25:54 2002 -+++ Makefile -@@ -7,11 +7,10 @@ - # Note: LDFLAGS must contain -lpthread if you are using -DCHM_MT. - # - #CFLAGS=-DCHM_MT -DCHM_USE_PREAD -DCHM_USE_IO64 --CFLAGS=-DCHM_MT -DCHM_USE_PREAD -DCHM_USE_IO64 -g -DDMALLOC_DISABLE --LDFLAGS=-lpthread --INSTALLPREFIX=/usr/local/ --CC=gcc-3.2 --LD=gcc-3.2 -+CFLAGS+=-DCHM_MT -DDMALLOC_DISABLE -+LDFLAGS+=${PTHREAD_LDFLAGS} -+INSTALLPREFIX=${PREFIX} -+LD=${CC} - LIBTOOL=libtool - CP=/bin/cp - EXAMPLES=test_chmLib enum_chmLib enumdir_chmLib chm_http extract_chmLib |