summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-03-02 01:50:44 +0000
committerMike Frysinger <vapier@gentoo.org>2005-03-02 01:50:44 +0000
commitb1b4d878effc05f615de93736cd0af79ac07051f (patch)
treeae43b3fd2449e512c0fa514fed8c7ef3a0da5b98 /dev-games
parentMarked ~amd64. (diff)
downloadgentoo-2-b1b4d878effc05f615de93736cd0af79ac07051f.tar.gz
gentoo-2-b1b4d878effc05f615de93736cd0af79ac07051f.tar.bz2
gentoo-2-b1b4d878effc05f615de93736cd0af79ac07051f.zip
Add patch by Jim Ramsay to fix building with freetype #76533.
(Portage version: 2.0.51.18)
Diffstat (limited to 'dev-games')
-rw-r--r--dev-games/clanlib/ChangeLog6
-rw-r--r--dev-games/clanlib/clanlib-0.6.5-r2.ebuild3
-rw-r--r--dev-games/clanlib/files/clanlib-0.6.5-freetype.patch17
3 files changed, 24 insertions, 2 deletions
diff --git a/dev-games/clanlib/ChangeLog b/dev-games/clanlib/ChangeLog
index f3532d697459..3b56889746d2 100644
--- a/dev-games/clanlib/ChangeLog
+++ b/dev-games/clanlib/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-games/clanlib
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-games/clanlib/ChangeLog,v 1.23 2005/03/02 01:43:05 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-games/clanlib/ChangeLog,v 1.24 2005/03/02 01:50:44 vapier Exp $
+
+ 01 Mar 2005; Mike Frysinger <vapier@gentoo.org>
+ +files/clanlib-0.6.5-freetype.patch, clanlib-0.6.5-r2.ebuild:
+ Add patch by Jim Ramsay to fix building with freetype #76533.
01 Mar 2005; Mike Frysinger <vapier@gentoo.org>
+files/clanlib-0.6.5-DirectFB-update.patch, clanlib-0.6.5-r2.ebuild:
diff --git a/dev-games/clanlib/clanlib-0.6.5-r2.ebuild b/dev-games/clanlib/clanlib-0.6.5-r2.ebuild
index 9ff395834267..6a1395ed345a 100644
--- a/dev-games/clanlib/clanlib-0.6.5-r2.ebuild
+++ b/dev-games/clanlib/clanlib-0.6.5-r2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-games/clanlib/clanlib-0.6.5-r2.ebuild,v 1.4 2005/03/02 01:43:05 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-games/clanlib/clanlib-0.6.5-r2.ebuild,v 1.5 2005/03/02 01:50:44 vapier Exp $
inherit eutils flag-o-matic
@@ -29,6 +29,7 @@ src_unpack() {
cd "${S}"
epatch "${FILESDIR}"/${P}-gcc3.patch
epatch "${FILESDIR}"/${P}-DirectFB-update.patch
+ epatch "${FILESDIR}"/${P}-freetype.patch
}
src_compile() {
diff --git a/dev-games/clanlib/files/clanlib-0.6.5-freetype.patch b/dev-games/clanlib/files/clanlib-0.6.5-freetype.patch
new file mode 100644
index 000000000000..d15b5c607931
--- /dev/null
+++ b/dev-games/clanlib/files/clanlib-0.6.5-freetype.patch
@@ -0,0 +1,17 @@
+Make sure freetype is included properly.
+Patch by Jim Ramsay.
+
+http://bugs.gentoo.org/show_bug.cgi?id=76533
+
+--- Sources/TTF/font_ttf.cpp
++++ Sources/TTF/font_ttf.cpp
+@@ -21,7 +21,8 @@
+ #include <malloc.h>
+ #include "Display/Font/font_generic.h"
+
+-#include <freetype/freetype.h>
++#include <ft2build.h>
++#include FT_FREETYPE_H
+
+ #include "font_ttf.h"
+