downgrade t1lib back to 5.0.0
5.0.2 seems to cause problems with xpdf
This commit is contained in:
parent
7696b08101
commit
b5f69ddd76
@ -1,10 +1,10 @@
|
||||
# $OpenBSD: Makefile,v 1.16 2004/04/08 06:21:19 brad Exp $
|
||||
# $OpenBSD: Makefile,v 1.17 2004/04/14 18:26:38 brad Exp $
|
||||
|
||||
COMMENT= "Type 1 rasterizer library for UNIX/X11"
|
||||
|
||||
DISTNAME= t1lib-5.0.2
|
||||
DISTNAME= t1lib-5.0.0
|
||||
CATEGORIES= devel textproc
|
||||
MASTER_SITES= ${MASTER_SITE_SUNSITE:=libs/graphics/}
|
||||
MASTER_SITES= ${MASTER_SITE_BACKUP}
|
||||
|
||||
MAINTAINER= Brad Smith <brad@openbsd.org>
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
--- lib/Makefile.in.orig 2002-06-24 22:15:30.000000000 -0400
|
||||
+++ lib/Makefile.in 2004-04-05 20:23:00.000000000 -0400
|
||||
--- lib/Makefile.in.orig Mon Jan 15 17:34:40 2001
|
||||
+++ lib/Makefile.in Mon Aug 27 16:43:46 2001
|
||||
@@ -36,6 +36,8 @@ LEX = @LEX@
|
||||
LEXLIB = @LEXLIB@
|
||||
ALLCFLAGS = $(CFLAGS)
|
||||
@ -9,7 +9,7 @@
|
||||
INSTALL = @INSTALL@
|
||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||
INSTALL_DATA = @INSTALL_DATA@
|
||||
@@ -160,27 +162,27 @@ clean: dummy
|
||||
@@ -159,27 +161,27 @@ clean: dummy
|
||||
|
||||
|
||||
install: dummy
|
||||
|
25
devel/t1lib/patches/patch-lib_type1_type1_c
Normal file
25
devel/t1lib/patches/patch-lib_type1_type1_c
Normal file
@ -0,0 +1,25 @@
|
||||
$OpenBSD: patch-lib_type1_type1_c,v 1.3 2004/04/14 18:26:38 brad Exp $
|
||||
--- lib/type1/type1.c.orig 2003-03-02 23:17:22.000000000 +0000
|
||||
+++ lib/type1/type1.c 2003-09-25 17:22:47.000000000 +0100
|
||||
@@ -1868,10 +1868,18 @@ static int EndChar()
|
||||
static int RMoveTo(dx,dy)
|
||||
DOUBLE dx,dy;
|
||||
{
|
||||
- long pindex = 0;
|
||||
-
|
||||
+ long pindex = 0, xpoint, ypoint;
|
||||
+
|
||||
+ if (numppoints > 1) {
|
||||
+ xpoint = currx - ppoints[numppoints-2].x;
|
||||
+ ypoint = curry - ppoints[numppoints-2].y;
|
||||
+ } else {
|
||||
+ xpoint = 0;
|
||||
+ ypoint = 0;
|
||||
+ }
|
||||
+
|
||||
/* compute hinting for previous segment! */
|
||||
- FindStems( currx, curry, currx-ppoints[numppoints-2].x, curry-ppoints[numppoints-2].y, dx, dy);
|
||||
+ FindStems( currx, curry, xpoint, ypoint, dx, dy);
|
||||
|
||||
/* Allocate a new path point and pre-setup data */
|
||||
pindex = nextPPoint();
|
@ -1,4 +1,4 @@
|
||||
@comment $OpenBSD: PFRAG.shared,v 1.7 2004/04/08 06:21:20 brad Exp $
|
||||
lib/libt1.so.5.2
|
||||
lib/libt1x.so.5.2
|
||||
@comment $OpenBSD: PFRAG.shared,v 1.8 2004/04/14 18:26:38 brad Exp $
|
||||
lib/libt1.so.5.0
|
||||
lib/libt1x.so.5.0
|
||||
DYNLIBDIR(%D/lib)
|
||||
|
@ -1,4 +1,4 @@
|
||||
@comment $OpenBSD: PLIST,v 1.6 2004/04/08 06:21:20 brad Exp $
|
||||
@comment $OpenBSD: PLIST,v 1.7 2004/04/14 18:26:38 brad Exp $
|
||||
bin/type1afm
|
||||
@comment bin/xglyph
|
||||
include/t1lib.h
|
||||
@ -8,7 +8,5 @@ lib/libt1.la
|
||||
lib/libt1x.a
|
||||
lib/libt1x.la
|
||||
%%SHARED%%
|
||||
share/t1lib/doc/t1lib_doc.pdf
|
||||
share/t1lib/t1lib.config
|
||||
@dirrm share/t1lib/doc
|
||||
@dirrm share/t1lib
|
||||
|
Loading…
Reference in New Issue
Block a user