allow grace to compile after the upgrade of t1lib which had some API changes.
ok MAINTAINER
This commit is contained in:
parent
250e5fea9d
commit
08b33212df
@ -1,10 +1,11 @@
|
||||
# $OpenBSD: Makefile,v 1.14 2003/03/31 16:58:55 sturm Exp $
|
||||
# $OpenBSD: Makefile,v 1.15 2003/07/23 23:15:16 brad Exp $
|
||||
# $FreeBSD: ports/math/grace/Makefile,v 1.18 2001/04/25 05:59:19 lkoeller Exp $
|
||||
# Original from: Lars Koeller <Lars.Koeller@Uni-Bielefeld.de>
|
||||
|
||||
COMMENT= "GRaphing, Advanced Computation and Exploration of data"
|
||||
|
||||
DISTNAME= grace-5.1.12
|
||||
PKGNAME= ${DISTNAME}p1
|
||||
CATEGORIES= math
|
||||
|
||||
HOMEPAGE= http://plasma-gate.weizmann.ac.il/Grace/
|
||||
@ -32,7 +33,7 @@ CONFIGURE_ARGS+= --with-bundled-xbae \
|
||||
|
||||
LIB_DEPENDS= jpeg.62::graphics/jpeg \
|
||||
png.2::graphics/png \
|
||||
t1.3::devel/t1lib \
|
||||
t1.5::devel/t1lib \
|
||||
tiff.35::graphics/tiff \
|
||||
pdf.2::print/pdflib
|
||||
|
||||
|
12
math/grace/patches/patch-src_fontwin_c
Normal file
12
math/grace/patches/patch-src_fontwin_c
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-src_fontwin_c,v 1.1 2003/07/23 23:15:16 brad Exp $
|
||||
--- src/fontwin.c.orig Sun Jul 20 19:39:19 2003
|
||||
+++ src/fontwin.c Sun Jul 20 19:39:43 2003
|
||||
@@ -320,7 +320,7 @@ static void update_fonttool_cb(int value
|
||||
Widget font_table = (Widget) data;
|
||||
|
||||
FontID = value;
|
||||
- switch (CheckForFontID(FontID)) {
|
||||
+ switch (T1_CheckForFontID(FontID)) {
|
||||
case 0:
|
||||
T1_LoadFont(FontID);
|
||||
break;
|
12
math/grace/patches/patch-src_t1fonts_c
Normal file
12
math/grace/patches/patch-src_t1fonts_c
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-src_t1fonts_c,v 1.1 2003/07/23 23:15:16 brad Exp $
|
||||
--- src/t1fonts.c.orig Sun Jul 20 19:37:58 2003
|
||||
+++ src/t1fonts.c Sun Jul 20 19:38:35 2003
|
||||
@@ -89,7 +89,7 @@ int init_t1(void)
|
||||
return (RETURN_FAILURE);
|
||||
}
|
||||
|
||||
- nfonts = T1_Get_no_fonts();
|
||||
+ nfonts = T1_GetNoFonts();
|
||||
if (nfonts < 1) {
|
||||
return (RETURN_FAILURE);
|
||||
}
|
Loading…
Reference in New Issue
Block a user