pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/mendexk Update to texlive 2014 version.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ad9ec6596545
branches:  trunk
changeset: 650633:ad9ec6596545
user:      markd <markd%pkgsrc.org@localhost>
date:      Sat Apr 25 10:03:52 2015 +0000

description:
Update to texlive 2014 version.

   * fread.c (copy_multibyte_char): Avoid ambiguous operation.
   * fread.c: Add copy_multibyte_char() to
     copy multibyte character correctly.
   * fread.c: Wide char is not always even bytes in getestr().
   * convert.c: Add (unsigned char*) cast arg1 of UTF8StoUCS().
   * fwrite.c: Declare fprint_euc_char() as static.
   * main.c: Add TeX Live version.
   * {main,convert,fread,fwrite,styfile}.c, kana.h,
     mendex.doc, mendex.1: Add a new option -I to switch
     internal buffers for key words to EUC-JP or UTF-8.
   * mendex.1: Fix usage.
   * convert.c: Allow longer words in dictionary.
   * fwrite.c:  Make a buffer size larger.
   * fwrite.c: Replace sprintf with snprintf.
   * fread.c: Allow lines with only a line ending in mfgets(),
     because dictionary files with DOS line endings can't be read.

diffstat:

 textproc/mendexk/Makefile               |   9 +++++----
 textproc/mendexk/distinfo               |   9 ++++-----
 textproc/mendexk/patches/patch-fwrite.c |  25 -------------------------
 3 files changed, 9 insertions(+), 34 deletions(-)

diffs (68 lines):

diff -r 5baa845de7ec -r ad9ec6596545 textproc/mendexk/Makefile
--- a/textproc/mendexk/Makefile Sat Apr 25 09:53:16 2015 +0000
+++ b/textproc/mendexk/Makefile Sat Apr 25 10:03:52 2015 +0000
@@ -1,10 +1,10 @@
-# $NetBSD: Makefile,v 1.6 2015/02/23 18:28:52 joerg Exp $
+# $NetBSD: Makefile,v 1.7 2015/04/25 10:03:52 markd Exp $
 
-DISTNAME=      texlive-20130530-source
+DISTNAME=      texlive-20140525-source
 PKGNAME=       mendexk-2.6f
-PKGREVISION=   3
+PKGREVISION=   4
 CATEGORIES=    textproc
-MASTER_SITES=  ftp://tug.org/historic/systems/texlive/2013/
+MASTER_SITES=  ftp://tug.org/historic/systems/texlive/2014/
 EXTRACT_SUFX=  .tar.xz
 
 MAINTAINER=    minskim%NetBSD.org@localhost
@@ -32,5 +32,6 @@
                --with-ptexenc-libdir=${BUILDLINK_PREFIX.ptexenc}/lib
 
 .include "../../print/kpathsea/buildlink3.mk"
+BUILDLINK_API_DEPENDS.ptexenc+= ptexenc>=1.3.2
 .include "../../print/ptexenc/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 5baa845de7ec -r ad9ec6596545 textproc/mendexk/distinfo
--- a/textproc/mendexk/distinfo Sat Apr 25 09:53:16 2015 +0000
+++ b/textproc/mendexk/distinfo Sat Apr 25 10:03:52 2015 +0000
@@ -1,6 +1,5 @@
-$NetBSD: distinfo,v 1.4 2014/02/13 00:58:22 minskim Exp $
+$NetBSD: distinfo,v 1.5 2015/04/25 10:03:52 markd Exp $
 
-SHA1 (texlive-20130530-source.tar.xz) = 42f0a6fa3f49435991182f14e01276b2ee3fce61
-RMD160 (texlive-20130530-source.tar.xz) = 2d779ae5de979be86a9258b224dfc15cbcd76b18
-Size (texlive-20130530-source.tar.xz) = 179963948 bytes
-SHA1 (patch-fwrite.c) = 39b81b60edd4d056260723962879aff6b340a677
+SHA1 (texlive-20140525-source.tar.xz) = 8cb283ad26b1fe18e1089820cf64ecc63d8224e8
+RMD160 (texlive-20140525-source.tar.xz) = c9fb954e63e700d06aa0cf40c37cdb40eaac84a2
+Size (texlive-20140525-source.tar.xz) = 41657688 bytes
diff -r 5baa845de7ec -r ad9ec6596545 textproc/mendexk/patches/patch-fwrite.c
--- a/textproc/mendexk/patches/patch-fwrite.c   Sat Apr 25 09:53:16 2015 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,25 +0,0 @@
-$NetBSD: patch-fwrite.c,v 1.1 2014/02/13 00:58:22 minskim Exp $
-
-Fix https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=534641.
-Patch from TeX Live svn r31621.
-
---- fwrite.c.orig      2012-10-16 08:06:04.000000000 +0000
-+++ fwrite.c
-@@ -15,7 +15,7 @@ static int range_check(struct index ind,
- static void linecheck(char *lbuff, char *tmpbuff);
- static void crcheck(char *lbuff, FILE *fp);
- 
--#define TAIL(x) (x+strlen(x))
-+#define TAIL(x) ((x)+strlen(x))
- 
- /* if we don't have vsnprintf() */
- /* #define vsnprintf(buff,len,format,argptr) vsprintf(buff,format,argptr) */
-@@ -385,7 +385,7 @@ static int range_check(struct index ind,
-                                       }
-                                       if (strlen(ind.p[j].enc)>0) {
-                                               sprintf(tmpbuff,"%s%s%s",encap_prefix,ind.p[j].enc,encap_infix);
--                                              sprintf(tmpbuff,"%s%s%s",ind.p[j].page,encap_suffix,delim_n);
-+                                              sprintf(TAIL(tmpbuff),"%s%s%s",ind.p[j].page,encap_suffix,delim_n);
-                                               linecheck(lbuff,tmpbuff);
-                                       }
-                               }



Home | Main Index | Thread Index | Old Index