43 lines
1.2 KiB
Diff
43 lines
1.2 KiB
Diff
Gentoo-bug: https://bugs.gentoo.org/506124
|
|
Signed-off-by: Lars Wendler (Polynomial-C)
|
|
Modified-by: Sergey Popov (Pinkbyte)
|
|
--- miscsplashutils-0.1.8/fbtruetype/ttf.c
|
|
+++ miscsplashutils-0.1.8/fbtruetype/ttf.c
|
|
@@ -13,8 +13,8 @@
|
|
#include <ft2build.h>
|
|
#include FT_FREETYPE_H
|
|
/* #include <freetype/freetype.h> */
|
|
-#include <freetype/ftoutln.h>
|
|
-#include <freetype/ttnameid.h>
|
|
+#include FT_OUTLINE_H
|
|
+#include FT_TRUETYPE_IDS_H
|
|
|
|
#include "ttf.h"
|
|
|
|
--- splashutils-1.5.4.4/src/ttf.c 2015-02-01 11:35:04.330595381 +0300
|
|
+++ splashutils-1.5.4.4/src/ttf.c 2015-02-01 11:35:24.287596342 +0300
|
|
@@ -25,8 +25,8 @@
|
|
#include <assert.h>
|
|
|
|
#include <ft2build.h>
|
|
-#include <freetype/ftoutln.h>
|
|
-#include <freetype/ttnameid.h>
|
|
+#include FT_OUTLINE_H
|
|
+#include FT_TRUETYPE_IDS_H
|
|
|
|
#include "common.h"
|
|
#include "render.h"
|
|
--- splashutils-1.5.4.4/src/ttf.h 2015-02-01 11:38:33.852605470 +0300
|
|
+++ splashutils-1.5.4.4/src/ttf.h 2015-02-01 11:38:52.504606368 +0300
|
|
@@ -1,8 +1,8 @@
|
|
#ifndef _TTF_H
|
|
#define _TTF_H
|
|
#include <ft2build.h>
|
|
-#include <freetype/ftoutln.h>
|
|
-#include <freetype/ttnameid.h>
|
|
+#include FT_OUTLINE_H
|
|
+#include FT_TRUETYPE_IDS_H
|
|
|
|
#define CACHED_METRICS 0x10
|
|
#define CACHED_BITMAP 0x01
|