polynomial-c    14/03/11 13:36:52

  Added:                xlockmore-5.43-freetype251.patch
  Log:
  Fixed compilation with >=freetype-2.5.1 (bug #498782)
  
  (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 
0x981CA6FC)

Revision  Changes    Path
1.1                  x11-misc/xlockmore/files/xlockmore-5.43-freetype251.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/xlockmore/files/xlockmore-5.43-freetype251.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/xlockmore/files/xlockmore-5.43-freetype251.patch?rev=1.1&content-type=text/plain

Index: xlockmore-5.43-freetype251.patch
===================================================================
Kludge to find >=freetyp2.5.1

--- xlockmore-5.43/configure.in
+++ xlockmore-5.43/configure.in
@@ -1983,6 +1983,13 @@
     fi
   done
 
+if test -z "$ac_freetype_includes" ; then
+  tt_inc=/usr/include/freetype2
+  if test -r "$tt_inc/freetype.h" ; then
+    no_freetype= ac_freetype_includes=$tt_inc
+  fi
+fi
+
 # Check for the libraries.
 # See if we find them without any special options.
 # Do not add to $LIBS permanently.




Reply via email to