aboutsummaryrefslogtreecommitdiffstats
path: root/devel/clanlib
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2004-03-23 02:47:03 +0800
committermarcus <marcus@FreeBSD.org>2004-03-23 02:47:03 +0800
commit3db9a84cf979d68b78895ea16ff99bf555459689 (patch)
tree84c792c372ea8075d0630d8692975119cb442fb2 /devel/clanlib
parentc566fdb8dc347909e4f9775f9f769cac7806d43f (diff)
downloadfreebsd-ports-gnome-3db9a84cf979d68b78895ea16ff99bf555459689.tar.gz
freebsd-ports-gnome-3db9a84cf979d68b78895ea16ff99bf555459689.tar.zst
freebsd-ports-gnome-3db9a84cf979d68b78895ea16ff99bf555459689.zip
Fix build with freetype2-2.1.7.
Reported by: bento via kris
Diffstat (limited to 'devel/clanlib')
-rw-r--r--devel/clanlib/files/patch-Setup_Tests_ttf.cpp10
-rw-r--r--devel/clanlib/files/patch-Sources_TTF_font_ttf.cpp12
2 files changed, 22 insertions, 0 deletions
diff --git a/devel/clanlib/files/patch-Setup_Tests_ttf.cpp b/devel/clanlib/files/patch-Setup_Tests_ttf.cpp
new file mode 100644
index 000000000000..32c586ec54c9
--- /dev/null
+++ b/devel/clanlib/files/patch-Setup_Tests_ttf.cpp
@@ -0,0 +1,10 @@
+--- Setup/Tests/ttf.cpp.orig Mon Mar 22 13:44:56 2004
++++ Setup/Tests/ttf.cpp Mon Mar 22 13:45:27 2004
+@@ -11,6 +11,7 @@
+
+ ------------------------------------------------------------------------
+ */
++#include <ft2build.h>
+ #include <freetype2/freetype/freetype.h>
+
+ int main() {
diff --git a/devel/clanlib/files/patch-Sources_TTF_font_ttf.cpp b/devel/clanlib/files/patch-Sources_TTF_font_ttf.cpp
new file mode 100644
index 000000000000..d933a065b61f
--- /dev/null
+++ b/devel/clanlib/files/patch-Sources_TTF_font_ttf.cpp
@@ -0,0 +1,12 @@
+--- Sources/TTF/font_ttf.cpp.orig Mon Mar 22 13:45:53 2004
++++ Sources/TTF/font_ttf.cpp Mon Mar 22 13:46:10 2004
+@@ -21,7 +21,8 @@
+ #include <stdlib.h>
+ #include "Display/Font/font_generic.h"
+
+-#include <freetype/freetype.h>
++#include <ft2build.h>
++#include FT_FREETYPE_H
+
+ #include "font_ttf.h"
+