From owner-freebsd-ports@FreeBSD.ORG Sun Jun 27 19:42:51 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C26D016A4CE; Sun, 27 Jun 2004 19:42:51 +0000 (GMT) Received: from sally.dts-online.net (sally.dts-online.net [212.62.68.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5D4C643D46; Sun, 27 Jun 2004 19:42:51 +0000 (GMT) (envelope-from lkoeller@koellers.net) Received: from door.koellers.net (213-182-118-179.teleos-web.de [213.182.118.179]) by sally.dts-online.net (Postfix) with ESMTP id B8D3E33FCCD; Sun, 27 Jun 2004 21:42:18 +0200 (CEST) Received: from odie.koellers.net (root@odie.koellers.net [192.168.4.2]) by door.koellers.net (8.12.11/8.12.8) with ESMTP id i5RIj7PN055967; Sun, 27 Jun 2004 20:45:07 +0200 (CEST) (envelope-from lkoeller@koellers.net) Received: from odie.koellers.net (lkoeller@localhost [127.0.0.1]) by odie.koellers.net (8.12.11/8.12.9) with ESMTP id i5RIj7Q5040955; Sun, 27 Jun 2004 20:45:07 +0200 (CEST) (envelope-from lkoeller@odie.koellers.net) Message-Id: <200406271845.i5RIj7Q5040955@odie.koellers.net> X-Mailer: exmh version 2.6.3 04/04/2003 with nmh-1.0.4 From: Lars =?iso-8859-1?Q?K=F6ller?= To: ale@FreeBSD.org X-Face: eCcoCV}FjV*O{6>[1$XP/e%]TJhEw2MF33dFh)^HM7Gfd=[/(4+0a$~ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Jun 2004 19:42:51 -0000 -------- Hi, I'm maintaining the grace port (/usr/ports/math/grace) on FreeBSD, and = notice that your update breaks the build of grace. There seems to be an undocumented change: PDF_open_fp used in grace isn't available anymore. I didn't find anything about in = the pdflib documentation. Dou you have any idea, what to use in case of = that library call? Here is the source excerpt from pdfdrv.c: /* undefine all graphics state parameters */ pdf_color =3D -1; pdf_pattern =3D -1; pdf_linew =3D -1.0; pdf_lines =3D -1; pdf_linecap =3D -1; pdf_linejoin =3D -1; phandle =3D PDF_new2(pdf_error_handler, NULL, NULL, NULL, NULL); if (phandle =3D=3D NULL) { return RETURN_FAILURE; } if (pdf_setup_pdf1_3 =3D=3D TRUE) { s =3D "1.3"; } else { s =3D "1.2"; } PDF_set_parameter(phandle, "compatibility", s); if (PDF_open_fp(phandle, prstream) =3D=3D -1) { return RETURN_FAILURE; } = PDF_set_value(phandle, "compress", (float) pdf_setup_compression); PDF_set_info(phandle, "Creator", bi_version_string()); PDF_set_info(phandle, "Author", get_username()); PDF_set_info(phandle, "Title", get_docname()); = pdf_font_ids =3D xmalloc(number_of_fonts()*SIZEOF_INT); for (i =3D 0; i < number_of_fonts(); i++) { pdf_font_ids[i] =3D -1; } Many thanks and best regards Lars -- = Lars K=F6ller E-Mail: lars@koellers.net (LKoeller@FreeBSD.ORG) -------- FreeBSD, was sonst? ---- http://www.de.freebsd.org --------