diff options
author | simonb <simonb@pkgsrc.org> | 2004-04-19 04:14:35 +0000 |
---|---|---|
committer | simonb <simonb@pkgsrc.org> | 2004-04-19 04:14:35 +0000 |
commit | 587ae08ed5aa5d21e42d332fa07587033ada839a (patch) | |
tree | 26b689adf8bf28b7fd811ba719fa49c146cc7bf9 /fonts | |
parent | 249019bdc5a327b8ce16f4b7ae8ff4b0d674f725 (diff) | |
download | pkgsrc-587ae08ed5aa5d21e42d332fa07587033ada839a.tar.gz |
Add a hack so that T1_InitLib() doesn't run more than once.
Don't know if this is correct or not, but at least now xpdf works
again.
Diffstat (limited to 'fonts')
-rw-r--r-- | fonts/t1lib/distinfo | 3 | ||||
-rw-r--r-- | fonts/t1lib/patches/patch-ab | 17 |
2 files changed, 19 insertions, 1 deletions
diff --git a/fonts/t1lib/distinfo b/fonts/t1lib/distinfo index ed2e93f67c4..b2de1e1ecb6 100644 --- a/fonts/t1lib/distinfo +++ b/fonts/t1lib/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.4 2004/04/15 14:14:34 minskim Exp $ +$NetBSD: distinfo,v 1.5 2004/04/19 04:14:35 simonb Exp $ SHA1 (t1lib-5.0.2.tar.gz) = 71a6ec6c84a2e28a21f261be865e0dabe52daeb5 Size (t1lib-5.0.2.tar.gz) = 1697086 bytes SHA1 (patch-aa) = 1a09e0f8c3b35987a963bd73b2d18722c0a67fba +SHA1 (patch-ab) = 808dfa0b4cb8289078e3eb7d44428e6c2e57bc5e SHA1 (patch-ac) = aae10307ac7da8f095e7b294273503b5900e52aa diff --git a/fonts/t1lib/patches/patch-ab b/fonts/t1lib/patches/patch-ab new file mode 100644 index 00000000000..60190a5ab8b --- /dev/null +++ b/fonts/t1lib/patches/patch-ab @@ -0,0 +1,17 @@ +$NetBSD: patch-ab,v 1.1 2004/04/19 04:14:35 simonb Exp $ + +--- lib/t1lib/t1base.c.orig Sat Mar 6 12:58:04 2004 ++++ lib/t1lib/t1base.c +@@ -138,7 +138,11 @@ void *T1_InitLib( int log) + char *logfilepath=NULL; + char *envlogreq=NULL; + int usrforcelog=0; +- ++ static int initdone; ++ ++ if (initdone) ++ return (pFontBase); ++ initdone++; + + + /* Reset T1_errno */ |