Permalink
Browse files

libbluray: add freetype support

Closes Homebrew/legacy-homebrew#25085.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
  • Loading branch information...
Bruno R. Barreyra authored and jacknagel committed Dec 9, 2013
1 parent 0b94e70 commit d12c637c38a0bfd8c26ce2aaa38a054a3712224a
Showing with 20 additions and 0 deletions.
  1. +20 −0 Formula/libbluray.rb
View
@@ -14,6 +14,10 @@ class Libbluray < Formula
end
depends_on 'pkg-config' => :build
depends_on 'freetype' => :recommended
# Upstream patch for freetype 2.5.1+
def patches; DATA; end
def install
ENV.libxml2
@@ -24,3 +28,19 @@ def install
system "make install"
end
end
__END__
diff --git a/src/libbluray/decoders/textst_render.c b/src/libbluray/decoders/textst_render.c
index 780b640..ffcb1bd 100644
--- a/src/libbluray/decoders/textst_render.c
+++ b/src/libbluray/decoders/textst_render.c
@@ -30,7 +30,7 @@
#ifdef HAVE_FT2
#include <ft2build.h>
#include FT_FREETYPE_H
-#include <freetype/ftsynth.h>
+#include FT_SYNTHESIS_H
#endif
#include "textst_render.h"

0 comments on commit d12c637

Please sign in to comment.