pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc/eblook Update to 1.6. Support EB 4.x. Add p...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6311d4f43cfe
branches:  trunk
changeset: 471133:6311d4f43cfe
user:      uebayasi <uebayasi%pkgsrc.org@localhost>
date:      Fri Mar 19 16:02:17 2004 +0000

description:
Update to 1.6.  Support EB 4.x.  Add pbm, xbm, bmp, bmp2ppm, bmp2tiff,
jpg, jpeg commands.  Bug fixes.

Bl3'ify.

diffstat:

 textproc/eblook/Makefile         |  12 ++++++------
 textproc/eblook/distinfo         |   7 ++++---
 textproc/eblook/patches/patch-aa |  40 ++++++++++++++++++++++++++++++++++++++++
 3 files changed, 50 insertions(+), 9 deletions(-)

diffs (86 lines):

diff -r 63ac77758f9b -r 6311d4f43cfe textproc/eblook/Makefile
--- a/textproc/eblook/Makefile  Fri Mar 19 15:59:16 2004 +0000
+++ b/textproc/eblook/Makefile  Fri Mar 19 16:02:17 2004 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.10 2003/08/09 11:27:46 seb Exp $
+# $NetBSD: Makefile,v 1.11 2004/03/19 16:02:17 uebayasi Exp $
 #
 
-DISTNAME=      eblook-1.5.1
-PKGREVISION=   2
+DISTNAME=      eblook-1.6
 CATEGORIES=    japanese textproc
 MASTER_SITES=  http://openlab.ring.gr.jp/edict/eblook/dist/
 
@@ -10,11 +9,12 @@
 HOMEPAGE=      http://openlab.ring.gr.jp/edict/eblook/
 COMMENT=       Interactive command-line interface for EPWING electric dictionaries
 
-USE_BUILDLINK2=        YES
+USE_BUILDLINK3=        YES
 GNU_CONFIGURE= YES
 INFO_FILES=    eblook.info
 
-.include "../../devel/gettext-lib/buildlink2.mk"
-.include "../../textproc/eb/buildlink2.mk"
+.include "../../converters/libiconv/buildlink3.mk"
+.include "../../devel/gettext-lib/buildlink3.mk"
+.include "../../textproc/eb/buildlink3.mk"
 
 .include "../../mk/bsd.pkg.mk"
diff -r 63ac77758f9b -r 6311d4f43cfe textproc/eblook/distinfo
--- a/textproc/eblook/distinfo  Fri Mar 19 15:59:16 2004 +0000
+++ b/textproc/eblook/distinfo  Fri Mar 19 16:02:17 2004 +0000
@@ -1,4 +1,5 @@
-$NetBSD: distinfo,v 1.1.1.1 2002/06/12 01:31:02 uebayasi Exp $
+$NetBSD: distinfo,v 1.2 2004/03/19 16:02:17 uebayasi Exp $
 
-SHA1 (eblook-1.5.1.tar.gz) = dfdcddcdda9e2a9c134ba9d373906de1cdc75207
-Size (eblook-1.5.1.tar.gz) = 195934 bytes
+SHA1 (eblook-1.6.tar.gz) = 5b8fc0b85edb044e43b16608e7f3afd5b9db0148
+Size (eblook-1.6.tar.gz) = 418216 bytes
+SHA1 (patch-aa) = 1b0b6b4132e67fc51b23e60c45264fddec5b711a
diff -r 63ac77758f9b -r 6311d4f43cfe textproc/eblook/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/eblook/patches/patch-aa  Fri Mar 19 16:02:17 2004 +0000
@@ -0,0 +1,40 @@
+$NetBSD: patch-aa,v 1.1 2004/03/19 16:02:17 uebayasi Exp $
+
+--- codeconv.c.orig    Sat Mar  8 23:29:47 2003
++++ codeconv.c Sat Mar 20 00:27:25 2004
+@@ -213,7 +213,7 @@
+     olen=TEST_LENGTH;
+ 
+     /* euc-jp => current code ¤ÎÊÑ´¹¥Æ¥¹¥È */
+-    if (iconv(etoc,&test1,&ilen,&test2,&olen) == ((size_t)-1))
++    if (iconv(etoc,(const char **)&test1,&ilen,&test2,&olen) == ((size_t)-1))
+         return 0;
+     if (iconv(etoc,NULL,&ilen,&test2,&olen) == ((size_t)-1))
+         return 0;
+@@ -222,7 +222,7 @@
+     test2=test2_0;
+     ilen=TEST_LENGTH-olen;
+     olen=TEST_LENGTH;
+-    if (iconv(ctoe,&test2,&ilen,&test3,&olen) == ((size_t)-1)) 
++    if (iconv(ctoe,(const char **)&test2,&ilen,&test3,&olen) == ((size_t)-1)) 
+         return 0;
+     if (iconv(ctoe,NULL,&ilen,&test3,&olen) == ((size_t)-1))
+         return 0;
+@@ -661,7 +661,7 @@
+         size_t ret;
+         if (cur_to_euc == (iconv_t) -1)
+           return CODECONV_ERROR;
+-        ret = iconv(cur_to_euc,in_buf,in_len,out_buf,out_len);
++        ret = iconv(cur_to_euc,(const char **)in_buf,in_len,out_buf,out_len);
+       if (ret != ((size_t)-1)) 
+           ret = iconv(cur_to_euc, NULL, in_len, out_buf, out_len);
+ #if defined (HAVE_ERRNO_H) && defined (E2BIG)
+@@ -770,7 +770,7 @@
+         size_t ret;
+         if (euc_to_cur == (iconv_t) -1)
+           return CODECONV_ERROR;
+-        ret = iconv(euc_to_cur,in_buf,in_len,out_buf,out_len);
++        ret = iconv(euc_to_cur,(const char **)in_buf,in_len,out_buf,out_len);
+         if (ret != ((size_t)-1))
+           ret = iconv(euc_to_cur,NULL,in_len,out_buf,out_len);
+ #if defined (HAVE_ERRNO_H) && defined (E2BIG)



Home | Main Index | Thread Index | Old Index