xlockmore/xlockmore-extend-freetype-include-search.patch
Martin Pluskal 0acb0a9fc7 - Update to 5.81:
* Fixed life3d mode when running by itself as it would not pick up
    allGliders rules on refresh.
  * Fixed building for CDE for Linux.  In general, for Linux, the build
    now uses -R for linking like BSD.

OBS-URL: https://build.opensuse.org/package/show/X11:Utilities/xlockmore?expand=0&rev=72
2024-12-02 08:46:44 +00:00

30 lines
1.2 KiB
Diff

Index: xlockmore-5.53/configure.ac
===================================================================
--- xlockmore-5.53.orig/configure.ac
+++ xlockmore-5.53/configure.ac
@@ -1912,7 +1912,7 @@ dnl freetype FREETYPE
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.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 \
@@ -1972,11 +1972,14 @@ test -z "$freetype_direct_test_include"
/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