Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Mar 2004 03:43:38 +0100
From:      Michael Nottebrock <michaelnottebrock@gmx.net>
To:        freebsd-ports@freebsd.org
Cc:        Joe Marcus Clarke <marcus@freebsd.org>
Subject:   Re: HEADS UP: freetype2 upgrade
Message-ID:  <200403170343.42414.michaelnottebrock@gmx.net>
In-Reply-To: <1079483172.5430.9.camel@shumai.marcuscom.com>
References:  <1079483172.5430.9.camel@shumai.marcuscom.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--Boundary-03=_et7VAdfYmhS9lsH
Content-Type: multipart/mixed;
  boundary="Boundary-01=_at7VAHSWpg0+xdS"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

--Boundary-01=_at7VAHSWpg0+xdS
Content-Type: text/plain;
  charset="iso-8859-15"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

On Wednesday 17 March 2004 01:26, Joe Marcus Clarke wrote:
> This is a HEADS UP to maintainers of ports that use freetype2.  The
> recent freetype2 upgrade brings in an internal API change.  You may
> start noticing ports fail to build with an error saying you did not
> include ft2build.h.  I have added a CHANGES entry for this problem, but
> just to sum it up, if a source file includes freetype/freetype.h, you
> must replace that with:
>
> #include <ft2build.h>
> #include FT_FREETYPE_H

It's noteworthy that freetype/freetype.h is probably used by many ports in=
=20
configure checks for freetype.

One example is graphics/xpdf. Patching those configure scripts should often=
 be=20
simple though, example patch for xpdf is attached.

=2D-=20
   ,_,   | Michael Nottebrock               | lofi@freebsd.org
 (/^ ^\) | FreeBSD - The Power to Serve     | http://www.freebsd.org
   \u/   | K Desktop Environment on FreeBSD | http://freebsd.kde.org

--Boundary-01=_at7VAHSWpg0+xdS
Content-Type: text/x-diff;
  charset="iso-8859-15";
  name="patch-configure"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline;
	filename="patch-configure"

=2D-- configure.orig	Thu Jan 22 02:26:44 2004
+++ configure	Wed Mar 17 03:36:44 2004
@@ -9460,7 +9460,7 @@
   CPPFLAGS=3D"$CPPFLAGS $freetype2_CFLAGS "
=20
=20
=2Dfor ac_header in freetype.h
+for ac_header in ft2build.h
 do
 as_ac_Header=3D`echo "ac_cv_header_$ac_header" | $as_tr_sh`
 if eval "test \"\${$as_ac_Header+set}\" =3D set"; then

--Boundary-01=_at7VAHSWpg0+xdS--

--Boundary-03=_et7VAdfYmhS9lsH
Content-Type: application/pgp-signature
Content-Description: signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQBAV7teXhc68WspdLARAvCdAKCgkBj5flOjMiLhPk7X1H8PWFOzpQCfUOSL
FCiZYfhiDOwH/RCjOdvz6Tc=
=1uP2
-----END PGP SIGNATURE-----

--Boundary-03=_et7VAdfYmhS9lsH--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200403170343.42414.michaelnottebrock>