summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'x11-misc/xlockmore/files/xlockmore-5.43-freetype251.patch')
-rw-r--r--x11-misc/xlockmore/files/xlockmore-5.43-freetype251.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/x11-misc/xlockmore/files/xlockmore-5.43-freetype251.patch b/x11-misc/xlockmore/files/xlockmore-5.43-freetype251.patch
new file mode 100644
index 000000000000..da34870a8b40
--- /dev/null
+++ b/x11-misc/xlockmore/files/xlockmore-5.43-freetype251.patch
@@ -0,0 +1,18 @@
+Kludge to find >=freetyp2.5.1
+
+--- a/configure.in
++++ b/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.