Submitted By: Tushar Teredesai <tushar@linuxfromscratch.org>
Date: 2004-03-20
Initial Package Version: 3.00
Origin: NA
Upstream Status: Major hack, will never be accepted upstream.
Description: Fixed compilation with freetype-2.1.7.
diff -ur xpdf-3.00.orig/configure xpdf-3.00/configure
--- xpdf-3.00.orig/configure	2004-01-21 19:26:44.000000000 -0600
+++ xpdf-3.00/configure	2004-03-20 10:21:03.000000000 -0600
@@ -9007,6 +9007,9 @@
 
 
 
+  cat >>confdefs.h <<_ACEOF
+#include <ft2build.h>
+_ACEOF
 
 
 
diff -ur xpdf-3.00.orig/splash/SplashFTFontEngine.h xpdf-3.00/splash/SplashFTFontEngine.h
--- xpdf-3.00.orig/splash/SplashFTFontEngine.h	2004-01-21 19:26:44.000000000 -0600
+++ xpdf-3.00/splash/SplashFTFontEngine.h	2004-03-20 10:23:32.000000000 -0600
@@ -15,6 +15,7 @@
 #pragma interface
 #endif
 
+#include <ft2build.h>
 #include <freetype/freetype.h>
 #include "gtypes.h"
 
diff -ur xpdf-3.00.orig/splash/SplashFTFontFile.h xpdf-3.00/splash/SplashFTFontFile.h
--- xpdf-3.00.orig/splash/SplashFTFontFile.h	2004-01-21 19:26:44.000000000 -0600
+++ xpdf-3.00/splash/SplashFTFontFile.h	2004-03-20 10:22:58.000000000 -0600
@@ -15,6 +15,7 @@
 #pragma interface
 #endif
 
+#include <ft2build.h>
 #include <freetype/freetype.h>
 #include "SplashFontFile.h"
 
