File xlockmore-extend-freetype-include-search.patch of Package xlockmore

diff -Naur xlockmore-5.43/configure.in xlockmore-5.43.new/configure.in
--- xlockmore-5.43/configure.in	2013-02-21 17:32:25.000000000 +0100
+++ xlockmore-5.43.new/configure.in	2013-12-15 20:09:47.668438807 +0100
@@ -1914,7 +1914,7 @@
 AC_DEFUN(AC_PATH_FREETYPE_DIRECT,
 [test -z "$freetype_direct_test_library" && freetype_direct_test_library=freetype
 test -z "$freetype_direct_test_function" && freetype_direct_test_function=FT_Init_FreeType
-test -z "$freetype_direct_test_include" && freetype_direct_test_include=freetype2/freetype/freetype.h
+test -z "$freetype_direct_test_include" && freetype_direct_test_include=freetype.h
   for ac_dir in               \
     /usr/X11R6.5.1/include	    \
     /usr/X11R6.4/include	      \
@@ -1974,11 +1974,14 @@
     /usr/openwin/share/include	 \
     /usr/openwin/include	      \
                               \
+    /usr/include/freetype2	      \
+    /usr/include/freetype2/freetype	      \
+                              \
     $extra_include	            \
     ; \
   do
     if test -r "$ac_dir/$freetype_direct_test_include"; then
-      no_freetype= ac_freetype_includes=$ac_dir/freetype2
+      no_freetype= ac_freetype_includes=$ac_dir
       break
     fi
   done
openSUSE Build Service is sponsored by