diff -Nru renpy-6.15.7/debian/changelog renpy-6.15.7/debian/changelog --- renpy-6.15.7/debian/changelog 2013-09-17 19:09:01.000000000 +0000 +++ renpy-6.15.7/debian/changelog 2013-12-23 09:23:48.000000000 +0000 @@ -1,3 +1,10 @@ +renpy (6.15.7-1+rpi1) jessie-staging; urgency=medium + + * Apply patch from http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=732375 + to fix build with current freetype. + + -- Peter Michael Green Mon, 23 Dec 2013 09:23:23 +0000 + renpy (6.15.7-1) unstable; urgency=low [ Evgeni Golov ] diff -Nru renpy-6.15.7/debian/patches/05_freetype251.patch renpy-6.15.7/debian/patches/05_freetype251.patch --- renpy-6.15.7/debian/patches/05_freetype251.patch 1970-01-01 00:00:00.000000000 +0000 +++ renpy-6.15.7/debian/patches/05_freetype251.patch 2013-12-23 09:22:53.000000000 +0000 @@ -0,0 +1,36 @@ +Taken from http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=732375 +diff --git a/module/setup.py b/module/setup.py +index 12f5eac..9d92184 100755 +--- a/module/setup.py ++++ b/module/setup.py +@@ -25,7 +25,7 @@ include("zlib.h") + include("png.h") + include("SDL.h", directory="SDL") + include("ft2build.h") +-include("freetype/freetype.h", directory="freetype2") ++include("freetype/freetype.h", directory="freetype2", optional=True) or include("freetype.h", directory="freetype2") + include("libavutil/avstring.h") + include("libavformat/avformat.h") + include("libavcodec/avcodec.h") +diff --git a/module/ttgsubtable.h b/module/ttgsubtable.h +index 6a49a95..fcbefb8 100644 +--- a/module/ttgsubtable.h ++++ b/module/ttgsubtable.h +@@ -3,7 +3,7 @@ + + #include + #include +-#include ++#include FT_OPENTYPE_VALIDATE_H + + typedef struct + { +@@ -101,7 +101,7 @@ typedef struct + typedef struct + { + int LookupCount; +- TLookup *Lookup; ++ TLookup *Lookup; + } TLookupList; + + typedef struct diff -Nru renpy-6.15.7/debian/patches/series renpy-6.15.7/debian/patches/series --- renpy-6.15.7/debian/patches/series 2013-08-31 04:42:53.000000000 +0000 +++ renpy-6.15.7/debian/patches/series 2013-12-23 09:23:13.000000000 +0000 @@ -2,3 +2,4 @@ 02_traceback.patch 03_checkdir.patch 04_typo.patch +05_freetype251.patch