|
|
4931932 |
--- texlive-2007/texk/web2c/pdftexdir/ptexlib.h.orig 2007-06-21 20:07:37.746531903 -0400
|
|
|
4931932 |
+++ texlive-2007/texk/web2c/pdftexdir/ptexlib.h 2007-06-21 20:05:40.014606804 -0400
|
|
|
4931932 |
@@ -38,7 +38,9 @@
|
|
|
4931932 |
/* avl */
|
|
|
4931932 |
# include "avlstuff.h"
|
|
|
4931932 |
|
|
|
4931932 |
+#ifndef __linux__
|
|
|
4931932 |
# include "openbsd-compat.h"
|
|
|
4931932 |
+#endif
|
|
|
4931932 |
|
|
|
4931932 |
/* pdftexlib type declarations */
|
|
|
4931932 |
typedef struct {
|
|
|
4931932 |
--- texlive-2007/texk/web2c/pdftexdir/epdf.h.orig 2007-06-21 22:27:08.039209770 -0400
|
|
|
4931932 |
+++ texlive-2007/texk/web2c/pdftexdir/epdf.h 2007-06-21 22:27:32.643343920 -0400
|
|
|
4931932 |
@@ -44,7 +44,9 @@
|
|
|
4931932 |
|
|
|
4931932 |
#include <web2c/pdftexdir/ptexmac.h>
|
|
|
4931932 |
|
|
|
4931932 |
+#ifndef __linux__
|
|
|
4931932 |
#include "openbsd-compat.h"
|
|
|
4931932 |
+#endif
|
|
|
4931932 |
|
|
|
4931932 |
/* #-define pdfbufsize pdfbufmax */
|
|
|
4931932 |
|
|
|
4931932 |
--- texlive-2007/texk/web2c/pdftexdir/depend.mk.pdftex 2006-12-26 18:37:34.000000000 -0500
|
|
|
4931932 |
+++ texlive-2007/texk/web2c/pdftexdir/depend.mk 2007-06-22 00:17:35.157351368 -0400
|
|
|
4931932 |
@@ -7,15 +7,13 @@
|
|
|
4931932 |
ptexmac.h
|
|
|
4931932 |
utils.o: utils.c ptexlib.h ../pdftexd.h ../texmfmp.h ../cpascal.h \
|
|
|
4931932 |
../config.h ../help.h ../texmfmem.h ../pdftexcoerce.h ptexmac.h \
|
|
|
4931932 |
- ../../../libs/zlib/zlib.h ../../../libs/zlib/zconf.h \
|
|
|
4931932 |
- ../../../libs/md5/md5.h pdftexextra.h \
|
|
|
4931932 |
- ../../../libs/obsdcompat/openbsd-compat.h
|
|
|
4931932 |
+pdftexextra.h
|
|
|
4931932 |
vfpacket.o: vfpacket.c ptexlib.h ../pdftexd.h ../texmfmp.h \
|
|
|
4931932 |
../cpascal.h ../config.h ../help.h ../texmfmem.h ../pdftexcoerce.h \
|
|
|
4931932 |
ptexmac.h
|
|
|
4931932 |
pkin.o: pkin.c ptexlib.h ../pdftexd.h ../texmfmp.h ../cpascal.h \
|
|
|
4931932 |
../config.h ../help.h ../texmfmem.h ../pdftexcoerce.h ptexmac.h
|
|
|
4931932 |
-writefont.o: writefont.c ../../../libs/xpdf/goo/gmem.h ptexlib.h \
|
|
|
4931932 |
+writefont.o: writefont.c ptexlib.h \
|
|
|
4931932 |
../pdftexd.h ../texmfmp.h ../cpascal.h ../config.h ../help.h \
|
|
|
4931932 |
../texmfmem.h ../pdftexcoerce.h ptexmac.h
|
|
|
4931932 |
writet1.o: writet1.c ptexlib.h ../pdftexd.h ../texmfmp.h ../cpascal.h \
|
|
|
4931932 |
@@ -24,7 +22,7 @@
|
|
|
4931932 |
../config.h ../help.h ../texmfmem.h ../pdftexcoerce.h ptexmac.h
|
|
|
4931932 |
writezip.o: writezip.c ptexlib.h ../pdftexd.h ../texmfmp.h \
|
|
|
4931932 |
../cpascal.h ../config.h ../help.h ../texmfmem.h ../pdftexcoerce.h \
|
|
|
4931932 |
- ptexmac.h ../../../libs/zlib/zlib.h ../../../libs/zlib/zconf.h
|
|
|
4931932 |
+ ptexmac.h
|
|
|
4931932 |
writeenc.o: writeenc.c ptexlib.h ../pdftexd.h ../texmfmp.h \
|
|
|
4931932 |
../cpascal.h ../config.h ../help.h ../texmfmem.h ../pdftexcoerce.h \
|
|
|
4931932 |
ptexmac.h
|
|
|
4931932 |
@@ -40,16 +38,7 @@
|
|
|
4931932 |
writeimg.o: writeimg.c ptexlib.h ../pdftexd.h ../texmfmp.h \
|
|
|
4931932 |
../cpascal.h ../config.h ../help.h ../texmfmem.h ../pdftexcoerce.h \
|
|
|
4931932 |
ptexmac.h image.h
|
|
|
4931932 |
-pdftoepdf.o: pdftoepdf.cc ../../../libs/xpdf/xpdf/Object.h \
|
|
|
4931932 |
- ../../../libs/xpdf/goo/gmem.h ../../../libs/xpdf/xpdf/Array.h \
|
|
|
4931932 |
- ../../../libs/xpdf/xpdf/Dict.h ../../../libs/xpdf/xpdf/Stream.h \
|
|
|
4931932 |
- ../../../libs/xpdf/xpdf/XRef.h ../../../libs/xpdf/xpdf/Catalog.h \
|
|
|
4931932 |
- ../../../libs/xpdf/xpdf/Page.h ../../../libs/xpdf/xpdf/GfxFont.h \
|
|
|
4931932 |
- ../../../libs/xpdf/xpdf/Error.h epdf.h
|
|
|
4931932 |
+pdftoepdf.o: pdftoepdf.cc \
|
|
|
4931932 |
+ epdf.h
|
|
|
4931932 |
ttf2afm.o: ttf2afm.c writettf.h macnames.c
|
|
|
4931932 |
-pdftosrc.o: pdftosrc.cc ../../../libs/xpdf/xpdf/Object.h \
|
|
|
4931932 |
- ../../../libs/xpdf/xpdf/Array.h ../../../libs/xpdf/xpdf/Dict.h \
|
|
|
4931932 |
- ../../../libs/xpdf/xpdf/Stream.h ../../../libs/xpdf/xpdf/XRef.h \
|
|
|
4931932 |
- ../../../libs/xpdf/xpdf/Catalog.h ../../../libs/xpdf/xpdf/Page.h \
|
|
|
4931932 |
- ../../../libs/xpdf/xpdf/PDFDoc.h ../../../libs/xpdf/xpdf/Link.h \
|
|
|
4931932 |
- ../../../libs/xpdf/xpdf/Error.h ../../../libs/xpdf/xpdf/config.h
|
|
|
4931932 |
+pdftosrc.o: pdftosrc.cc
|
|
|
4931932 |
--- texlive-2007/texk/web2c/pdftexdir/utils.c.orig 2007-06-22 00:33:15.216284121 -0400
|
|
|
4931932 |
+++ texlive-2007/texk/web2c/pdftexdir/utils.c 2007-06-22 00:33:32.948057443 -0400
|
|
|
4931932 |
@@ -20,7 +20,9 @@
|
|
|
4931932 |
$Id: //depot/Build/source.development/TeX/texk/web2c/pdftexdir/utils.c#24 $
|
|
|
4931932 |
*/
|
|
|
4931932 |
|
|
|
4931932 |
+#ifndef __linux__
|
|
|
4931932 |
#include "openbsd-compat.h"
|
|
|
4931932 |
+#endif
|
|
|
4931932 |
#ifdef HAVE_ASPRINTF /* asprintf is not defined in openbsd-compat.h, but in stdio.h */
|
|
|
4931932 |
# include <stdio.h>
|
|
|
4931932 |
#endif
|