Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 44113
Collapse All | Expand All

(-)dia-0.92.2.origin/app/diapsft2renderer.c (-1 / +2 lines)
Lines 27-33 Link Here
27
#include <pango/pango.h>
27
#include <pango/pango.h>
28
#include <pango/pangoft2.h>
28
#include <pango/pangoft2.h>
29
/* I'd really rather avoid this */
29
/* I'd really rather avoid this */
30
#include <freetype/ftglyph.h>
30
#include <ft2build.h>
31
#include FT_GLYPH_H
31
32
32
#define DPI 300
33
#define DPI 300
33
34
(-)dia-0.92.2.origin/configure (-1 / +2 lines)
Lines 20119-20125 Link Here
20119
cat confdefs.h >>conftest.$ac_ext
20119
cat confdefs.h >>conftest.$ac_ext
20120
cat >>conftest.$ac_ext <<_ACEOF
20120
cat >>conftest.$ac_ext <<_ACEOF
20121
/* end confdefs.h.  */
20121
/* end confdefs.h.  */
20122
#include <freetype/freetype.h>
20122
#include <ft2build.h>
20123
#include FT_FREETYPE_H
20123
#if (FREETYPE_MAJOR*1000+FREETYPE_MINOR)*1000+FREETYPE_PATCH < 2000009
20124
#if (FREETYPE_MAJOR*1000+FREETYPE_MINOR)*1000+FREETYPE_PATCH < 2000009
20124
#error Freetype version too low.
20125
#error Freetype version too low.
20125
#endif
20126
#endif
(-)dia-0.92.2.origin/configure.in (-1 / +2 lines)
Lines 69-75 Link Here
69
    AC_MSG_CHECKING([if FreeType version is 2.0.9 or higher])
69
    AC_MSG_CHECKING([if FreeType version is 2.0.9 or higher])
70
    old_CPPFLAGS="$CPPFLAGS"
70
    old_CPPFLAGS="$CPPFLAGS"
71
    CPPFLAGS="$CPPFLAGS `freetype-config --cflags`"
71
    CPPFLAGS="$CPPFLAGS `freetype-config --cflags`"
72
    AC_TRY_CPP([#include <freetype/freetype.h>
72
    AC_TRY_CPP([#include <ft2build.h>
73
#include FT_FREETYPE_H
73
#if (FREETYPE_MAJOR*1000+FREETYPE_MINOR)*1000+FREETYPE_PATCH < 2000009
74
#if (FREETYPE_MAJOR*1000+FREETYPE_MINOR)*1000+FREETYPE_PATCH < 2000009
74
#error Freetype version too low.
75
#error Freetype version too low.
75
#endif
76
#endif

Return to bug 44113