tidy; keep up with freetype's shifting headers (bug #562734)

Package-Manager: portage-2.2.20.1
This commit is contained in:
Michael Sterrett
2015-10-11 01:43:31 -04:00
parent 64ed6a251d
commit 1b59cc3e26
3 changed files with 11 additions and 11 deletions

View File

@@ -1,5 +1,5 @@
--- openmortal-0.7/src/sge_tt_text.cpp.old 2014-04-04 21:35:37.275483286 +0300
+++ openmortal-0.7/src/sge_tt_text.cpp 2014-04-04 21:36:08.065359870 +0300
--- openmortal-0.7/src/sge_tt_text.cpp.old
+++ openmortal-0.7/src/sge_tt_text.cpp
@@ -37,9 +37,9 @@
#ifndef _SGE_NOTTF
@@ -7,9 +7,9 @@
-#include <freetype/freetype.h>
-#include <freetype/ftoutln.h>
-#include <freetype/ttnameid.h>
+#include <freetype.h>
+#include <ftoutln.h>
+#include <ttnameid.h>
+#include FT_FREETYPE_H
+#include FT_OUTLINE_H
+#include FT_TRUETYPE_IDS_H
/* The structure used to hold glyph information (cached) */
struct glyph {

View File

@@ -1,5 +1,5 @@
--- src/OnlineChat.cpp.old 2006-01-28 14:34:42.000000000 -0700
+++ src/OnlineChat.cpp 2006-01-28 14:34:53.000000000 -0700
--- src/OnlineChat.cpp.old
+++ src/OnlineChat.cpp
@@ -56,7 +56,7 @@
class CChallengeMenu: public Menu
{

View File

@@ -21,20 +21,20 @@ DEPEND="media-libs/libsdl[video]
media-libs/sdl-net
>=media-libs/freetype-2.4.0
dev-lang/perl"
RDEPEND="${DEPEND}"
RDEPEND=${DEPEND}
src_prepare() {
epatch \
"${FILESDIR}/${P}"-gcc41.patch \
"${FILESDIR}/${P}"-freetype.patch
mv configure.{in,ac} || die
eautoreconf
}
src_install() {
emake DESTDIR="${D}" install
DOCS="AUTHORS ChangeLog README TODO" \
default
newicon data/gfx/icon.png ${PN}.png
make_desktop_entry ${PN} OpenMortal
dodoc AUTHORS ChangeLog README TODO
prepgamesdirs
}