From owner-freebsd-ports@FreeBSD.ORG Wed Jul 23 18:09:07 2003 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 4F9D637B404 for ; Wed, 23 Jul 2003 18:09:07 -0700 (PDT) Received: from mailout.informatik.tu-muenchen.de (mailout.informatik.tu-muenchen.de [131.159.0.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 15D0E43FBF for ; Wed, 23 Jul 2003 18:09:06 -0700 (PDT) (envelope-from barner@in.tum.de) Received: by zi025.glhnet.mhn.de (Postfix, from userid 1000) id 0CFEA388AD; Thu, 24 Jul 2003 03:09:05 +0200 (CEST) Date: Thu, 24 Jul 2003 03:09:04 +0200 From: Simon Barner To: ports@freebsd.org Message-ID: <20030724010904.GB1843@zi025.glhnet.mhn.de> References: <20030718025200.GA36893@rot13.obsecurity.org> <20030723131437.GG566@zi025.glhnet.mhn.de> <20030723220013.GC16247@madman.celabo.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="4zI0WCX1RcnW9Hbu" Content-Disposition: inline In-Reply-To: <20030723220013.GC16247@madman.celabo.org> User-Agent: Mutt/1.5.4i X-Virus-Scanned: by amavisd-new at informatik.tu-muenchen.de Subject: Re: Fixing gcc 3.3 compile failures -- fix for math/topaz X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jul 2003 01:09:07 -0000 --4zI0WCX1RcnW9Hbu Content-Type: multipart/mixed; boundary="5QAgd0e35j3NYeGe" Content-Disposition: inline --5QAgd0e35j3NYeGe Content-Type: text/plain; charset=us-ascii Content-Disposition: inline It was suggested to me that my port was not too optimal :-) Here is a updated version. Cheers, Simon --5QAgd0e35j3NYeGe Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="patch-topaz::tpv2ps.cc" Content-Transfer-Encoding: quoted-printable --- topaz/tpv2ps.cc.orig Fri Jun 27 14:35:40 2003 +++ topaz/tpv2ps.cc Thu Jul 24 02:50:11 2003 @@ -31,8 +31,6 @@ #include #include #include -#include -//char *optarg; =20 extern int errno; #include "vectdefs.h" @@ -63,31 +61,31 @@ =20 #define buffersize 1024 =20 -char* entry[] =3D { - {"Times-Roman-Q"}, - {"Times-Bold-Q"}, - {"Times-Italic-Q"}, - {"Times-BoldItalic-Q"}, - {"Helvetica-Q"}, - {"Helvetica-Bold-Q"}, - {"Helvetica-Oblique-Q"}, - {"Helvetica-BoldOblique-Q"}, - {"Courier-Q"}, - {"Courier-Bold-Q"}, - {"Courier-Oblique-Q"}, - {"Courier-BoldOblique-Q"}, - {"Symbol"} +static const char *entry[] =3D { + "Times-Roman-Q", + "Times-Bold-Q", + "Times-Italic-Q", + "Times-BoldItalic-Q", + "Helvetica-Q", + "Helvetica-Bold-Q", + "Helvetica-Oblique-Q", + "Helvetica-BoldOblique-Q", + "Courier-Q", + "Courier-Bold-Q", + "Courier-Oblique-Q", + "Courier-BoldOblique-Q", + "Symbol" }; =20 -char* kentry[] =3D { - {"Ryumin-Light-H"}, - {"Ryumin-Light-H"}, - {"Ryumin-Light-H"}, - {"Ryumin-Light-H"}, - {"GothicBBB-Medium-H"}, - {"GothicBBB-Medium-H"}, - {"GothicBBB-Medium-H"}, - {"GothicBBB-Medium-H"}, +static const char *kentry[] =3D { + "Ryumin-Light-H", + "Ryumin-Light-H", + "Ryumin-Light-H", + "Ryumin-Light-H", + "GothicBBB-Medium-H", + "GothicBBB-Medium-H", + "GothicBBB-Medium-H", + "GothicBBB-Medium-H", }; =20 double papery; --5QAgd0e35j3NYeGe-- --4zI0WCX1RcnW9Hbu Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (FreeBSD) iD8DBQE/HzGwCkn+/eutqCoRAki+AKCuQaOrrCyd7MPTH+8kJWkit2m4IACfQHmZ R+6LSOsT721/teydAYbbEjU= =18Fn -----END PGP SIGNATURE----- --4zI0WCX1RcnW9Hbu--