unlinked from builds more than 14 month ago, time to say goodbye
This commit is contained in:
parent
f0884d2dc8
commit
d4e9b85f7f
@ -1,7 +0,0 @@
|
||||
# $OpenBSD: Makefile,v 1.7 2003/04/04 21:19:23 sturm Exp $
|
||||
|
||||
SUBDIR += texmf
|
||||
SUBDIR += base
|
||||
SUBDIR += base,no_x11
|
||||
|
||||
.include <bsd.port.subdir.mk>
|
@ -1,15 +0,0 @@
|
||||
# $OpenBSD: Makefile.inc,v 1.3 2005/02/21 21:36:06 sturm Exp $
|
||||
|
||||
HOMEPAGE= http://www.tug.org/tetex/
|
||||
MAINTAINER= Nikolay Sturm <sturm@openbsd.org>
|
||||
|
||||
# GPL
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
PERMIT_PACKAGE_FTP?= Yes
|
||||
|
||||
MASTER_SITES= ${MASTER_SITE_TEX_CTAN:=systems/unix/teTeX/3.0/distrib/}
|
||||
DIST_SUBDIR= teTeX
|
||||
|
||||
TEXMF_DIR= ${PREFIX}/share/texmf-dist
|
@ -1,95 +0,0 @@
|
||||
# $OpenBSD: Makefile,v 1.47 2007/09/15 21:36:45 merdely Exp $
|
||||
|
||||
COMMENT-main= TeX distribution, executables
|
||||
COMMENT-fmt= format files
|
||||
|
||||
VERSION= 3.0
|
||||
DISTNAME= tetex-base-${VERSION}
|
||||
PKGNAME-main= teTeX_base-${VERSION}p9
|
||||
FULLPKGNAME-fmt=teTeX_base-fmt-${VERSION}p0
|
||||
CATEGORIES= print
|
||||
|
||||
DISTFILES= tetex-src-${VERSION}.tar.gz
|
||||
|
||||
|
||||
BUILD_DEPENDS= :teTeX_texmf->=3.0:print/teTeX/texmf
|
||||
|
||||
WANTLIB-main= c m ncurses stdc++ z
|
||||
LIB_DEPENDS-main= png.>=3::graphics/png
|
||||
RUN_DEPENDS-main= :teTeX_base-fmt-${VERSION}:print/teTeX/base,-fmt \
|
||||
:texi2html->=1.56:textproc/texi2html
|
||||
|
||||
WANTLIB-fmt=
|
||||
LIB_DEPENDS-fmt=
|
||||
PREFIX-fmt= /var
|
||||
RUN_DEPENDS-fmt= :teTeX_texmf->=3.0:print/teTeX/texmf
|
||||
|
||||
CONFIGURE_STYLE=gnu dest
|
||||
|
||||
MODGNU_CONFIG_GUESS_DIRS= ${WRKSRC}/config \
|
||||
${WRKSRC}/libs/ncurses \
|
||||
${WRKSRC}/texk \
|
||||
${WRKSRC}/utils/texinfo
|
||||
|
||||
CONFIGURE_ARGS= --disable-multiplatform \
|
||||
--without-texinfo \
|
||||
--with-system-ncurses \
|
||||
--with-system-pnglib \
|
||||
--with-pnglib-libdir=${PREFIX}/lib \
|
||||
--with-pnglib-include=${PREFIX}/include/libpng \
|
||||
--with-system-zlib
|
||||
|
||||
FLAVORS= no_x11
|
||||
FLAVOR?=
|
||||
MULTI_PACKAGES= -main -fmt
|
||||
|
||||
.if ${FLAVOR:L:Mno_x11}
|
||||
CONFIGURE_ARGS+=--without-x
|
||||
. if ${MACHINE_ARCH} == "sparc64"
|
||||
PATCH_LIST= patch-* gcc-*
|
||||
. endif
|
||||
.else
|
||||
CONFIGURE_ARGS+=--with-system-t1lib \
|
||||
--with-t1lib-libdir=${PREFIX}/lib \
|
||||
--with-t1lib-include=${PREFIX}/include \
|
||||
--with-xdvi-x-toolkit=xaw
|
||||
USE_X11= Yes
|
||||
USE_LIBTOOL= Yes
|
||||
LIBTOOL_FLAGS= --tag=disable-shared
|
||||
LIB_DEPENDS-main+= t1.>=4::devel/t1lib
|
||||
WANTLIB-main+= ICE SM X11 Xau Xaw Xdmcp Xext Xmu Xp Xpm Xt
|
||||
RUN_DEPENDS-main+= :ghostscript-*:print/ghostscript/gnu
|
||||
.endif
|
||||
|
||||
|
||||
WRKDIST= ${WRKDIR}/${DISTNAME:S/base/src/}
|
||||
TETEX_EXDIR= ${PREFIX}/share/examples/teTeX
|
||||
|
||||
# find texmf after fake
|
||||
REGRESS_FLAGS= DESTDIR="${WRKINST}"
|
||||
|
||||
post-configure:
|
||||
@perl -pi -e "s,\@sysconfdir\@,${SYSCONFDIR}," \
|
||||
${WRKSRC}/texk/kpathsea/texmf.in-teTeX
|
||||
|
||||
# need the texmf part visible...
|
||||
pre-fake:
|
||||
${INSTALL_DATA_DIR} ${TEXMF_DIR}
|
||||
${INSTALL_DATA_DIR} ${WRKINST}/var/texmf
|
||||
lndir ${TRUEPREFIX}/share/texmf-dist ${TEXMF_DIR}
|
||||
# mktexlsr is too smart for its own good
|
||||
rm ${TEXMF_DIR}/ls-R
|
||||
|
||||
post-install:
|
||||
@cp ${PREFIX}/share/texmf/web2c/texmf.cnf \
|
||||
${PREFIX}/share/texmf/web2c/texmf.cnf.dist
|
||||
${INSTALL_DATA_DIR} ${TETEX_EXDIR}
|
||||
${INSTALL_DATA} files/tetex.cfg ${TETEX_EXDIR}/tetex.cfg
|
||||
${INSTALL_SCRIPT} files/tetex_setup.sh ${PREFIX}/bin/tetex_setup
|
||||
@perl -i -pe "s#%%SYSCONFDIR%%#${SYSCONFDIR}#;" \
|
||||
-e "s#%%PREFIX%%#${TRUEPREFIX}#;" ${PREFIX}/bin/tetex_setup
|
||||
|
||||
# need the texmf part visible...
|
||||
pre-regress: fake
|
||||
|
||||
.include <bsd.port.mk>
|
@ -1,5 +0,0 @@
|
||||
MD5 (teTeX/tetex-src-3.0.tar.gz) = lEpGQeeeYQQ/2vjzjsu0sw==
|
||||
RMD160 (teTeX/tetex-src-3.0.tar.gz) = FaE59fNpk+TtNYMmDhdc+xPOe8w=
|
||||
SHA1 (teTeX/tetex-src-3.0.tar.gz) = djd4n39JKWlK7RuJgg9brUdT6Pw=
|
||||
SHA256 (teTeX/tetex-src-3.0.tar.gz) = nA9+rrW6bcb2ZDNATSZJQb+Vze0vp5ix96ndWAwhZJs=
|
||||
SIZE (teTeX/tetex-src-3.0.tar.gz) = 12749314
|
@ -1,26 +0,0 @@
|
||||
# $OpenBSD: tetex.cfg,v 1.3 2005/02/21 21:36:07 sturm Exp $
|
||||
|
||||
# teTeX is normally configured interactively through the use of
|
||||
# texconfig. To make your configuration persistent between updates
|
||||
# of teTeX, this port (and NOT teTeX itself!) contains this simplified
|
||||
# configuration file, which is parsed by tetex_setup. If you have any
|
||||
# questions or suggestions for improvement, please contact the
|
||||
# MAINTAINER of this port.
|
||||
|
||||
# Any changes made to this file will only take effect, when running
|
||||
# tetex_setup! You have to run tetex_setup everytime you install the
|
||||
# port.
|
||||
|
||||
# for a list of supported modes, run "texconfig mode"
|
||||
MODE="ljfour"
|
||||
|
||||
# default papersizes, for a list of supported papersizes, run
|
||||
PS_DVIPDFM="a4" # texconfig dvipdfm paper
|
||||
PS_DVIPS="a4" # texconfig dvips paper
|
||||
PS_PDFTEX="a4" # texconfig pdftex paper
|
||||
PS_XDVI="a4" # texconfig xdvi paper
|
||||
|
||||
# For printing, the output will be piped to DVIPS_PRINTCMD.
|
||||
# Typically, DVIPS_PRINTCMD is set to "lpr" or "lpr -P foo".
|
||||
# Set to "-" to disable direct printing.
|
||||
DVIPS_PRINTCMD="-"
|
@ -1,33 +0,0 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# $OpenBSD: tetex_setup.sh,v 1.3 2005/02/21 21:36:07 sturm Exp $
|
||||
#
|
||||
# This file is NOT part of teTeX itself, but only of the OpenBSD port of
|
||||
# teTeX. For questions please contact the port's MAINTAINER.
|
||||
#
|
||||
|
||||
. %%SYSCONFDIR%%/tetex.cfg
|
||||
|
||||
TEXCONFIG=%%PREFIX%%/bin/texconfig-sys
|
||||
|
||||
if [ "X${MODE}" != "X" ]; then
|
||||
$TEXCONFIG mode $MODE
|
||||
$TEXCONFIG dvips mode $MODE
|
||||
fi
|
||||
|
||||
if [ "X${PS_DVIPDFM}" != "X" ]; then
|
||||
$TEXCONFIG dvipdfm paper $PS_DVIPDFM
|
||||
fi
|
||||
if [ "X${PS_DVIPS}" != "X" ]; then
|
||||
$TEXCONFIG dvips paper $PS_DVIPS
|
||||
fi
|
||||
if [ "X${PS_PDFTEX}" != "X" ]; then
|
||||
$TEXCONFIG pdftex paper $PS_PDFTEX
|
||||
fi
|
||||
if [ "X${PS_XDVI}" != "X" ]; then
|
||||
$TEXCONFIG xdvi paper $PS_XDVI
|
||||
fi
|
||||
|
||||
if [ "X${DVIPS_PRINTCMD}" != "X" ]; then
|
||||
$TEXCONFIG dvips printcmd $DVIPS_PRINTCMD
|
||||
fi
|
@ -1,13 +0,0 @@
|
||||
$OpenBSD: gcc-libs_type1_Makefile_in,v 1.1 2005/03/22 20:48:10 sturm Exp $
|
||||
--- libs/type1/Makefile.in.orig Thu Mar 10 08:09:35 2005
|
||||
+++ libs/type1/Makefile.in Thu Mar 10 08:10:42 2005
|
||||
@@ -12,6 +12,9 @@ libtype1.a: $(OBJS)
|
||||
$(AR) $(ARFLAGS) $@ $(OBJS)
|
||||
$(RANLIB) $@
|
||||
|
||||
+type1.o: type1.c
|
||||
+ $(compile) -O1 -c $? -o $@
|
||||
+
|
||||
all: libtype1.a
|
||||
uninstall:
|
||||
|
@ -1,41 +0,0 @@
|
||||
$OpenBSD: patch-Makefile_in,v 1.2 2005/03/03 20:55:41 sturm Exp $
|
||||
--- Makefile.in.orig Sun Feb 20 09:21:55 2005
|
||||
+++ Makefile.in Sun Feb 20 11:08:03 2005
|
||||
@@ -47,6 +47,10 @@ LIBSDIRS = @LIBSDIRS@
|
||||
# install kpathsea and friends by default.
|
||||
INSTDIRS = @INSTDIRS@
|
||||
|
||||
+TETEXENV=TEXMFDIST="$(texmf)"-dist TEXMFLOCAL="$(texmf)"-local \
|
||||
+ TEXMFSYSVAR=${DESTDIR}/var/texmf \
|
||||
+ TEXMFSYSCONFIG=${DESTDIR}${SYSCONFDIR}/texmf
|
||||
+
|
||||
default: all
|
||||
install: all
|
||||
for dir in $(INSTDIRS); do \
|
||||
@@ -65,22 +69,22 @@ install: all
|
||||
$(srcdir)/selfautofix "$(bindir)" "$(texmf)/web2c"
|
||||
- if test -f $(scriptdir)/mktexlsr; then \
|
||||
TEXMFMAIN=$(texmf) PATH=$(scriptdir):$(bindir):$(PATH) \
|
||||
- $(scriptdir)/mktexlsr; \
|
||||
+ ${TETEXENV} $(scriptdir)/mktexlsr; \
|
||||
else :; fi
|
||||
- if test -f $(scriptdir)/fmtutil-sys; then \
|
||||
TEXMFMAIN=$(texmf) PATH=$(scriptdir):$(bindir):$(PATH) \
|
||||
- $(scriptdir)/fmtutil-sys --all; \
|
||||
+ ${TETEXENV} $(scriptdir)/fmtutil-sys --all; \
|
||||
else :; fi
|
||||
- if test -f $(scriptdir)/texlinks; then \
|
||||
TEXMFMAIN=$(texmf) PATH=$(scriptdir):$(bindir):$(PATH) \
|
||||
- $(scriptdir)/texlinks; \
|
||||
+ ${TETEXENV} $(scriptdir)/texlinks; \
|
||||
else :; fi
|
||||
- if test -f $(scriptdir)/updmap-sys \
|
||||
&& TEXMFMAIN=$(texmf) PATH=$(scriptdir):$(bindir):$(PATH) \
|
||||
$(scriptdir)/kpsewhich --format='web2c files' updmap.cfg >/dev/null; \
|
||||
then \
|
||||
TEXMFMAIN=$(texmf) PATH=$(scriptdir):$(bindir):$(PATH) \
|
||||
- $(scriptdir)/updmap-sys; \
|
||||
+ ${TETEXENV} $(scriptdir)/updmap-sys; \
|
||||
else :; fi
|
||||
|
||||
install-exec:
|
@ -1,36 +0,0 @@
|
||||
$OpenBSD: patch-libs_xpdf_xpdf_Catalog_cc,v 1.2 2005/02/21 21:36:07 sturm Exp $
|
||||
--- libs/xpdf/xpdf/Catalog.cc.orig Thu Jan 22 02:26:45 2004
|
||||
+++ libs/xpdf/xpdf/Catalog.cc Thu Feb 10 22:18:02 2005
|
||||
@@ -22,6 +22,7 @@
|
||||
#include "Error.h"
|
||||
#include "Link.h"
|
||||
#include "Catalog.h"
|
||||
+#include <limits.h>
|
||||
|
||||
//------------------------------------------------------------------------
|
||||
// Catalog
|
||||
@@ -64,6 +65,12 @@ Catalog::Catalog(XRef *xrefA) {
|
||||
}
|
||||
pagesSize = numPages0 = (int)obj.getNum();
|
||||
obj.free();
|
||||
+ if ((pagesSize >= INT_MAX / sizeof(Page *)) ||
|
||||
+ (pagesSize >= INT_MAX / sizeof(Ref))) {
|
||||
+ error(-1, "Invalid 'pagesSize'");
|
||||
+ ok = gFalse;
|
||||
+ return;
|
||||
+ }
|
||||
pages = (Page **)gmalloc(pagesSize * sizeof(Page *));
|
||||
pageRefs = (Ref *)gmalloc(pagesSize * sizeof(Ref));
|
||||
for (i = 0; i < pagesSize; ++i) {
|
||||
@@ -191,6 +198,11 @@ int Catalog::readPageTree(Dict *pagesDic
|
||||
}
|
||||
if (start >= pagesSize) {
|
||||
pagesSize += 32;
|
||||
+ if ((pagesSize >= INT_MAX/sizeof(Page *)) ||
|
||||
+ (pagesSize >= INT_MAX/sizeof(Ref))) {
|
||||
+ error(-1, "Invalid 'pagesSize' parameter.");
|
||||
+ goto err3;
|
||||
+ }
|
||||
pages = (Page **)grealloc(pages, pagesSize * sizeof(Page *));
|
||||
pageRefs = (Ref *)grealloc(pageRefs, pagesSize * sizeof(Ref));
|
||||
for (j = pagesSize - 32; j < pagesSize; ++j) {
|
@ -1,28 +0,0 @@
|
||||
$OpenBSD: patch-libs_xpdf_xpdf_JPXStream_cc,v 1.1 2005/12/07 21:04:31 bernd Exp $
|
||||
--- libs/xpdf/xpdf/JPXStream.cc.orig Thu Jan 22 02:26:45 2004
|
||||
+++ libs/xpdf/xpdf/JPXStream.cc Wed Dec 7 12:06:35 2005
|
||||
@@ -666,7 +666,7 @@ GBool JPXStream::readCodestream(Guint le
|
||||
int segType;
|
||||
GBool haveSIZ, haveCOD, haveQCD, haveSOT;
|
||||
Guint precinctSize, style;
|
||||
- Guint segLen, capabilities, comp, i, j, r;
|
||||
+ Guint segLen, capabilities, nTiles, comp, i, j, r;
|
||||
|
||||
//----- main header
|
||||
haveSIZ = haveCOD = haveQCD = haveSOT = gFalse;
|
||||
@@ -701,8 +701,13 @@ GBool JPXStream::readCodestream(Guint le
|
||||
/ img.xTileSize;
|
||||
img.nYTiles = (img.ySize - img.yTileOffset + img.yTileSize - 1)
|
||||
/ img.yTileSize;
|
||||
- img.tiles = (JPXTile *)gmalloc(img.nXTiles * img.nYTiles *
|
||||
- sizeof(JPXTile));
|
||||
+ nTiles = img.nXTiles * img.nYTiles;
|
||||
+ // check for overflow before allocating memory
|
||||
+ if (nTiles == 0 || nTiles / img.nXTiles != img.nYTiles) {
|
||||
+ error(getPos(), "Bad tile count in JPX SIZ marker segment");
|
||||
+ return gFalse;
|
||||
+ }
|
||||
+ img.tiles = (JPXTile *)gmalloc(nTiles * sizeof(JPXTile));
|
||||
for (i = 0; i < img.nXTiles * img.nYTiles; ++i) {
|
||||
img.tiles[i].tileComps = (JPXTileComp *)gmalloc(img.nComps *
|
||||
sizeof(JPXTileComp));
|
@ -1,75 +0,0 @@
|
||||
$OpenBSD: patch-libs_xpdf_xpdf_Stream_cc,v 1.1 2005/12/07 21:04:31 bernd Exp $
|
||||
--- libs/xpdf/xpdf/Stream.cc.orig Thu Jan 22 02:26:45 2004
|
||||
+++ libs/xpdf/xpdf/Stream.cc Wed Dec 7 12:06:58 2005
|
||||
@@ -407,18 +407,33 @@ void ImageStream::skipLine() {
|
||||
|
||||
StreamPredictor::StreamPredictor(Stream *strA, int predictorA,
|
||||
int widthA, int nCompsA, int nBitsA) {
|
||||
+ int totalBits;
|
||||
+
|
||||
str = strA;
|
||||
predictor = predictorA;
|
||||
width = widthA;
|
||||
nComps = nCompsA;
|
||||
nBits = nBitsA;
|
||||
+ predLine = NULL;
|
||||
+ ok = gFalse;
|
||||
|
||||
nVals = width * nComps;
|
||||
+ totalBits = nVals * nBits;
|
||||
+ if (totalBits == 0 ||
|
||||
+ (totalBits / nBits) / nComps != width ||
|
||||
+ totalBits + 7 < 0) {
|
||||
+ return;
|
||||
+ }
|
||||
pixBytes = (nComps * nBits + 7) >> 3;
|
||||
- rowBytes = ((nVals * nBits + 7) >> 3) + pixBytes;
|
||||
+ rowBytes = ((totalBits + 7) >> 3) + pixBytes;
|
||||
+ if (rowBytes < 0) {
|
||||
+ return;
|
||||
+ }
|
||||
predLine = (Guchar *)gmalloc(rowBytes);
|
||||
memset(predLine, 0, rowBytes);
|
||||
predIdx = rowBytes;
|
||||
+
|
||||
+ ok = gTrue;
|
||||
}
|
||||
|
||||
StreamPredictor::~StreamPredictor() {
|
||||
@@ -1012,6 +1027,10 @@ LZWStream::LZWStream(Stream *strA, int p
|
||||
FilterStream(strA) {
|
||||
if (predictor != 1) {
|
||||
pred = new StreamPredictor(this, predictor, columns, colors, bits);
|
||||
+ if (!pred->isOk()) {
|
||||
+ delete pred;
|
||||
+ pred = NULL;
|
||||
+ }
|
||||
} else {
|
||||
pred = NULL;
|
||||
}
|
||||
@@ -2897,6 +2916,14 @@ GBool DCTStream::readBaselineSOF() {
|
||||
height = read16();
|
||||
width = read16();
|
||||
numComps = str->getChar();
|
||||
+ if (numComps <= 0 || numComps > 4) {
|
||||
+ error(getPos(), "Bad number of components in DCT stream", prec);
|
||||
+ return gFalse;
|
||||
+ }
|
||||
+ if (numComps <= 0 || numComps > 4) {
|
||||
+ error(getPos(), "Bad number of components in DCT stream", prec);
|
||||
+ return gFalse;
|
||||
+ }
|
||||
if (prec != 8) {
|
||||
error(getPos(), "Bad DCT precision %d", prec);
|
||||
return gFalse;
|
||||
@@ -3255,6 +3282,10 @@ FlateStream::FlateStream(Stream *strA, i
|
||||
FilterStream(strA) {
|
||||
if (predictor != 1) {
|
||||
pred = new StreamPredictor(this, predictor, columns, colors, bits);
|
||||
+ if (!pred->isOk()) {
|
||||
+ delete pred;
|
||||
+ pred = NULL;
|
||||
+ }
|
||||
} else {
|
||||
pred = NULL;
|
||||
}
|
@ -1,20 +0,0 @@
|
||||
$OpenBSD: patch-libs_xpdf_xpdf_Stream_h,v 1.1 2005/12/07 21:04:31 bernd Exp $
|
||||
--- libs/xpdf/xpdf/Stream.h.orig Thu Jan 22 02:26:45 2004
|
||||
+++ libs/xpdf/xpdf/Stream.h Wed Dec 7 12:07:01 2005
|
||||
@@ -233,6 +233,8 @@ public:
|
||||
|
||||
~StreamPredictor();
|
||||
|
||||
+ GBool isOk() { return ok; }
|
||||
+
|
||||
int lookChar();
|
||||
int getChar();
|
||||
|
||||
@@ -250,6 +252,7 @@ private:
|
||||
int rowBytes; // bytes per line
|
||||
Guchar *predLine; // line buffer
|
||||
int predIdx; // current index in predLine
|
||||
+ GBool ok;
|
||||
};
|
||||
|
||||
//------------------------------------------------------------------------
|
@ -1,22 +0,0 @@
|
||||
$OpenBSD: patch-libs_xpdf_xpdf_XRef_cc,v 1.3 2005/02/21 21:36:07 sturm Exp $
|
||||
--- libs/xpdf/xpdf/XRef.cc.orig Wed Jan 19 13:09:57 2005
|
||||
+++ libs/xpdf/xpdf/XRef.cc Thu Feb 10 22:18:03 2005
|
||||
@@ -28,6 +28,7 @@
|
||||
#include "Error.h"
|
||||
#include "ErrorCodes.h"
|
||||
#include "XRef.h"
|
||||
+#include <limits.h>
|
||||
|
||||
//------------------------------------------------------------------------
|
||||
|
||||
@@ -741,6 +742,10 @@ GBool XRef::constructXRef() {
|
||||
} else if (!strncmp(p, "endstream", 9)) {
|
||||
if (streamEndsLen == streamEndsSize) {
|
||||
streamEndsSize += 64;
|
||||
+ if (streamEndsSize >= INT_MAX/sizeof(int)) {
|
||||
+ error(-1, "Invalid 'endstream' parameter.");
|
||||
+ return gFalse;
|
||||
+ }
|
||||
streamEnds = (Guint *)grealloc(streamEnds,
|
||||
streamEndsSize * sizeof(int));
|
||||
}
|
@ -1,49 +0,0 @@
|
||||
$OpenBSD: patch-texk_dviljk_dvi2xx_c,v 1.1 2003/02/18 16:04:50 sturm Exp $
|
||||
--- texk/dviljk/dvi2xx.c.orig Sat Feb 6 22:46:34 1999
|
||||
+++ texk/dviljk/dvi2xx.c Mon Dec 16 20:56:42 2002
|
||||
@@ -4107,13 +4107,17 @@ int n;
|
||||
char *printer = "ljetplus"; /* use the most stupid one */
|
||||
|
||||
|
||||
- char scale_file_name[255];
|
||||
- char *scale_file = tmpnam(scale_file_name);
|
||||
- char *pcl_file = tmpnam(NULL);
|
||||
- FILEPTR scalef;
|
||||
+ char scale_file_name[] = "/tmp/dvi_scale.XXXXXXXXXX";
|
||||
+ int scale_fd = mkstemp(scale_file_name);
|
||||
+ FILEPTR scalef = fdopen(scale_fd, "w");
|
||||
|
||||
- if ( (scalef = BOUTOPEN(scale_file)) == FPNULL ) {
|
||||
- Warning("Unable to open file %s for writing", scale_file );
|
||||
+ char pcl_file_name[] = "/tmp/dvi_pcl.XXXXXXXXXX";
|
||||
+ int pcl_fd = mkstemp(pcl_file_name);
|
||||
+ close(pcl_fd);
|
||||
+
|
||||
+ if ( scalef == FPNULL ) {
|
||||
+ Warning("Unable to open file %s for writing", scale_file_name );
|
||||
+ close(scale_fd);
|
||||
return;
|
||||
}
|
||||
fprintf(scalef, "%.2f %.2f scale\n%d %d translate\n",
|
||||
@@ -4126,10 +4130,10 @@ int n;
|
||||
if (!gs_path)
|
||||
gs_path = "gswin32c.exe";
|
||||
sprintf(cmd,"%s -q -dSIMPLE -dSAFER -dNOPAUSE -sDEVICE=%s -sOutputFile=%s %s %s showpage.ps -c quit",
|
||||
- gs_path, printer, pcl_file, scale_file, psfile);
|
||||
+ gs_path, printer, pcl_file_name, scale_file_name, psfile);
|
||||
#else
|
||||
sprintf(cmd,"gs -q -dSIMPLE -dSAFER -dNOPAUSE -sDEVICE=%s -sOutputFile=%s %s %s showpage.ps -c quit",
|
||||
- printer, pcl_file, scale_file, psfile);
|
||||
+ printer, pcl_file_name, scale_file_name, psfile);
|
||||
#endif
|
||||
#ifdef DEBUGGS
|
||||
fprintf(stderr,
|
||||
@@ -4157,7 +4161,7 @@ int n;
|
||||
(int)PIXROUND(v, vconv) + y_goffset);
|
||||
#endif
|
||||
|
||||
- CopyHPFile( pcl_file );
|
||||
+ CopyHPFile( pcl_file_name );
|
||||
/* unlink(pcl_file); */
|
||||
/* unlink(scale_file); */
|
||||
}
|
@ -1,38 +0,0 @@
|
||||
$OpenBSD: patch-texk_dvipdfm_psimage_c,v 1.1 2003/02/18 16:04:50 sturm Exp $
|
||||
--- texk/dvipdfm/psimage.c.orig Thu Jun 28 21:55:26 2001
|
||||
+++ texk/dvipdfm/psimage.c Thu Dec 26 16:14:43 2002
|
||||
@@ -113,10 +113,18 @@ pdf_obj *ps_include (char *file_name,
|
||||
{
|
||||
#ifdef HAVE_SYSTEM
|
||||
pdf_obj *result = NULL;
|
||||
- char *tmp, *cmd;
|
||||
+ char *cmd, tmp[30];
|
||||
FILE *pdf_file = NULL;
|
||||
- /* Get a full qualified tmp name */
|
||||
- tmp = tmpnam (NULL);
|
||||
+ int fd = -1;
|
||||
+
|
||||
+ strlcpy(tmp, "/tmp/dvipdfm.XXXXXXXXXXXX", sizeof(tmp));
|
||||
+ /* Get a full qualified tmp name and create it in one operation */
|
||||
+ if ((fd=mkstemp(tmp)) == -1) {
|
||||
+ fprintf(stderr, "\nError opening tmp file %s: %s\n", tmp, strerror(errno));
|
||||
+ return NULL;
|
||||
+ }
|
||||
+ close(fd);
|
||||
+
|
||||
if ((cmd = build_command_line (file_name, tmp))) {
|
||||
if (!system (cmd) && (pdf_file = MFOPEN (tmp, FOPEN_RBIN_MODE))) {
|
||||
result = pdf_include_page (pdf_file, p, res_name);
|
||||
@@ -125,10 +133,11 @@ pdf_obj *ps_include (char *file_name,
|
||||
}
|
||||
if (pdf_file) {
|
||||
MFCLOSE (pdf_file);
|
||||
- remove (tmp);
|
||||
}
|
||||
RELEASE (cmd);
|
||||
}
|
||||
+
|
||||
+ unlink(tmp);
|
||||
return result;
|
||||
#else
|
||||
fprintf (stderr, "\n\nCannot include PS/EPS files unless you have and enable system() command.\n");
|
@ -1,19 +0,0 @@
|
||||
$OpenBSD: patch-texk_dvipng_special_c,v 1.1 2005/02/21 21:36:07 sturm Exp $
|
||||
--- texk/dvipng/special.c.orig Fri Feb 11 22:21:48 2005
|
||||
+++ texk/dvipng/special.c Fri Feb 11 22:22:11 2005
|
||||
@@ -103,13 +103,13 @@ ps2png(const char *psfile, int hresoluti
|
||||
"-dBATCH", "-dNOPAUSE", "-q",
|
||||
"-sOutputFile=-",
|
||||
"-dTextAlphaBits=4", "-dGraphicsAlphaBits=4",
|
||||
- "-",NULL);
|
||||
+ "-",(void *)NULL);
|
||||
else
|
||||
execl (GS_PATH, GS_PATH, device, resolution, /*devicesize,*/
|
||||
"-dBATCH", "-dNOPAUSE", "-dSAFER", "-q",
|
||||
"-sOutputFile=-",
|
||||
"-dTextAlphaBits=4", "-dGraphicsAlphaBits=4",
|
||||
- "-",NULL);
|
||||
+ "-",(void *)NULL);
|
||||
_exit (EXIT_FAILURE);
|
||||
}
|
||||
/* Parent process. */
|
@ -1,12 +0,0 @@
|
||||
$OpenBSD: patch-texk_gsftopk_gsftopk_c,v 1.2 2005/02/21 21:36:07 sturm Exp $
|
||||
--- texk/gsftopk/gsftopk.c.orig Fri Feb 6 22:20:54 2004
|
||||
+++ texk/gsftopk/gsftopk.c Thu Feb 10 22:18:03 2005
|
||||
@@ -2586,7 +2586,7 @@ Author of gsftopk: Paul Vojta.");
|
||||
execlp(gspath, "gs", "-dNODISPLAY", "-dNOGC", substarg, "-q", "--",
|
||||
/* render.ps */ searchpath,
|
||||
PSname,
|
||||
- dlstring != NULL ? dlstring : "", specinfo, dpistr, NULL);
|
||||
+ dlstring != NULL ? dlstring : "", specinfo, dpistr, (void *)NULL);
|
||||
if (col != 0) {
|
||||
putc('\n', stderr);
|
||||
col = 0;
|
@ -1,21 +0,0 @@
|
||||
$OpenBSD: patch-texk_kpathsea_texmf_in-teTeX,v 1.1 2005/02/21 21:36:07 sturm Exp $
|
||||
--- texk/kpathsea/texmf.in-teTeX.orig Sun Feb 20 11:43:44 2005
|
||||
+++ texk/kpathsea/texmf.in-teTeX Sun Feb 20 11:44:33 2005
|
||||
@@ -72,7 +72,7 @@ TEXMFLOCAL = @texmf@-local
|
||||
% TEXMFSYSVAR = $TEXMFMAIN
|
||||
% For using a separate tree:
|
||||
% TEXMFSYSVAR = @texmf@-var
|
||||
-TEXMFSYSVAR = @texmf@-var
|
||||
+TEXMFSYSVAR = /var/texmf
|
||||
|
||||
% TEXMFSYSCONFIG, where texconfig-sys stores configuration data.
|
||||
% With teTeX-3.0 or later, this must be set.
|
||||
@@ -80,7 +80,7 @@ TEXMFSYSVAR = @texmf@-var
|
||||
% TEXMFSYSCONFIG = $TEXMFMAIN
|
||||
% For using a separate tree:
|
||||
% TEXMFSYSCONFIG = @texmf@-config
|
||||
-TEXMFSYSCONFIG = @texmf@-config
|
||||
+TEXMFSYSCONFIG = @sysconfdir@/texmf
|
||||
|
||||
% User texmf trees can be catered for like this...
|
||||
% This used to be HOMETEXMF.
|
@ -1,228 +0,0 @@
|
||||
$OpenBSD: patch-texk_ps2pkm_paths_c,v 1.1 2005/02/21 21:36:07 sturm Exp $
|
||||
--- texk/ps2pkm/paths.c.orig Sun Feb 13 13:23:21 2005
|
||||
+++ texk/ps2pkm/paths.c Sun Feb 13 13:39:00 2005
|
||||
@@ -215,7 +215,7 @@ struct segment *t1_Loc(S, x, y)
|
||||
register struct segment *r;
|
||||
|
||||
|
||||
- IfTrace3((MustTraceCalls),"..Loc(S=%z, x=%f, y=%f)\n", S, &x, &y);
|
||||
+ IfTrace3((MustTraceCalls),"..Loc(S=%p, x=%f, y=%f)\n", S, x, y);
|
||||
|
||||
r = (struct segment *)Allocate(sizeof(struct segment), &movetemplate, 0);
|
||||
TYPECHECK("Loc", S, SPACETYPE, r, (0), struct segment *);
|
||||
@@ -236,7 +236,7 @@ struct segment *ILoc(S, x, y)
|
||||
{
|
||||
register struct segment *r;
|
||||
|
||||
- IfTrace3((MustTraceCalls),"..ILoc(S=%z, x=%d, y=%d)\n",
|
||||
+ IfTrace3((MustTraceCalls),"..ILoc(S=%p, x=%d, y=%d)\n",
|
||||
S, (LONG) x, (LONG) y);
|
||||
r = (struct segment *)Allocate(sizeof(struct segment), &movetemplate, 0);
|
||||
TYPECHECK("Loc", S, SPACETYPE, r, (0), struct segment *);
|
||||
@@ -262,7 +262,7 @@ struct segment *SubLoc(p1, p2)
|
||||
register struct segment *p1;
|
||||
register struct segment *p2;
|
||||
{
|
||||
- IfTrace2((MustTraceCalls),"SubLoc(%z, %z)\n", p1, p2);
|
||||
+ IfTrace2((MustTraceCalls),"SubLoc(%p, %p)\n", p1, p2);
|
||||
|
||||
ARGCHECK(!ISLOCATION(p1), "SubLoc: bad first arg", p1, NULL, (0), struct segment *);
|
||||
ARGCHECK(!ISLOCATION(p2), "SubLoc: bad second arg", p2, NULL, (0), struct segment *);
|
||||
@@ -307,7 +307,7 @@ struct segment *Line(P)
|
||||
register struct segment *P; /* relevant coordinate space */
|
||||
{
|
||||
|
||||
- IfTrace1((MustTraceCalls),"..Line(%z)\n", P);
|
||||
+ IfTrace1((MustTraceCalls),"..Line(%p)\n", P);
|
||||
ARGCHECK(!ISLOCATION(P), "Line: arg not a location", P, NULL, (0), struct segment *);
|
||||
|
||||
P = UniquePath(P);
|
||||
@@ -350,7 +350,7 @@ struct beziersegment *Bezier(B, C, D)
|
||||
|
||||
register struct beziersegment *r; /* output segment */
|
||||
|
||||
- IfTrace3((MustTraceCalls),"..Bezier(%z, %z, %z)\n", B, C, D);
|
||||
+ IfTrace3((MustTraceCalls),"..Bezier(%p, %p, %p)\n", B, C, D);
|
||||
ARGCHECK(!ISLOCATION(B), "Bezier: bad B", B, NULL, (2,C,D), struct beziersegment *);
|
||||
ARGCHECK(!ISLOCATION(C), "Bezier: bad C", C, NULL, (2,B,D), struct beziersegment *);
|
||||
ARGCHECK(!ISLOCATION(D), "Bezier: bad D", D, NULL, (2,B,C), struct beziersegment *);
|
||||
@@ -457,8 +457,8 @@ rules.
|
||||
struct segment *Join(p1, p2)
|
||||
register struct segment *p1,*p2;
|
||||
{
|
||||
- IfTrace2((MustTraceCalls && PathDebug > 1),"..Join(%z, %z)\n", p1, p2);
|
||||
- IfTrace2((MustTraceCalls && PathDebug <=1),"..Join(%x, %x)\n", p1, p2);
|
||||
+ IfTrace2((MustTraceCalls && PathDebug > 1),"..Join(%p, %p)\n", p1, p2);
|
||||
+ IfTrace2((MustTraceCalls && PathDebug <=1),"..Join(%p, %p)\n", p1, p2);
|
||||
/*
|
||||
We start with a whole bunch of very straightforward argument tests:
|
||||
*/
|
||||
@@ -613,7 +613,7 @@ struct segment *t1_ClosePath(p0,lastonly
|
||||
register fractpel firstx,firsty; /* start position of sub path */
|
||||
register struct segment *lastnonhint; /* last non-hint segment in path */
|
||||
|
||||
- IfTrace1((MustTraceCalls),"ClosePath(%z)\n", p0);
|
||||
+ IfTrace1((MustTraceCalls),"ClosePath(%p)\n", p0);
|
||||
if (p0 != NULL && p0->type == TEXTTYPE)
|
||||
return(UniquePath(p0));
|
||||
if (p0->type == STROKEPATHTYPE)
|
||||
@@ -661,7 +661,7 @@ At each break, we insert a close segment
|
||||
if (r->dest.x <= CLOSEFUDGE && r->dest.x >= -CLOSEFUDGE
|
||||
&& r->dest.y <= CLOSEFUDGE && r->dest.y >= -CLOSEFUDGE) {
|
||||
IfTrace2((PathDebug),
|
||||
- "ClosePath forced closed by (%p,%p)\n",
|
||||
+ "ClosePath forced closed by (%d,%d)\n",
|
||||
r->dest.x, r->dest.y);
|
||||
lastnonhint->dest.x += r->dest.x;
|
||||
lastnonhint->dest.y += r->dest.y;
|
||||
@@ -713,7 +713,7 @@ struct segment *Reverse(p)
|
||||
register struct segment *r; /* output path built here */
|
||||
register struct segment *nextp; /* contains next sub-path */
|
||||
|
||||
- IfTrace1((MustTraceCalls),"Reverse(%z)\n", p);
|
||||
+ IfTrace1((MustTraceCalls),"Reverse(%p)\n", p);
|
||||
|
||||
if (p == NULL)
|
||||
return(NULL);
|
||||
@@ -877,7 +877,7 @@ struct segment *ReverseSubPaths(p)
|
||||
register struct segment *nomove; /* the part of sub-path without move segment */
|
||||
struct fractpoint delta;
|
||||
|
||||
- IfTrace1((MustTraceCalls),"ReverseSubPaths(%z)\n", p);
|
||||
+ IfTrace1((MustTraceCalls),"ReverseSubPaths(%p)\n", p);
|
||||
|
||||
if (p == NULL)
|
||||
return(NULL);
|
||||
@@ -1032,7 +1032,7 @@ struct segment *PathTransform(p0, S)
|
||||
}
|
||||
|
||||
default:
|
||||
- IfTrace1(TRUE,"path = %z\n", p);
|
||||
+ IfTrace1(TRUE,"path = %p\n", p);
|
||||
t1_abort("PathTransform: invalid segment");
|
||||
}
|
||||
oldx += savex;
|
||||
@@ -1099,7 +1099,7 @@ void QueryLoc(P, S, xP, yP)
|
||||
register struct XYspace *S; /* XY space to return coordinates in */
|
||||
register DOUBLE *xP,*yP; /* coordinates returned here */
|
||||
{
|
||||
- IfTrace4((MustTraceCalls),"QueryLoc(P=%z, S=%z, (%x, %x))\n",
|
||||
+ IfTrace4((MustTraceCalls),"QueryLoc(P=%p, S=%p, (%p, %p))\n",
|
||||
P, S, xP, yP);
|
||||
if (!ISLOCATION(P)) {
|
||||
ArgErr("QueryLoc: first arg not a location", P, NULL);
|
||||
@@ -1132,7 +1132,7 @@ void QueryPath(path, typeP, Bp, Cp, Dp,
|
||||
{
|
||||
register int coerced = FALSE; /* did I coerce a text path? */
|
||||
|
||||
- IfTrace3((MustTraceCalls), "QueryPath(%z, %x, %x, ...)\n",
|
||||
+ IfTrace3((MustTraceCalls), "QueryPath(%p, %p, %p, ...)\n",
|
||||
path, typeP, Bp);
|
||||
if (path == NULL) {
|
||||
*typeP = -1;
|
||||
@@ -1210,8 +1210,8 @@ void QueryBounds(p0, S, xminP, yminP, xm
|
||||
int coerced = FALSE; /* we have coerced the path from another object */
|
||||
DOUBLE x1,y1,x2,y2,x3,y3,x4,y4; /* corners of rectangle in space X */
|
||||
|
||||
- IfTrace2((MustTraceCalls), "QueryBounds(%z, %z,", p0, S);
|
||||
- IfTrace4((MustTraceCalls), " %x, %x, %x, %x)\n",
|
||||
+ IfTrace2((MustTraceCalls), "QueryBounds(%p, %p,", p0, S);
|
||||
+ IfTrace4((MustTraceCalls), " %p, %p, %p, %p)\n",
|
||||
xminP, yminP, xmaxP, ymaxP);
|
||||
if (S->type != SPACETYPE) {
|
||||
ArgErr("QueryBounds: bad XYspace", S, NULL);
|
||||
@@ -1386,7 +1386,7 @@ to ask about an entire path.
|
||||
struct segment *DropSegment(path)
|
||||
register struct segment *path;
|
||||
{
|
||||
- IfTrace1((MustTraceCalls),"DropSegment(%z)\n", path);
|
||||
+ IfTrace1((MustTraceCalls),"DropSegment(%p)\n", path);
|
||||
if (path != NULL && path->type == STROKEPATHTYPE)
|
||||
path = CoercePath(path);
|
||||
ARGCHECK((path == NULL || !ISPATHANCHOR(path)),
|
||||
@@ -1408,7 +1408,7 @@ first segment only.
|
||||
struct segment *HeadSegment(path)
|
||||
register struct segment *path; /* input path */
|
||||
{
|
||||
- IfTrace1((MustTraceCalls),"HeadSegment(%z)\n", path);
|
||||
+ IfTrace1((MustTraceCalls),"HeadSegment(%p)\n", path);
|
||||
if (path == NULL)
|
||||
return(NULL);
|
||||
if (path->type == STROKEPATHTYPE)
|
||||
@@ -1438,7 +1438,7 @@ void DumpPath(p)
|
||||
register fractpel lastx,lasty;
|
||||
DOUBLE roundness;
|
||||
|
||||
- IfTrace1(TRUE,"Dumping path, anchor=%x:\n", p);
|
||||
+ IfTrace1(TRUE,"Dumping path, anchor=%p:\n", p);
|
||||
lastx = lasty = 0;
|
||||
|
||||
for (;p != NULL; p=p->link) {
|
||||
@@ -1450,13 +1450,13 @@ void DumpPath(p)
|
||||
|
||||
case LINETYPE:
|
||||
IfTrace1(TRUE,". line<%x> to", (LONG) p->flag);
|
||||
- IfTrace4(TRUE," (%p,%p), delta=(%p,%p)",
|
||||
+ IfTrace4(TRUE," (%d,%d), delta=(%d,%d)",
|
||||
x + lastx, y + lasty, x, y);
|
||||
break;
|
||||
|
||||
case MOVETYPE:
|
||||
IfTrace1(TRUE,"MOVE<%x> to", (LONG) p->flag);
|
||||
- IfTrace4(TRUE,"(%p,%p), delta=(%p,%p)",
|
||||
+ IfTrace4(TRUE,"(%d,%d), delta=(%d,%d)",
|
||||
x + lastx, y + lasty, x, y);
|
||||
break;
|
||||
|
||||
@@ -1465,10 +1465,10 @@ void DumpPath(p)
|
||||
register struct conicsegment *cp = (struct conicsegment *) p;
|
||||
|
||||
roundness = cp->roundness;
|
||||
- IfTrace2(TRUE, ". conic to (%p,%p),",
|
||||
+ IfTrace2(TRUE, ". conic to (%d,%d),",
|
||||
x + lastx, y + lasty);
|
||||
- IfTrace3(TRUE," M=(%p,%p), r=%f", cp->M.x + lastx,
|
||||
- cp->M.y + lasty, &roundness);
|
||||
+ IfTrace3(TRUE," M=(%d,%d), r=%f", cp->M.x + lastx,
|
||||
+ cp->M.y + lasty, roundness);
|
||||
}
|
||||
break;
|
||||
|
||||
@@ -1476,10 +1476,10 @@ void DumpPath(p)
|
||||
{
|
||||
register struct beziersegment *bp = (struct beziersegment *) p;
|
||||
|
||||
- IfTrace4(TRUE,". bezier to (%p,%p), B=(%p,%p)",
|
||||
+ IfTrace4(TRUE,". bezier to (%d,%d), B=(%d,%d)",
|
||||
x + lastx, y + lasty,
|
||||
bp->B.x + lastx, bp->B.y + lasty);
|
||||
- IfTrace2(TRUE, ", C=(%p,%p)",
|
||||
+ IfTrace2(TRUE, ", C=(%d,%d)",
|
||||
bp->C.x + lastx, bp->C.y + lasty);
|
||||
}
|
||||
break;
|
||||
@@ -1488,13 +1488,13 @@ void DumpPath(p)
|
||||
{
|
||||
register struct hintsegment *hp = (struct hintsegment *) p;
|
||||
|
||||
- IfTrace4(TRUE,". hint ref=(%p,%p), width=(%p,%p)",
|
||||
+ IfTrace4(TRUE,". hint ref=(%d,%d), width=(%d,%d)",
|
||||
hp->ref.x + lastx, hp->ref.y + lasty,
|
||||
hp->width.x, hp->width.y);
|
||||
IfTrace4(TRUE, ", %c %c %c %c",
|
||||
hp->orientation, hp->hinttype,
|
||||
hp->adjusttype, hp->direction);
|
||||
- IfTrace1(TRUE, ", %ld", (LONG) hp->label);
|
||||
+ IfTrace1(TRUE, ", %d", (LONG) hp->label);
|
||||
}
|
||||
break;
|
||||
|
||||
@@ -1505,7 +1505,7 @@ void DumpPath(p)
|
||||
default:
|
||||
IfTrace0(TRUE, "bad path segment?");
|
||||
}
|
||||
- IfTrace1(TRUE," at %x\n", p);
|
||||
+ IfTrace1(TRUE," at %p\n", p);
|
||||
lastx += x;
|
||||
lasty += y;
|
||||
}
|
@ -1,201 +0,0 @@
|
||||
$OpenBSD: patch-texk_ps2pkm_regions_c,v 1.1 2005/02/21 21:36:07 sturm Exp $
|
||||
--- texk/ps2pkm/regions.c.orig Sun Feb 13 13:40:10 2005
|
||||
+++ texk/ps2pkm/regions.c Sun Feb 13 13:46:34 2005
|
||||
@@ -343,7 +343,7 @@ Allocate() makes everything it allocates
|
||||
*/
|
||||
LONGCOPY(&r[1], xvalues, (ymax - iy) * sizeof(pel) + sizeof(LONG) - 1);
|
||||
|
||||
- IfTrace1((RegionDebug),"result=%x\n", r);
|
||||
+ IfTrace1((RegionDebug),"result=%p\n", r);
|
||||
return(r);
|
||||
}
|
||||
|
||||
@@ -387,7 +387,7 @@ struct region *Interior(p, fillrule)
|
||||
char tempflag; /* flag; is path temporary? */
|
||||
char Cflag; /* flag; should we apply continuity? */
|
||||
|
||||
- IfTrace2((MustTraceCalls),". INTERIOR(%x, %d)\n", p, (LONG) fillrule);
|
||||
+ IfTrace2((MustTraceCalls),". INTERIOR(%p, %d)\n", p, (LONG) fillrule);
|
||||
|
||||
if (p == NULL)
|
||||
return(NULL);
|
||||
@@ -464,7 +464,7 @@ The hints data structure must be initial
|
||||
x = lastx + p->dest.x;
|
||||
y = lasty + p->dest.y;
|
||||
|
||||
- IfTrace2((HintDebug > 0),"Ending point = (%p,%p)\n", x, y);
|
||||
+ IfTrace2((HintDebug > 0),"Ending point = (%d,%d)\n", x, y);
|
||||
|
||||
nextP = p->link;
|
||||
|
||||
@@ -484,7 +484,7 @@ the first on the path), we need to close
|
||||
if (ProcessHints)
|
||||
if ((p->type == MOVETYPE) && (p->last == NULL)) {
|
||||
CloseHints(&hint);
|
||||
- IfTrace2((HintDebug>0),"Closed point= (%p,%p)\n",
|
||||
+ IfTrace2((HintDebug>0),"Closed point= (%d,%d)\n",
|
||||
x+hint.x, y+hint.y);
|
||||
}
|
||||
|
||||
@@ -515,7 +515,7 @@ We now apply the full hint value to the
|
||||
x += hint.x;
|
||||
y += hint.y;
|
||||
|
||||
- IfTrace2((HintDebug>0),"Hinted ending point = (%p,%p)\n", x, y);
|
||||
+ IfTrace2((HintDebug>0),"Hinted ending point = (%d,%d)\n", x, y);
|
||||
|
||||
switch(p->type) {
|
||||
|
||||
@@ -607,7 +607,7 @@ static int Unwind(area)
|
||||
register int y; /* ymin of current swath */
|
||||
register int count,newcount; /* winding count registers */
|
||||
|
||||
- IfTrace1((RegionDebug>0),"...Unwind(%x)\n", area);
|
||||
+ IfTrace1((RegionDebug>0),"...Unwind(%p)\n", area);
|
||||
|
||||
while (VALIDEDGE(area)) {
|
||||
|
||||
@@ -672,7 +672,7 @@ void ChangeDirection(type, R, x, y, dy)
|
||||
register pel idy; /* nearest integer pel to 'dy' */
|
||||
register int ydiff; /* allowed Y difference in 'currentworkarea' */
|
||||
|
||||
- IfTrace4((RegionDebug>0),"Change Y direction (%d) from (%p,%p), dy=%p\n",
|
||||
+ IfTrace4((RegionDebug>0),"Change Y direction (%d) from (%d,%d), dy=%d\n",
|
||||
(LONG) type, x, y, dy);
|
||||
|
||||
if (type != CD_FIRST) {
|
||||
@@ -820,11 +820,11 @@ struct edgelist *SortSwath(anchor, edge,
|
||||
|
||||
if (RegionDebug > 0) {
|
||||
if (RegionDebug > 2) {
|
||||
- IfTrace3(TRUE,"SortSwath(anchor=%x, edge=%x, fcn=%x)\n",
|
||||
+ IfTrace3(TRUE,"SortSwath(anchor=%p, edge=%p, fcn=%p)\n",
|
||||
anchor, edge, swathfcn);
|
||||
}
|
||||
else {
|
||||
- IfTrace3(TRUE,"SortSwath(anchor=%x, edge=%x, fcn=%x)\n",
|
||||
+ IfTrace3(TRUE,"SortSwath(anchor=%p, edge=%p, fcn=%p)\n",
|
||||
anchor, edge, swathfcn);
|
||||
}
|
||||
}
|
||||
@@ -902,11 +902,11 @@ contains all the edges before. Whew! A
|
||||
*/
|
||||
before->link = edge;
|
||||
if (RegionDebug > 1) {
|
||||
- IfTrace3(TRUE,"SortSwath: in between %x and %x are %x",
|
||||
+ IfTrace3(TRUE,"SortSwath: in between %p and %p are %p",
|
||||
before, after, edge);
|
||||
while (edge->link != NULL) {
|
||||
edge = edge->link;
|
||||
- IfTrace1(TRUE," and %x", edge);
|
||||
+ IfTrace1(TRUE," and %p", edge);
|
||||
}
|
||||
IfTrace0(TRUE,"\n");
|
||||
}
|
||||
@@ -934,7 +934,7 @@ static struct edgelist *splitedge(list,
|
||||
register struct edgelist *r; /* temp pointer to new structure */
|
||||
register struct edgelist *lastlist; /* temp pointer to last 'list' value */
|
||||
|
||||
- IfTrace2((RegionDebug > 1),"splitedge of %x at %d ", list, (LONG) y);
|
||||
+ IfTrace2((RegionDebug > 1),"splitedge of %p at %d ", list, (LONG) y);
|
||||
|
||||
lastlist = new = NULL;
|
||||
|
||||
@@ -987,7 +987,7 @@ Then, we return the caller a pointer to
|
||||
t1_abort("null splitedge");
|
||||
lastlist->link = NULL;
|
||||
last->link = list;
|
||||
- IfTrace1((RegionDebug > 1),"yields %x\n", new);
|
||||
+ IfTrace1((RegionDebug > 1),"yields %p\n", new);
|
||||
return(new);
|
||||
}
|
||||
|
||||
@@ -1109,7 +1109,7 @@ struct edgelist *SwathUnion(before0, edg
|
||||
register struct edgelist *before,*after; /* edge before and after */
|
||||
int h0; /* saves initial height */
|
||||
|
||||
- IfTrace2((RegionDebug > 1),"SwathUnion entered, before=%x, edge=%x\n",
|
||||
+ IfTrace2((RegionDebug > 1),"SwathUnion entered, before=%p, edge=%p\n",
|
||||
before0, edge);
|
||||
|
||||
h0 = h = edge->ymax - edge->ymin;
|
||||
@@ -1150,7 +1150,7 @@ the height by that amount.
|
||||
if (after == NULL || TOP(after) != TOP(edge) ||
|
||||
after->xvalues[0] > rightedge->xvalues[0]) {
|
||||
IfTrace2((RegionDebug > 1),
|
||||
- "SwathUnion starts disjoint: before=%x after=%x\n",
|
||||
+ "SwathUnion starts disjoint: before=%p after=%p\n",
|
||||
before, after);
|
||||
/*
|
||||
On this side of the the above 'if', the new edge is disjoint from the
|
||||
@@ -1217,7 +1217,7 @@ out the new situation:
|
||||
h -= touches(h, rightedge->xvalues, after->xvalues);
|
||||
|
||||
IfTrace3((RegionDebug > 1),
|
||||
- "SwathUnion is overlapped until %d: before=%x after=%x\n",
|
||||
+ "SwathUnion is overlapped until %d: before=%p after=%p\n",
|
||||
(LONG) TOP(edge) + h, before, after);
|
||||
/*
|
||||
OK, if we touched either of our neighbors we need to split at that point
|
||||
@@ -1370,7 +1370,7 @@ static discard(left, right)
|
||||
{
|
||||
register struct edgelist *beg,*end,*p;
|
||||
|
||||
- IfTrace2((RegionDebug > 0),"discard: l=%x, r=%x\n", left, right);
|
||||
+ IfTrace2((RegionDebug > 0),"discard: l=%p, r=%p\n", left, right);
|
||||
|
||||
beg = left->link;
|
||||
if (beg == right)
|
||||
@@ -1379,7 +1379,7 @@ static discard(left, right)
|
||||
for (p = beg; p != right; p = p->link) {
|
||||
if (p->link == NULL && right != NULL)
|
||||
t1_abort("discard(): ran off end");
|
||||
- IfTrace1((RegionDebug > 0),"discarding %x\n", p);
|
||||
+ IfTrace1((RegionDebug > 0),"discarding %p\n", p);
|
||||
p->ymin = p->ymax = 32767;
|
||||
end = p;
|
||||
}
|
||||
@@ -1564,7 +1564,7 @@ struct region *BoxClip(R, xmin, ymin, xm
|
||||
struct edgelist anchor; /* pretend edgelist to facilitate discards */
|
||||
register struct edgelist *e,*laste;
|
||||
|
||||
- IfTrace1((OffPageDebug),"BoxClip of %x:\n", R);
|
||||
+ IfTrace1((OffPageDebug),"BoxClip of %p:\n", R);
|
||||
|
||||
R = UniqueRegion(R);
|
||||
|
||||
@@ -1674,10 +1674,10 @@ struct segment *RegionBounds(R)
|
||||
void DumpArea(area)
|
||||
register struct region *area;
|
||||
{
|
||||
- IfTrace1(TRUE,"Dumping area %x,", area);
|
||||
+ IfTrace1(TRUE,"Dumping area %p,", area);
|
||||
IfTrace4(TRUE," X %d:%d Y %d:%d;", (LONG) area->xmin,
|
||||
(LONG) area->xmax, (LONG) area->ymin,(LONG) area->ymax);
|
||||
- IfTrace4(TRUE," origin=(%p,%p), ending=(%p,%p)\n",
|
||||
+ IfTrace4(TRUE," origin=(%d,%d), ending=(%d,%d)\n",
|
||||
area->origin.x, area->origin.y, area->ending.x, area->ending.y);
|
||||
DumpEdges(area->anchor);
|
||||
}
|
||||
@@ -1706,7 +1706,7 @@ void DumpEdges(edges)
|
||||
for (p=edges; p != NULL; p = p->link) {
|
||||
edgecheck(p, ymin, ymax);
|
||||
ymin = p->ymin; ymax = p->ymax;
|
||||
- IfTrace3(TRUE,". at %x type=%d flag=%x",
|
||||
+ IfTrace3(TRUE,". at %p type=%x flag=%x",
|
||||
p, (LONG) p->type,(LONG) p->flag);
|
||||
IfTrace4(TRUE," bounding box HxW is %dx%d at (%d,%d)\n",
|
||||
(LONG) ymax - ymin, (LONG) p->xmax - p->xmin,
|
||||
@@ -1726,10 +1726,10 @@ void DumpEdges(edges)
|
||||
IfTrace2 (TRUE,". Swath from %d to %d:\n",
|
||||
ymin, ymax);
|
||||
for (p=p2; INSWATH(p,ymin,ymax); p = p->link) {
|
||||
- IfTrace4(TRUE,". . at %x[%x] range %d:%d, ",
|
||||
+ IfTrace4(TRUE,". . at %p[%x] range %d:%d, ",
|
||||
p, (LONG) p->flag,
|
||||
(LONG) p->xmin, (LONG)p->xmax);
|
||||
- IfTrace1(TRUE, "subpath=%x,\n", p->subpath);
|
||||
+ IfTrace1(TRUE, "subpath=%p,\n", p->subpath);
|
||||
}
|
||||
}
|
||||
for (y=MAX(ymin,RegionDebugYMin); y < MIN(ymax, RegionDebugYMax); y++) {
|
@ -1,50 +0,0 @@
|
||||
$OpenBSD: patch-texk_ps2pkm_spaces_c,v 1.1 2005/02/21 21:36:07 sturm Exp $
|
||||
--- texk/ps2pkm/spaces.c.orig Sun Feb 13 13:47:19 2005
|
||||
+++ texk/ps2pkm/spaces.c Sun Feb 13 13:51:47 2005
|
||||
@@ -741,8 +741,8 @@ struct xobject *t1_Transform(obj, cxx, c
|
||||
{
|
||||
DOUBLE M[2][2];
|
||||
|
||||
- IfTrace1((MustTraceCalls),"Transform(%z,", obj);
|
||||
- IfTrace4((MustTraceCalls)," %f %f %f %f)\n", &cxx, &cyx, &cxy, &cyy);
|
||||
+ IfTrace1((MustTraceCalls),"Transform(%p,", obj);
|
||||
+ IfTrace4((MustTraceCalls)," %f %f %f %f)\n", cxx, cyx, cxy, cyy);
|
||||
|
||||
M[0][0] = cxx;
|
||||
M[0][1] = cyx;
|
||||
@@ -762,7 +762,7 @@ struct xobject *t1_Scale(obj, sx, sy)
|
||||
DOUBLE sx,sy; /* scale factors in x and y */
|
||||
{
|
||||
DOUBLE M[2][2];
|
||||
- IfTrace3((MustTraceCalls),"Scale(%z, %f, %f)\n", obj, &sx, &sy);
|
||||
+ IfTrace3((MustTraceCalls),"Scale(%p, %f, %f)\n", obj, sx, sy);
|
||||
M[0][0] = sx;
|
||||
M[1][1] = sy;
|
||||
M[1][0] = M[0][1] = 0.0;
|
||||
@@ -785,7 +785,7 @@ struct xobject *xiRotate(obj, degrees)
|
||||
DOUBLE M[2][2];
|
||||
|
||||
|
||||
- IfTrace2((MustTraceCalls),"Rotate(%z, %f)\n", obj, °rees);
|
||||
+ IfTrace2((MustTraceCalls),"Rotate(%p, %f)\n", obj, degrees);
|
||||
|
||||
M[0][0] = M[1][1] = DegreeCos(degrees);
|
||||
M[1][0] = - (M[0][1] = DegreeSin(degrees));
|
||||
@@ -990,12 +990,12 @@ void FormatFP(str, fpel)
|
||||
void DumpSpace(S)
|
||||
register struct XYspace *S;
|
||||
{
|
||||
- IfTrace4(TRUE,"--Coordinate space at %x,ID=%d,convert=%x,iconvert=%x\n",
|
||||
+ IfTrace4(TRUE,"--Coordinate space at %p,ID=%d,convert=%p,iconvert=%p\n",
|
||||
S, S->ID, S->convert, S->iconvert);
|
||||
IfTrace2(TRUE," | %12.3f %12.3f |",
|
||||
- &S->tofract.normal[0][0], &S->tofract.normal[0][1]);
|
||||
- IfTrace2(TRUE," [ %p %p ]\n", S->itofract[0][0], S->itofract[0][1]);
|
||||
+ S->tofract.normal[0][0], S->tofract.normal[0][1]);
|
||||
+ IfTrace2(TRUE," [ %d %d ]\n", S->itofract[0][0], S->itofract[0][1]);
|
||||
IfTrace2(TRUE," | %12.3f %12.3f |",
|
||||
- &S->tofract.normal[1][0], &S->tofract.normal[1][1]);
|
||||
- IfTrace2(TRUE," [ %p %p ]\n", S->itofract[1][0], S->itofract[1][1]);
|
||||
+ S->tofract.normal[1][0], S->tofract.normal[1][1]);
|
||||
+ IfTrace2(TRUE," [ %d %d ]\n", S->itofract[1][0], S->itofract[1][1]);
|
||||
}
|
@ -1,86 +0,0 @@
|
||||
$OpenBSD: patch-texk_ps2pkm_type1_c,v 1.1 2005/02/21 21:36:07 sturm Exp $
|
||||
--- texk/ps2pkm/type1.c.orig Sun Feb 13 13:54:33 2005
|
||||
+++ texk/ps2pkm/type1.c Sun Feb 13 13:55:57 2005
|
||||
@@ -1155,7 +1155,7 @@ static void Escape(Code)
|
||||
static void HStem(y, dy)
|
||||
DOUBLE y, dy;
|
||||
{
|
||||
- IfTrace2((FontDebug), "Hstem %f %f\n", &y, &dy);
|
||||
+ IfTrace2((FontDebug), "Hstem %f %f\n", y, dy);
|
||||
if (ProcessHints) {
|
||||
if (numstems >= MAXSTEMS) Error0("HStem: Too many hints\n");
|
||||
if (dy < 0.0) {y += dy; dy = -dy;}
|
||||
@@ -1176,7 +1176,7 @@ static void HStem(y, dy)
|
||||
static void VStem(x, dx)
|
||||
DOUBLE x, dx;
|
||||
{
|
||||
- IfTrace2((FontDebug), "Vstem %f %f\n", &x, &dx);
|
||||
+ IfTrace2((FontDebug), "Vstem %f %f\n", x, dx);
|
||||
if (ProcessHints) {
|
||||
if (numstems >= MAXSTEMS) Error0("VStem: Too many hints\n");
|
||||
if (dx < 0.0) {x += dx; dx = -dx;}
|
||||
@@ -1197,7 +1197,7 @@ static void RLineTo(dx, dy)
|
||||
{
|
||||
struct segment *B;
|
||||
|
||||
- IfTrace2((FontDebug), "RLineTo %f %f\n", &dx, &dy);
|
||||
+ IfTrace2((FontDebug), "RLineTo %f %f\n", dx, dy);
|
||||
|
||||
B = Loc(CharSpace, dx, dy);
|
||||
|
||||
@@ -1220,8 +1220,8 @@ static void RRCurveTo(dx1, dy1, dx2, dy2
|
||||
{
|
||||
struct segment *B, *C, *D;
|
||||
|
||||
- IfTrace4((FontDebug), "RRCurveTo %f %f %f %f ", &dx1, &dy1, &dx2, &dy2);
|
||||
- IfTrace2((FontDebug), "%f %f\n", &dx3, &dy3);
|
||||
+ IfTrace4((FontDebug), "RRCurveTo %f %f %f %f ", dx1, dy1, dx2, dy2);
|
||||
+ IfTrace2((FontDebug), "%f %f\n", dx3, dy3);
|
||||
|
||||
B = Loc(CharSpace, dx1, dy1);
|
||||
C = Loc(CharSpace, dx2, dy2);
|
||||
@@ -1311,7 +1311,7 @@ static void RMoveTo(dx,dy)
|
||||
{
|
||||
struct segment *B;
|
||||
|
||||
- IfTrace2((FontDebug), "RMoveTo %f %f\n", &dx, &dy);
|
||||
+ IfTrace2((FontDebug), "RMoveTo %f %f\n", dx, dy);
|
||||
|
||||
B = Loc(CharSpace, dx, dy);
|
||||
|
||||
@@ -1342,7 +1342,7 @@ static void Seac(DOUBLE asb, DOUBLE adx,
|
||||
int Code;
|
||||
struct segment *mypath;
|
||||
|
||||
- IfTrace4((FontDebug), "SEAC %f %f %f %d ", &asb, &adx, &ady, bchar);
|
||||
+ IfTrace4((FontDebug), "SEAC %f %f %f %d ", asb, adx, ady, bchar);
|
||||
IfTrace1((FontDebug), "%d\n", achar);
|
||||
|
||||
/* Move adx - asb, ady over and up from base char's sbpoint. */
|
||||
@@ -1406,7 +1406,7 @@ static void Seac(DOUBLE asb, DOUBLE adx,
|
||||
static void Sbw(sbx, sby, wx, wy)
|
||||
DOUBLE sbx, sby, wx, wy;
|
||||
{
|
||||
- IfTrace4((FontDebug), "SBW %f %f %f %f\n", &sbx, &sby, &wx, &wy);
|
||||
+ IfTrace4((FontDebug), "SBW %f %f %f %f\n", sbx, sby, wx, wy);
|
||||
|
||||
escapementX = wx; /* Character width vector */
|
||||
escapementY = wy;
|
||||
@@ -1424,7 +1424,7 @@ static void Sbw(sbx, sby, wx, wy)
|
||||
static DOUBLE Div(num1, num2)
|
||||
DOUBLE num1, num2;
|
||||
{
|
||||
- IfTrace2((FontDebug), "Div %f %f\n", &num1, &num2);
|
||||
+ IfTrace2((FontDebug), "Div %f %f\n", num1, num2);
|
||||
return(num1 / num2);
|
||||
}
|
||||
|
||||
@@ -1754,7 +1754,7 @@ static void CallOtherSubr(othersubrno)
|
||||
static void SetCurrentPoint(x, y)
|
||||
DOUBLE x, y;
|
||||
{
|
||||
- IfTrace2((FontDebug), "SetCurrentPoint %f %f\n", &x, &y);
|
||||
+ IfTrace2((FontDebug), "SetCurrentPoint %f %f\n", x, y);
|
||||
|
||||
currx = x;
|
||||
curry = y;
|
@ -1,15 +0,0 @@
|
||||
$OpenBSD: patch-texk_web2c_config_h,v 1.1 2005/02/21 21:36:07 sturm Exp $
|
||||
--- texk/web2c/config.h.orig Sat Feb 19 16:42:55 2005
|
||||
+++ texk/web2c/config.h Sat Feb 19 16:45:19 2005
|
||||
@@ -62,6 +62,11 @@ typedef SCHAR_TYPE schar;
|
||||
|
||||
If you define your own INTEGER_TYPE, you have to define your own
|
||||
INTEGER_MAX and INTEGER_MIN, too. */
|
||||
+#ifdef __OpenBSD__
|
||||
+#define INTEGER_TYPE int
|
||||
+#define INTEGER_MAX INT_MAX
|
||||
+#define INTEGER_MIN INT_MIN
|
||||
+#endif
|
||||
#ifndef INTEGER_TYPE
|
||||
|
||||
#if SIZEOF_LONG > 4 && !defined (NO_DUMP_SHARE)
|
@ -1,21 +0,0 @@
|
||||
$OpenBSD: patch-texk_web2c_lib_input2int_c,v 1.1 2005/02/21 21:36:07 sturm Exp $
|
||||
--- texk/web2c/lib/input2int.c.orig Sat Feb 19 15:58:06 2005
|
||||
+++ texk/web2c/lib/input2int.c Sat Feb 19 15:58:26 2005
|
||||
@@ -11,7 +11,7 @@ zinput2ints P2C(integer *, a, integer *
|
||||
{
|
||||
int ch;
|
||||
|
||||
- while (scanf ("%ld %ld", a, b) != 2)
|
||||
+ while (scanf ("%d %d", a, b) != 2)
|
||||
{
|
||||
while ((ch = getchar ()) != EOF && ch != '\n');
|
||||
if (ch == EOF) return;
|
||||
@@ -29,7 +29,7 @@ zinput3ints P3C(integer *, a, integer *
|
||||
{
|
||||
int ch;
|
||||
|
||||
- while (scanf ("%ld %ld %ld", a, b, c) != 3)
|
||||
+ while (scanf ("%d %d %d", a, b, c) != 3)
|
||||
{
|
||||
while ((ch = getchar ()) != EOF && ch != '\n');
|
||||
if (ch == EOF) return;
|
@ -1,12 +0,0 @@
|
||||
$OpenBSD: patch-texk_xdvik_xdvi_c,v 1.1 2005/02/21 21:36:07 sturm Exp $
|
||||
--- texk/xdvik/xdvi.c.orig Fri Feb 11 21:44:27 2005
|
||||
+++ texk/xdvik/xdvi.c Fri Feb 11 21:44:52 2005
|
||||
@@ -1559,7 +1559,7 @@ display_version_info(void)
|
||||
#else
|
||||
printf("%s\n", XDVI_GUI);
|
||||
#endif
|
||||
- printf("Libraries: %s, T1lib version %s\n", kpathsea_version_string, T1LIB_VERSIONSTRING);
|
||||
+ printf("Libraries: %s, T1lib version 5.0.0\n", kpathsea_version_string);
|
||||
}
|
||||
|
||||
static void
|
@ -1 +0,0 @@
|
||||
Format files for teTeX.
|
@ -1,12 +0,0 @@
|
||||
teTeX is _the_ TeX distribution for UNIX compatible systems. It
|
||||
contains the latest versions of TeX & friends and nearly everything
|
||||
you need for happy TeX'ing. For more information have a look at
|
||||
the lengthy FEATURES file of the distribution.
|
||||
|
||||
This port comes with a simplified setup procedure. See
|
||||
${SYSCONFDIR}/tetex.cfg for details. This procedure is NOT part of the
|
||||
official teTeX distribution, so send all questions regarding tetex.cfg
|
||||
or tetex_setup to the MAINTAINER of this port!
|
||||
|
||||
FLAVORS:
|
||||
no_x11 -- no support for x11
|
@ -1,2 +0,0 @@
|
||||
Run ${PREFIX}/bin/texconfig to adjust for your local
|
||||
environment or see ${SYSCONFDIR}/tetex.cfg.
|
@ -1,16 +0,0 @@
|
||||
@comment $OpenBSD: PFRAG.no-no_x11-main,v 1.1 2006/11/23 19:31:34 espie Exp $
|
||||
@pkgpath print/teTeX/base
|
||||
bin/mf-nowin
|
||||
bin/oxdvi
|
||||
bin/xdvi
|
||||
bin/xdvi-xaw.bin
|
||||
bin/xdvizilla
|
||||
@man man/man1/oxdvi.1
|
||||
@man man/man1/xdvi.1
|
||||
@man man/man1/xdvizilla.1
|
||||
share/texmf/xdvi/
|
||||
share/texmf/xdvi/XDvi
|
||||
share/texmf/xdvi/pixmaps/
|
||||
share/texmf/xdvi/pixmaps/toolbar.xpm
|
||||
share/texmf/xdvi/pixmaps/toolbar2.xpm
|
||||
share/texmf/xdvi/xdvi.cfg
|
@ -1,2 +0,0 @@
|
||||
@comment $OpenBSD: PFRAG.no_x11-main,v 1.1 2006/11/23 19:31:34 espie Exp $
|
||||
@pkgpath print/teTeX/base,no_x11
|
@ -1,72 +0,0 @@
|
||||
@comment $OpenBSD: PLIST-fmt,v 1.1 2005/03/03 20:55:41 sturm Exp $
|
||||
texmf/
|
||||
texmf/fonts/
|
||||
texmf/fonts/map/
|
||||
texmf/fonts/map/dvipdfm/
|
||||
texmf/fonts/map/dvipdfm/updmap/
|
||||
texmf/fonts/map/dvipdfm/updmap/dvipdfm.map
|
||||
texmf/fonts/map/dvipdfm/updmap/dvipdfm_dl14.map
|
||||
texmf/fonts/map/dvipdfm/updmap/dvipdfm_ndl14.map
|
||||
texmf/fonts/map/dvips/
|
||||
texmf/fonts/map/dvips/updmap/
|
||||
texmf/fonts/map/dvips/updmap/builtin35.map
|
||||
texmf/fonts/map/dvips/updmap/download35.map
|
||||
texmf/fonts/map/dvips/updmap/ps2pk.map
|
||||
texmf/fonts/map/dvips/updmap/psfonts.map
|
||||
texmf/fonts/map/dvips/updmap/psfonts_pk.map
|
||||
texmf/fonts/map/dvips/updmap/psfonts_t1.map
|
||||
texmf/fonts/map/pdftex/
|
||||
texmf/fonts/map/pdftex/updmap/
|
||||
texmf/fonts/map/pdftex/updmap/pdftex.map
|
||||
texmf/fonts/map/pdftex/updmap/pdftex_dl14.map
|
||||
texmf/fonts/map/pdftex/updmap/pdftex_ndl14.map
|
||||
@comment no checksum
|
||||
texmf/ls-R
|
||||
texmf/web2c/
|
||||
texmf/web2c/aleph.fmt
|
||||
@comment no checksum
|
||||
texmf/web2c/aleph.log
|
||||
texmf/web2c/cont-en.fmt
|
||||
@comment no checksum
|
||||
texmf/web2c/cont-en.log
|
||||
texmf/web2c/etex.fmt
|
||||
@comment no checksum
|
||||
texmf/web2c/etex.log
|
||||
texmf/web2c/lambda.fmt
|
||||
@comment no checksum
|
||||
texmf/web2c/lambda.log
|
||||
texmf/web2c/lamed.fmt
|
||||
@comment no checksum
|
||||
texmf/web2c/lamed.log
|
||||
texmf/web2c/latex.fmt
|
||||
@comment no checksum
|
||||
texmf/web2c/latex.log
|
||||
@comment no checksum
|
||||
texmf/web2c/metafun.log
|
||||
texmf/web2c/metafun.mem
|
||||
texmf/web2c/mf.base
|
||||
@comment no checksum
|
||||
texmf/web2c/mf.log
|
||||
@comment no checksum
|
||||
texmf/web2c/mpost.log
|
||||
texmf/web2c/mpost.mem
|
||||
texmf/web2c/mptopdf.fmt
|
||||
@comment no checksum
|
||||
texmf/web2c/mptopdf.log
|
||||
texmf/web2c/omega.fmt
|
||||
@comment no checksum
|
||||
texmf/web2c/omega.log
|
||||
texmf/web2c/pdfetex.fmt
|
||||
@comment no checksum
|
||||
texmf/web2c/pdfetex.log
|
||||
texmf/web2c/pdflatex.fmt
|
||||
@comment no checksum
|
||||
texmf/web2c/pdflatex.log
|
||||
texmf/web2c/pdftex.fmt
|
||||
@comment no checksum
|
||||
texmf/web2c/pdftex.log
|
||||
texmf/web2c/tex.fmt
|
||||
@comment no checksum
|
||||
texmf/web2c/tex.log
|
||||
@comment no checksum
|
||||
texmf/web2c/updmap.log
|
@ -1,358 +0,0 @@
|
||||
@comment $OpenBSD: PLIST-main,v 1.4 2006/12/13 18:19:02 steven Exp $
|
||||
bin/a2ping
|
||||
bin/afm2tfm
|
||||
bin/aleph
|
||||
bin/allcm
|
||||
bin/allec
|
||||
bin/allneeded
|
||||
bin/bibtex
|
||||
bin/ctangle
|
||||
bin/ctie
|
||||
bin/cweave
|
||||
bin/dmp
|
||||
bin/dvi2fax
|
||||
bin/dvicopy
|
||||
bin/dvigif
|
||||
bin/dvihp
|
||||
bin/dvilj
|
||||
bin/dvilj2p
|
||||
bin/dvilj4
|
||||
bin/dvilj4l
|
||||
bin/dvilj6
|
||||
bin/dvipdfm
|
||||
bin/dvipdft
|
||||
bin/dvipng
|
||||
bin/dvips
|
||||
bin/dvired
|
||||
bin/dvitomp
|
||||
bin/dvitype
|
||||
bin/e2pall
|
||||
bin/ebb
|
||||
bin/epstopdf
|
||||
bin/etex
|
||||
bin/fdf2tan
|
||||
bin/fdf2tex
|
||||
bin/fmtutil
|
||||
bin/fmtutil-sys
|
||||
bin/fontinst
|
||||
bin/gftodvi
|
||||
bin/gftopk
|
||||
bin/gftype
|
||||
bin/gsftopk
|
||||
bin/kpseaccess
|
||||
bin/kpsepath
|
||||
bin/kpsereadlink
|
||||
bin/kpsestat
|
||||
bin/kpsetool
|
||||
bin/kpsewhere
|
||||
bin/kpsewhich
|
||||
bin/kpsexpand
|
||||
bin/lambda
|
||||
bin/lamed
|
||||
bin/latex
|
||||
bin/mag
|
||||
bin/makeindex
|
||||
bin/makempx
|
||||
bin/makempy
|
||||
bin/mf
|
||||
bin/mft
|
||||
bin/mkindex
|
||||
bin/mkocp
|
||||
bin/mkofm
|
||||
bin/mktexfmt
|
||||
bin/mktexlsr
|
||||
bin/mktexmf
|
||||
bin/mktexpk
|
||||
bin/mktextfm
|
||||
bin/mpost
|
||||
bin/mpto
|
||||
bin/mptopdf
|
||||
bin/newer
|
||||
bin/odvicopy
|
||||
bin/odvips
|
||||
bin/odvitype
|
||||
bin/ofm2opl
|
||||
bin/omega
|
||||
bin/omfonts
|
||||
bin/opl2ofm
|
||||
bin/otangle
|
||||
bin/otp2ocp
|
||||
bin/outocp
|
||||
bin/ovf2ovp
|
||||
bin/ovp2ovf
|
||||
bin/patgen
|
||||
bin/pdfcrop
|
||||
bin/pdfetex
|
||||
bin/pdflatex
|
||||
bin/pdftex
|
||||
bin/pdfxtex
|
||||
bin/pfb2pfa
|
||||
bin/pk2bm
|
||||
bin/pktogf
|
||||
bin/pktype
|
||||
bin/pltotf
|
||||
bin/pooltype
|
||||
bin/ps2frag
|
||||
bin/ps2pk
|
||||
bin/ps4pdf
|
||||
bin/pslatex
|
||||
bin/rubibtex
|
||||
bin/rumakeindex
|
||||
bin/tangle
|
||||
bin/tcdialog
|
||||
bin/tetex_setup
|
||||
bin/tex
|
||||
bin/texconfig
|
||||
bin/texconfig-dialog
|
||||
bin/texconfig-sys
|
||||
bin/texdoc
|
||||
bin/texdoctk
|
||||
bin/texexec
|
||||
bin/texfind
|
||||
bin/texfont
|
||||
bin/texhash
|
||||
bin/texlinks
|
||||
bin/texshow
|
||||
bin/texutil
|
||||
bin/tftopl
|
||||
bin/thumbpdf
|
||||
bin/tie
|
||||
bin/ttf2afm
|
||||
bin/uniqleaf
|
||||
bin/updmap
|
||||
bin/updmap-sys
|
||||
bin/vftovp
|
||||
bin/vptovf
|
||||
bin/weave
|
||||
include/kpathsea/
|
||||
include/kpathsea/absolute.h
|
||||
include/kpathsea/c-auto.h
|
||||
include/kpathsea/c-ctype.h
|
||||
include/kpathsea/c-dir.h
|
||||
include/kpathsea/c-errno.h
|
||||
include/kpathsea/c-fopen.h
|
||||
include/kpathsea/c-limits.h
|
||||
include/kpathsea/c-memstr.h
|
||||
include/kpathsea/c-minmax.h
|
||||
include/kpathsea/c-namemx.h
|
||||
include/kpathsea/c-pathch.h
|
||||
include/kpathsea/c-pathmx.h
|
||||
include/kpathsea/c-proto.h
|
||||
include/kpathsea/c-stat.h
|
||||
include/kpathsea/c-std.h
|
||||
include/kpathsea/c-unistd.h
|
||||
include/kpathsea/c-vararg.h
|
||||
include/kpathsea/cnf.h
|
||||
include/kpathsea/concatn.h
|
||||
include/kpathsea/config.h
|
||||
include/kpathsea/db.h
|
||||
include/kpathsea/debug.h
|
||||
include/kpathsea/default.h
|
||||
include/kpathsea/expand.h
|
||||
include/kpathsea/fn.h
|
||||
include/kpathsea/fontmap.h
|
||||
include/kpathsea/getopt.h
|
||||
include/kpathsea/hash.h
|
||||
include/kpathsea/kpathsea.h
|
||||
include/kpathsea/lib.h
|
||||
include/kpathsea/line.h
|
||||
include/kpathsea/magstep.h
|
||||
include/kpathsea/paths.h
|
||||
include/kpathsea/pathsearch.h
|
||||
include/kpathsea/proginit.h
|
||||
include/kpathsea/progname.h
|
||||
include/kpathsea/readable.h
|
||||
include/kpathsea/str-list.h
|
||||
include/kpathsea/str-llist.h
|
||||
include/kpathsea/systypes.h
|
||||
include/kpathsea/tex-file.h
|
||||
include/kpathsea/tex-glyph.h
|
||||
include/kpathsea/tex-hush.h
|
||||
include/kpathsea/tex-make.h
|
||||
include/kpathsea/tilde.h
|
||||
include/kpathsea/truncate.h
|
||||
include/kpathsea/types.h
|
||||
include/kpathsea/variable.h
|
||||
include/kpathsea/xopendir.h
|
||||
include/kpathsea/xstat.h
|
||||
@comment info/dir
|
||||
@info info/dvips.info
|
||||
@info info/kpathsea.info
|
||||
@info info/latex.info
|
||||
@info info/web2c.info
|
||||
lib/libkpathsea.a
|
||||
lib/libkpathsea.la
|
||||
@man man/man1/afm2tfm.1
|
||||
@man man/man1/allcm.1
|
||||
@man man/man1/allec.1
|
||||
@man man/man1/allneeded.1
|
||||
@man man/man1/amstex.1
|
||||
@man man/man1/bibtex.1
|
||||
@man man/man1/ctangle.1
|
||||
@man man/man1/ctie.1
|
||||
@man man/man1/cweave.1
|
||||
@man man/man1/cweb.1
|
||||
@man man/man1/dmp.1
|
||||
@man man/man1/dvi2fax.1
|
||||
@man man/man1/dvicopy.1
|
||||
@man man/man1/dvihp.1
|
||||
@man man/man1/dvilj.1
|
||||
@man man/man1/dvilj2p.1
|
||||
@man man/man1/dvilj4.1
|
||||
@man man/man1/dvilj4l.1
|
||||
@man man/man1/dvilj6.1
|
||||
@man man/man1/dvipdfm.1
|
||||
@man man/man1/dvipdft.1
|
||||
@man man/man1/dvipng.1
|
||||
@man man/man1/dvips.1
|
||||
@man man/man1/dvired.1
|
||||
@man man/man1/dvitomp.1
|
||||
@man man/man1/dvitype.1
|
||||
@man man/man1/e2pall.1
|
||||
@man man/man1/ebb.1
|
||||
@man man/man1/eplain.1
|
||||
@man man/man1/epstopdf.1
|
||||
@man man/man1/etex.1
|
||||
@man man/man1/fdf2tex.1
|
||||
@man man/man1/fmtutil-sys.1
|
||||
@man man/man1/fmtutil.1
|
||||
@man man/man1/fontinst.1
|
||||
@man man/man1/gftodvi.1
|
||||
@man man/man1/gftopk.1
|
||||
@man man/man1/gftype.1
|
||||
@man man/man1/gsftopk.1
|
||||
@man man/man1/kpseaccess.1
|
||||
@man man/man1/kpsepath.1
|
||||
@man man/man1/kpsereadlink.1
|
||||
@man man/man1/kpsestat.1
|
||||
@man man/man1/kpsetool.1
|
||||
@man man/man1/kpsewhere.1
|
||||
@man man/man1/kpsewhich.1
|
||||
@man man/man1/kpsexpand.1
|
||||
@man man/man1/lambda.1
|
||||
@man man/man1/latex.1
|
||||
@man man/man1/mag.1
|
||||
@man man/man1/makeindex.1
|
||||
@man man/man1/makempx.1
|
||||
@man man/man1/makempy.1
|
||||
@man man/man1/mf-nowin.1
|
||||
@man man/man1/mf.1
|
||||
@man man/man1/mft.1
|
||||
@man man/man1/mkindex.1
|
||||
@man man/man1/mkocp.1
|
||||
@man man/man1/mkofm.1
|
||||
@man man/man1/mktexfmt.1
|
||||
@man man/man1/mktexlsr.1
|
||||
@man man/man1/mktexmf.1
|
||||
@man man/man1/mktexpk.1
|
||||
@man man/man1/mktextfm.1
|
||||
@man man/man1/mpost.1
|
||||
@man man/man1/mpto.1
|
||||
@man man/man1/newer.1
|
||||
@man man/man1/odvicopy.1
|
||||
@man man/man1/odvips.1
|
||||
@man man/man1/odvitype.1
|
||||
@man man/man1/ofm2opl.1
|
||||
@man man/man1/omega.1
|
||||
@man man/man1/opl2ofm.1
|
||||
@man man/man1/otp2ocp.1
|
||||
@man man/man1/outocp.1
|
||||
@man man/man1/ovf2ovp.1
|
||||
@man man/man1/ovp2ovf.1
|
||||
@man man/man1/patgen.1
|
||||
@man man/man1/pdfetex.1
|
||||
@man man/man1/pdflatex.1
|
||||
@man man/man1/pdftex.1
|
||||
@man man/man1/pdfxtex.1
|
||||
@man man/man1/pfb2pfa.1
|
||||
@man man/man1/pk2bm.1
|
||||
@man man/man1/pktogf.1
|
||||
@man man/man1/pktype.1
|
||||
@man man/man1/pltotf.1
|
||||
@man man/man1/pooltype.1
|
||||
@man man/man1/ps2frag.1
|
||||
@man man/man1/ps2pk.1
|
||||
@man man/man1/pslatex.1
|
||||
@man man/man1/rubibtex.1
|
||||
@man man/man1/rumakeindex.1
|
||||
@man man/man1/tangle.1
|
||||
@man man/man1/tcdialog.1
|
||||
@man man/man1/tex.1
|
||||
@man man/man1/texconfig-sys.1
|
||||
@man man/man1/texconfig.1
|
||||
@man man/man1/texdoc.1
|
||||
@man man/man1/texdoctk.1
|
||||
@man man/man1/texexec.1
|
||||
@man man/man1/texfind.1
|
||||
@man man/man1/texfont.1
|
||||
@man man/man1/texhash.1
|
||||
@man man/man1/texlinks.1
|
||||
@man man/man1/texshow.1
|
||||
@man man/man1/texutil.1
|
||||
@man man/man1/tftopl.1
|
||||
@man man/man1/thumbpdf.1
|
||||
@man man/man1/tie.1
|
||||
@man man/man1/ttf2afm.1
|
||||
@man man/man1/updmap-sys.1
|
||||
@man man/man1/updmap.1
|
||||
@man man/man1/vftovp.1
|
||||
@man man/man1/vptovf.1
|
||||
@man man/man1/weave.1
|
||||
@man man/man5/fmtutil.cnf.5
|
||||
share/examples/teTeX/
|
||||
share/examples/teTeX/tetex.cfg
|
||||
@sample ${SYSCONFDIR}/tetex.cfg
|
||||
share/texmf/doc/
|
||||
share/texmf/doc/tetex/
|
||||
share/texmf/doc/tetex/TETEXDOC.dvi
|
||||
share/texmf/doc/tetex/TETEXDOC.pdf
|
||||
share/texmf/doc/tetex/TETEXDOC.ps
|
||||
share/texmf/doc/tetex/teTeX-FAQ
|
||||
share/texmf/dvips/
|
||||
share/texmf/dvips/base/
|
||||
share/texmf/dvips/base/color.pro
|
||||
share/texmf/dvips/base/crop.pro
|
||||
share/texmf/dvips/base/finclude.pro
|
||||
share/texmf/dvips/base/hps.pro
|
||||
share/texmf/dvips/base/special.pro
|
||||
share/texmf/dvips/base/tex.pro
|
||||
share/texmf/dvips/base/texc.pro
|
||||
share/texmf/dvips/base/texps.pro
|
||||
share/texmf/dvips/gsftopk/
|
||||
share/texmf/dvips/gsftopk/render.ps
|
||||
@comment share/texmf/ls-R
|
||||
share/texmf/release-tetex-src.txt
|
||||
share/texmf/texconfig/
|
||||
share/texmf/texconfig/README
|
||||
share/texmf/texconfig/g/
|
||||
share/texmf/texconfig/g/generic
|
||||
share/texmf/texconfig/generic
|
||||
share/texmf/texconfig/tcfmgr
|
||||
share/texmf/texconfig/tcfmgr.map
|
||||
share/texmf/texconfig/v/
|
||||
share/texmf/texconfig/v/vt100
|
||||
share/texmf/texconfig/x/
|
||||
share/texmf/texconfig/x/xterm
|
||||
share/texmf/web2c/
|
||||
share/texmf/web2c/aleph.pool
|
||||
share/texmf/web2c/fmtutil.cnf
|
||||
share/texmf/web2c/mf.pool
|
||||
share/texmf/web2c/mktex.opt
|
||||
share/texmf/web2c/mktexdir
|
||||
share/texmf/web2c/mktexdir.opt
|
||||
share/texmf/web2c/mktexnam
|
||||
share/texmf/web2c/mktexnam.opt
|
||||
share/texmf/web2c/mktexupd
|
||||
share/texmf/web2c/mp.pool
|
||||
share/texmf/web2c/omega.pool
|
||||
share/texmf/web2c/pdfetex-pl.pool
|
||||
share/texmf/web2c/pdfetex.pool
|
||||
share/texmf/web2c/pdfxtex.pool
|
||||
share/texmf/web2c/tex.pool
|
||||
@comment share/texmf/web2c/texmf.cnf
|
||||
share/texmf/web2c/texmf.cnf.dist
|
||||
@sample share/texmf/web2c/texmf.cnf
|
||||
%%no_x11%%
|
||||
!%%no_x11%%
|
||||
@exec TEXMFMAIN=%D/share/texmf %D/bin/mktexlsr
|
||||
@extraunexec rm -fr ${SYSCONFDIR}/texmf
|
@ -1,31 +0,0 @@
|
||||
# $OpenBSD: Makefile,v 1.25 2007/09/16 08:15:53 steven Exp $
|
||||
|
||||
COMMENT-main= TeX distribution, common support files
|
||||
COMMENT-doc= TeX distribution, documentation
|
||||
|
||||
V= 3.0
|
||||
DISTNAME= tetex-texmf-${V}
|
||||
PKGNAME-main= teTeX_texmf-${V}p2
|
||||
PKGNAME-doc= teTeX_texmf-doc-${V}p2
|
||||
CATEGORIES= print
|
||||
|
||||
WRKDIST= ${WRKDIR}
|
||||
|
||||
MULTI_PACKAGES= -main -doc
|
||||
|
||||
EXTRACT_ONLY=
|
||||
NO_BUILD= Yes
|
||||
NO_REGRESS= Yes
|
||||
PKG_ARCH= *
|
||||
|
||||
PERMIT_PACKAGE_FTP-doc= Removed for space constraints
|
||||
|
||||
do-install:
|
||||
@${INSTALL_DATA_DIR} ${TEXMF_DIR}
|
||||
@cd ${TEXMF_DIR}; \
|
||||
for i in ${DISTFILES:S,:0,,}; do \
|
||||
tar zxf ${FULLDISTDIR}/$${i}; \
|
||||
done
|
||||
@perl -pi -e "s/zcat/gzcat/" ${TEXMF_DIR}/dvipdfm/config/config
|
||||
|
||||
.include <bsd.port.mk>
|
@ -1,5 +0,0 @@
|
||||
MD5 (teTeX/tetex-texmf-3.0.tar.gz) = 7Z0w2RYtFqyNUGXN5uD2+g==
|
||||
RMD160 (teTeX/tetex-texmf-3.0.tar.gz) = oeh3M/o8vvBOOaaQ7YVJrqrdskE=
|
||||
SHA1 (teTeX/tetex-texmf-3.0.tar.gz) = G+l/V6Jqbpty6/2TLkWRSpWa/xY=
|
||||
SHA256 (teTeX/tetex-texmf-3.0.tar.gz) = bDuPphl0nLsoyg+IR+Vnc9E+C7kvHqNCh0IJUDc2QMI=
|
||||
SIZE (teTeX/tetex-texmf-3.0.tar.gz) = 91402377
|
@ -1 +0,0 @@
|
||||
Documentation subtree for teTeX.
|
@ -1,2 +0,0 @@
|
||||
Architecture-independent files to support TeX and LaTeX:
|
||||
macro files, font sources, font metric files, etc.
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user