File xlockmore-ttf_dir.patch of Package xlockmore

Index: configure.in
===================================================================
--- configure.in.orig	2010-01-28 00:30:40.000000000 +0100
+++ configure.in	2010-12-14 12:19:00.863842724 +0100
@@ -1585,9 +1585,9 @@ else
   ttf=yes
   AC_DEFINE(HAVE_TTF)
   if test "x$prefix" = "xNONE"; then
-    AC_DEFINE_UNQUOTED(DEF_TTFONT, "/usr/lib/X11/xlock/fonts/")
+    AC_DEFINE_UNQUOTED(DEF_TTFONT, "/usr/share/fonts/truetype/")
   else
-    AC_DEFINE_UNQUOTED(DEF_TTFONT, "${prefix}/lib/X11/xlock/fonts/")
+    AC_DEFINE_UNQUOTED(DEF_TTFONT, "/usr/share/fonts/truetype/")
   fi
   XLOCKLIBS="${XLOCKLIBS} -lttf"
   test "x$ttf_includes" = xNONE && ttf_includes=$ac_ttf_includes
@@ -1985,9 +1985,9 @@ else
   freetype=yes
   AC_DEFINE(HAVE_FREETYPE)
   if test "x$prefix" = "xNONE"; then
-    AC_DEFINE_UNQUOTED(DEF_TTFONT, "/usr/lib/X11/xlock/fonts/")
+    AC_DEFINE_UNQUOTED(DEF_TTFONT, "/usr/share/fonts/truetype/")
   else
-    AC_DEFINE_UNQUOTED(DEF_TTFONT, "${prefix}/lib/X11/xlock/fonts/")
+    AC_DEFINE_UNQUOTED(DEF_TTFONT, "/usr/share/fonts/truetype/")
   fi
   XLOCKLIBS="${XLOCKLIBS} -lfreetype"
   test "x$freetype_includes" = xNONE && freetype_includes=$ac_freetype_includes
openSUSE Build Service is sponsored by