Author: archaic
Date: 2005-04-13 19:02:34 -0600 (Wed, 13 Apr 2005)
New Revision: 912

Added:
   trunk/xpdf/xpdf-3.00pl3-freetype_2.1.7_hack-2.patch
Log:
Copied xpdf patch(es) from blfs repo.

Added: trunk/xpdf/xpdf-3.00pl3-freetype_2.1.7_hack-2.patch
===================================================================
--- trunk/xpdf/xpdf-3.00pl3-freetype_2.1.7_hack-2.patch 2005-04-14 01:01:05 UTC 
(rev 911)
+++ trunk/xpdf/xpdf-3.00pl3-freetype_2.1.7_hack-2.patch 2005-04-14 01:02:34 UTC 
(rev 912)
@@ -0,0 +1,58 @@
+Submitted By: Tushar Teredesai <[EMAIL PROTECTED]> and
+              Randy McMurchy <randy_at_linuxfromscratch_dot_org>
+Date: 2004-12-18
+Initial Package Version: 3.00
+Origin: NA
+Upstream Status: Major hack, will never be accepted upstream.
+Description: Fixed compilation with freetype-2.1.7;
+             (12-18-2004) Randy added CFLAGS for libpaper so that libpaper 
+             is discovered by configure
+
+$LastChangedBy: randy $
+$Date: 2005-02-16 21:58:42 -0700 (Wed, 16 Feb 2005) $
+
+diff -Naur xpdf-3.00-orig/configure xpdf-3.00/configure
+--- xpdf-3.00-orig/configure    2004-01-22 01:26:44.000000000 +0000
++++ xpdf-3.00/configure 2004-12-18 17:42:34.787719704 +0000
+@@ -9007,6 +9007,9 @@
+
+
+
++  cat >>confdefs.h <<_ACEOF
++#include <ft2build.h>
++_ACEOF
+
+
+
+@@ -9817,7 +9820,7 @@
+    { (exit 1); exit 1; }; }
+     fi
+   else
+-    libpaper_CFLAGS=
++    libpaper_CFLAGS="-I/usr/include/freetype2"
+   fi
+
+         smr_test_CPPFLAGS="${CPPFLAGS+set}"
+ 
+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"
+ 

-- 
http://linuxfromscratch.org/mailman/listinfo/patches
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to