pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/fonts/t1lib Add a hack so that T1_InitLib() doesn't ru...
details: https://anonhg.NetBSD.org/pkgsrc/rev/a369954a0631
branches: trunk
changeset: 473365:a369954a0631
user: simonb <simonb%pkgsrc.org@localhost>
date: Mon Apr 19 04:14:35 2004 +0000
description:
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:
fonts/t1lib/distinfo | 3 ++-
fonts/t1lib/patches/patch-ab | 17 +++++++++++++++++
2 files changed, 19 insertions(+), 1 deletions(-)
diffs (33 lines):
diff -r af565d5818c1 -r a369954a0631 fonts/t1lib/distinfo
--- a/fonts/t1lib/distinfo Mon Apr 19 03:31:07 2004 +0000
+++ b/fonts/t1lib/distinfo Mon Apr 19 04:14:35 2004 +0000
@@ -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 -r af565d5818c1 -r a369954a0631 fonts/t1lib/patches/patch-ab
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/fonts/t1lib/patches/patch-ab Mon Apr 19 04:14:35 2004 +0000
@@ -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 */
Home |
Main Index |
Thread Index |
Old Index