[MacPorts] #41640: VLC, VLC-devel: fails to build with freetype 2.5.1

MacPorts noreply at macports.org
Mon Dec 2 12:08:57 PST 2013


#41640: VLC, VLC-devel: fails to build with freetype 2.5.1
-----------------------------+------------------------
  Reporter:  ctreleaven@…    |      Owner:  jeremyhu@…
      Type:  defect          |     Status:  new
  Priority:  Normal          |  Milestone:
 Component:  ports           |    Version:  2.2.1
Resolution:                  |   Keywords:
      Port:  VLC, VLC-devel  |
-----------------------------+------------------------

Comment (by ctreleaven@…):

 Seems to have been reported and a fix committed upstream:

 https://trac.videolan.org/vlc/ticket/10019

 Pretty trivial:

 http://git.videolan.org/?p=vlc.git;a=commit;h=c5b2b0a284ba6b544646f3a205aa1a2e1117d431

 {{{

 From c5b2b0a284ba6b544646f3a205aa1a2e1117d431 Mon Sep 17 00:00:00 2001
 From: Jean-Baptiste Kempf <jb at videolan.org>
 Date: Mon, 2 Dec 2013 17:32:07 +0100
 Subject: [PATCH] Freetype: fix compilation with 2.5.1

 Close #10019
 ---
  modules/text_renderer/freetype.c |    3 ++-
  1 file changed, 2 insertions(+), 1 deletion(-)

 diff --git a/modules/text_renderer/freetype.c
 b/modules/text_renderer/freetype.c
 index bd78c0d..baeeb96 100644
 --- a/modules/text_renderer/freetype.c
 +++ b/modules/text_renderer/freetype.c
 @@ -88,10 +88,11 @@
  #endif

  /* Freetype */
 -#include <freetype/ftsynth.h>
 +#include <ft2build.h>
  #include FT_FREETYPE_H
  #include FT_GLYPH_H
  #include FT_STROKER_H
 +#include FT_SYNTHESIS_H

  #define FT_FLOOR(X)     ((X & -64) >> 6)
  #define FT_CEIL(X)      (((X + 63) & -64) >> 6)
 --
 1.7.10.4
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/41640#comment:2>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list