6e4b5a2060e0970babe12b046dc9041c2ab8f6a5
[hdw-linux/hdw-linux.git] / packages / x11 / xpdf / lfs.patch
1 Submitted By: Tushar Teredesai <tushar@linuxfromscratch.org>
2 Date: 2004-03-20
3 Initial Package Version: 3.00
4 Origin: NA
5 Upstream Status: Major hack, will never be accepted upstream.
6 Description: Fixed compilation with freetype-2.1.7.
7 diff -ur xpdf-3.00.orig/configure xpdf-3.00/configure
8 --- xpdf-3.00.orig/configure    2004-01-21 19:26:44.000000000 -0600
9 +++ xpdf-3.00/configure 2004-03-20 10:21:03.000000000 -0600
10 @@ -9007,6 +9007,9 @@
11  
12  
13  
14 +  cat >>confdefs.h <<_ACEOF
15 +#include <ft2build.h>
16 +_ACEOF
17  
18  
19  
20 diff -ur xpdf-3.00.orig/splash/SplashFTFontEngine.h xpdf-3.00/splash/SplashFTFontEngine.h
21 --- xpdf-3.00.orig/splash/SplashFTFontEngine.h  2004-01-21 19:26:44.000000000 -0600
22 +++ xpdf-3.00/splash/SplashFTFontEngine.h       2004-03-20 10:23:32.000000000 -0600
23 @@ -15,6 +15,7 @@
24  #pragma interface
25  #endif
26  
27 +#include <ft2build.h>
28  #include <freetype/freetype.h>
29  #include "gtypes.h"
30  
31 diff -ur xpdf-3.00.orig/splash/SplashFTFontFile.h xpdf-3.00/splash/SplashFTFontFile.h
32 --- xpdf-3.00.orig/splash/SplashFTFontFile.h    2004-01-21 19:26:44.000000000 -0600
33 +++ xpdf-3.00/splash/SplashFTFontFile.h 2004-03-20 10:22:58.000000000 -0600
34 @@ -15,6 +15,7 @@
35  #pragma interface
36  #endif
37  
38 +#include <ft2build.h>
39  #include <freetype/freetype.h>
40  #include "SplashFontFile.h"
41