Browse Source

fbsplash: fix compile issues

Waldemar Brodkorb 9 years ago
parent
commit
751b97d6bd
2 changed files with 26 additions and 0 deletions
  1. 13 0
      package/fbsplash/patches/patch-src_ttf_c
  2. 13 0
      package/fbsplash/patches/patch-src_ttf_h

+ 13 - 0
package/fbsplash/patches/patch-src_ttf_c

@@ -0,0 +1,13 @@
+--- fbsplash-1.0.orig/src/ttf.c	2014-03-30 12:57:21.000000000 +0200
++++ fbsplash-1.0/src/ttf.c	2016-09-23 15:22:50.905609518 +0200
+@@ -25,8 +25,8 @@
+ #include <assert.h>
+ 
+ #include <ft2build.h>
+-#include <ftoutln.h>
+-#include <ttnameid.h>
++#include <freetype/ftoutln.h>
++#include <freetype/ttnameid.h>
+ 
+ #include "common.h"
+ #include "render.h"

+ 13 - 0
package/fbsplash/patches/patch-src_ttf_h

@@ -0,0 +1,13 @@
+--- fbsplash-1.0.orig/src/ttf.h	2014-03-30 12:57:32.000000000 +0200
++++ fbsplash-1.0/src/ttf.h	2016-09-23 15:23:00.593974947 +0200
+@@ -1,8 +1,8 @@
+ #ifndef _TTF_H
+ #define _TTF_H
+ #include <ft2build.h>
+-#include <ftoutln.h>
+-#include <ttnameid.h>
++#include <freetype/ftoutln.h>
++#include <freetype/ttnameid.h>
+ 
+ #define CACHED_METRICS  0x10
+ #define CACHED_BITMAP   0x01