Import of pkgsrc-2014Q1

This commit is contained in:
2014-04-17 16:38:45 +02:00
parent 785076ae39
commit 9a8c06dafb
19365 changed files with 828089 additions and 278039 deletions

View File

@@ -1,10 +1,10 @@
# $NetBSD: Makefile,v 1.3 2012/10/25 06:56:07 asau Exp $
# $NetBSD: Makefile,v 1.5 2014/02/13 00:58:22 minskim Exp $
DISTNAME= texlive-20110705-source
DISTNAME= texlive-20130530-source
PKGNAME= mendexk-2.6f
PKGREVISION= 1
PKGREVISION= 3
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_TEX_CTAN:=systems/texlive/Source/}
MASTER_SITES= ftp://tug.org/historic/systems/texlive/2013/
EXTRACT_SUFX= .tar.xz
MAINTAINER= minskim@NetBSD.org
@@ -25,8 +25,8 @@ CONFIGURE_ARGS+= --with-system-kpathsea \
--with-kpathsea-includes=${BUILDLINK_PREFIX.kpathsea}/include \
--with-kpathsea-libdir=${BUILDLINK_PREFIX.kpathsea}/lib \
--with-system-ptexenc \
--with-kpathsea-includes=${BUILDLINK_PREFIX.ptexenc}/include \
--with-kpathsea-libdir=${BUILDLINK_PREFIX.ptexenc}/lib
--with-ptexenc-includes=${BUILDLINK_PREFIX.ptexenc}/include \
--with-ptexenc-libdir=${BUILDLINK_PREFIX.ptexenc}/lib
.include "../../print/kpathsea/buildlink3.mk"
.include "../../print/ptexenc/buildlink3.mk"

View File

@@ -1,5 +1,6 @@
$NetBSD: distinfo,v 1.2 2012/03/03 22:13:39 minskim Exp $
$NetBSD: distinfo,v 1.4 2014/02/13 00:58:22 minskim Exp $
SHA1 (texlive-20110705-source.tar.xz) = 7a47cfe847801c86c98da8ade181baf97339f6e4
RMD160 (texlive-20110705-source.tar.xz) = fbcad494cc4717a0238ab2624f259270fce9332b
Size (texlive-20110705-source.tar.xz) = 131207904 bytes
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

View File

@@ -0,0 +1,25 @@
$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);
}
}