summaryrefslogtreecommitdiffstats
path: root/multimedia/mplayer
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2004-03-17 07:43:41 +0000
committermarcus <marcus@FreeBSD.org>2004-03-17 07:43:41 +0000
commit39a127a477647768b69bea546548e92436c9803a (patch)
tree68f563de41ea413ed1894d409d5fc1b2ab20c116 /multimedia/mplayer
parentd4798b7b60a15ff056522d1b67746413b7f2e6d1 (diff)
downloadFreeBSD-ports-39a127a477647768b69bea546548e92436c9803a.zip
FreeBSD-ports-39a127a477647768b69bea546548e92436c9803a.tar.gz
Fix build with freetype2-2.1.7.
Approved by: maintainer
Diffstat (limited to 'multimedia/mplayer')
-rw-r--r--multimedia/mplayer/files/patch-libvo_font_load.h12
-rw-r--r--multimedia/mplayer/files/patch-libvo_font_load_ft.c12
2 files changed, 24 insertions, 0 deletions
diff --git a/multimedia/mplayer/files/patch-libvo_font_load.h b/multimedia/mplayer/files/patch-libvo_font_load.h
new file mode 100644
index 0000000..bf6ad7f
--- /dev/null
+++ b/multimedia/mplayer/files/patch-libvo_font_load.h
@@ -0,0 +1,12 @@
+--- libvo/font_load.h.orig Tue Mar 16 21:29:40 2004
++++ libvo/font_load.h Tue Mar 16 21:29:58 2004
+@@ -2,7 +2,8 @@
+ #define __MPLAYER_FONT_LOAD_H
+
+ #ifdef HAVE_FREETYPE
+-#include <freetype/freetype.h>
++#include <ft2build.h>
++#include FT_FREETYPE_H
+ #endif
+
+ typedef struct {
diff --git a/multimedia/mplayer/files/patch-libvo_font_load_ft.c b/multimedia/mplayer/files/patch-libvo_font_load_ft.c
new file mode 100644
index 0000000..4197e5c
--- /dev/null
+++ b/multimedia/mplayer/files/patch-libvo_font_load_ft.c
@@ -0,0 +1,12 @@
+--- libvo/font_load_ft.c.orig Tue Mar 16 21:33:42 2004
++++ libvo/font_load_ft.c Tue Mar 16 21:34:02 2004
+@@ -20,7 +20,8 @@
+
+ #include <iconv.h>
+
+-#include <freetype/freetype.h>
++#include <ft2build.h>
++#include FT_FREETYPE_H
+ #include <freetype/ftglyph.h>
+
+ #include "../bswap.h"
OpenPOWER on IntegriCloud