inkscape/inkscape-use-recommended-freetype-include.patch
Stephan Kulow 03e893808b Accepting request 212063 from GNOME:Apps
- Add inkscape-use-recommended-freetype-include.patch: Freetype
  upstream recommends using their macros together with ft2build.h
  include. Positive sideeffect is that this patch makes it build
  with both freetype2 2.5.1, and older versions.

OBS-URL: https://build.opensuse.org/request/show/212063
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/inkscape?expand=0&rev=70
2013-12-23 21:15:49 +00:00

13 lines
331 B
Diff

--- src/libnrtype/FontFactory.h.orig 2013-12-08 11:01:49.000000000 +0100
+++ src/libnrtype/FontFactory.h 2013-12-08 11:02:22.000000000 +0100
@@ -31,7 +31,8 @@
#include <pango/pangowin32.h>
#else
#include <pango/pangoft2.h>
-#include <freetype/freetype.h>
+#include <ft2build.h>
+#include FT_FREETYPE_H
#endif
namespace Glib