From 6195a02cb576fd6d2c28ead742059c3fbaa9ec88 Mon Sep 17 00:00:00 2001 From: Don Armstrong Date: Sun, 29 Dec 2013 12:45:45 -0800 Subject: [PATCH] Fix freetype path by applying patch from upstream (Closes: #733399) --- debian/changelog | 1 + debian/patches/fix_freetype_inclusions | 56 ++++++++++++++++++++++++++ debian/patches/series | 1 + 3 files changed, 58 insertions(+) create mode 100644 debian/patches/fix_freetype_inclusions create mode 100644 debian/patches/series diff --git a/debian/changelog b/debian/changelog index 8f92182639..88f069e580 100644 --- a/debian/changelog +++ b/debian/changelog @@ -4,6 +4,7 @@ lilypond (2.16.2-3) UNRELEASED; urgency=low (closes: #693238) * Breaks/Replaces lilypond-doc in html packages to stop problems on wheezy upgrade. (Closes: #718013) + * Fix freetype path by applying patch from upstream (Closes: #733399) -- Don Armstrong Mon, 11 Nov 2013 09:57:06 -0800 diff --git a/debian/patches/fix_freetype_inclusions b/debian/patches/fix_freetype_inclusions new file mode 100644 index 0000000000..faabd1aaec --- /dev/null +++ b/debian/patches/fix_freetype_inclusions @@ -0,0 +1,56 @@ +--- a/lily/freetype.cc ++++ b/lily/freetype.cc +@@ -20,6 +20,9 @@ + #include "freetype.hh" + #include "warn.hh" + ++#include FT_OUTLINE_H ++#include FT_BBOX_H ++ + FT_Library freetype2_library; + + void +--- a/lily/freetype-error.cc ++++ b/lily/freetype-error.cc +@@ -31,7 +31,7 @@ + const char *err_msg; + } ft_errors[] = + +-#include ++#include FT_ERRORS_H + + ; + +--- a/lily/open-type-font.cc ++++ b/lily/open-type-font.cc +@@ -23,7 +23,7 @@ + + using namespace std; + +-#include ++#include FT_TRUETYPE_TABLES_H + + #include "dimensions.hh" + #include "international.hh" +--- a/lily/pango-font.cc ++++ b/lily/pango-font.cc +@@ -22,7 +22,7 @@ + #define PANGO_ENABLE_BACKEND + + #include +-#include ++#include FT_XFREE86_H + + #include + #include +--- a/lily/ttf.cc ++++ b/lily/ttf.cc +@@ -20,7 +20,7 @@ + #include + #include "freetype.hh" + +-#include ++#include FT_TRUETYPE_TABLES_H + + #include "international.hh" + #include "memory-stream.hh" diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000000..a329a4a0b9 --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +fix_freetype_inclusions -- 2.39.5