summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2004-07-01 03:31:27 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2004-07-01 03:31:27 +0000
commit5a13015a93a8276b494db445bd4d96312095a85d (patch)
tree365b283e147cf842050831614c75e58e73fca9bd /media-libs/sdl-ttf
parentstable on ppc64, bug #55597 (diff)
downloadhistorical-5a13015a93a8276b494db445bd4d96312095a85d.tar.gz
historical-5a13015a93a8276b494db445bd4d96312095a85d.tar.bz2
historical-5a13015a93a8276b494db445bd4d96312095a85d.zip
Add patch from Ming Zhao via bug #55746 to support latest freetype
Diffstat (limited to 'media-libs/sdl-ttf')
-rw-r--r--media-libs/sdl-ttf/ChangeLog6
-rw-r--r--media-libs/sdl-ttf/Manifest5
-rw-r--r--media-libs/sdl-ttf/files/ft2build.patch12
-rw-r--r--media-libs/sdl-ttf/sdl-ttf-2.0.6.ebuild10
4 files changed, 29 insertions, 4 deletions
diff --git a/media-libs/sdl-ttf/ChangeLog b/media-libs/sdl-ttf/ChangeLog
index 83bf72b18d03..fd28b5acd9f6 100644
--- a/media-libs/sdl-ttf/ChangeLog
+++ b/media-libs/sdl-ttf/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-libs/sdl-ttf
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/sdl-ttf/ChangeLog,v 1.13 2004/06/24 23:22:24 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/sdl-ttf/ChangeLog,v 1.14 2004/07/01 03:31:27 mr_bones_ Exp $
+
+ 30 Jun 2004; Michael Sterrett <mr_bones_@gentoo.org> +files/ft2build.patch,
+ sdl-ttf-2.0.6.ebuild:
+ Add patch from Ming Zhao via bug #55746 to support latest freetype
29 Nov 2003; Brad House <brad_mssw@gentoo.org> sdl-ttf-2.0.6.ebuild:
mark stable on amd64
diff --git a/media-libs/sdl-ttf/Manifest b/media-libs/sdl-ttf/Manifest
index a6df74ac25b7..676ef9d81b4a 100644
--- a/media-libs/sdl-ttf/Manifest
+++ b/media-libs/sdl-ttf/Manifest
@@ -1,4 +1,5 @@
-MD5 4139d2332bc6139e735552a50746067d ChangeLog 1597
-MD5 37da2a05e278d4769e0a20b20463e3d1 sdl-ttf-2.0.6.ebuild 716
+MD5 b4fddc55482d094f4f8e26fade4c3b52 ChangeLog 1770
+MD5 0b6b63f5bd63ce7cac0cd2dccd1908b3 sdl-ttf-2.0.6.ebuild 809
MD5 c31d06a3fb205ae41a5572206e43c2e8 metadata.xml 396
MD5 65f14a95508d9bc0c81cc8d8282b23ef files/digest-sdl-ttf-2.0.6 66
+MD5 d871a02468d1158e842e5faaf344beba files/ft2build.patch 340
diff --git a/media-libs/sdl-ttf/files/ft2build.patch b/media-libs/sdl-ttf/files/ft2build.patch
new file mode 100644
index 000000000000..56868fdf871b
--- /dev/null
+++ b/media-libs/sdl-ttf/files/ft2build.patch
@@ -0,0 +1,12 @@
+--- SDL_ttf.c.orig 2003-02-22 01:38:15.000000000 +0800
++++ SDL_ttf.c 2004-07-01 10:36:07.439887480 +0800
+@@ -39,7 +39,8 @@
+ #define FREEA(p) free(p)
+ #endif
+
+-#include <freetype/freetype.h>
++#include <ft2build.h>
++#include FT_FREETYPE_H
+ #include <freetype/ftoutln.h>
+ #include <freetype/ttnameid.h>
+ #include <freetype/internal/ftobjs.h>
diff --git a/media-libs/sdl-ttf/sdl-ttf-2.0.6.ebuild b/media-libs/sdl-ttf/sdl-ttf-2.0.6.ebuild
index cd530ef36afe..32ff9f0c37fa 100644
--- a/media-libs/sdl-ttf/sdl-ttf-2.0.6.ebuild
+++ b/media-libs/sdl-ttf/sdl-ttf-2.0.6.ebuild
@@ -1,6 +1,8 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/sdl-ttf/sdl-ttf-2.0.6.ebuild,v 1.11 2004/07/01 03:21:31 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/sdl-ttf/sdl-ttf-2.0.6.ebuild,v 1.12 2004/07/01 03:31:27 mr_bones_ Exp $
+
+inherit eutils
MY_P="${P/sdl-/SDL_}"
DESCRIPTION="library that allows you to use TrueType fonts in SDL applications"
@@ -17,6 +19,12 @@ DEPEND=">=media-libs/libsdl-1.2.4
S="${WORKDIR}/${MY_P}"
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch "${FILESDIR}/ft2build.patch"
+}
+
src_install() {
make DESTDIR="${D}" install || die "make install failed"
dodoc CHANGES README