summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-office/koffice/files/koffice-1.3_beta1-fontconfig-2.2-support.diff')
-rw-r--r--app-office/koffice/files/koffice-1.3_beta1-fontconfig-2.2-support.diff14
1 files changed, 14 insertions, 0 deletions
diff --git a/app-office/koffice/files/koffice-1.3_beta1-fontconfig-2.2-support.diff b/app-office/koffice/files/koffice-1.3_beta1-fontconfig-2.2-support.diff
new file mode 100644
index 000000000000..6e2e4ec6b37a
--- /dev/null
+++ b/app-office/koffice/files/koffice-1.3_beta1-fontconfig-2.2-support.diff
@@ -0,0 +1,14 @@
+--- karbon/configure.in.in.old 2002-11-30 18:23:39.000000000 +0100
++++ karbon/configure.in.in 2003-05-17 19:25:56.000000000 +0200
+@@ -64,6 +64,11 @@
+ AC_MSG_WARN([Could not find fontconfig anywhere, please check http://fontconfig.org])
+ ])
+
++PKG_CHECK_MODULES(FONTCONFIG, fontconfig)
++if test -n "$FONTCONFIG_LIBS"; then
++ AC_DEFINE_UNQUOTED(HAVE_FONTCONFIG, 1, [Defines if your system has the libfontconfig library])
++fi
++
+ if test -n "$FONTCONFIG_CONFIG"; then
+ vers=`$FONTCONFIG_CONFIG --version 2>/dev/null | awk 'BEGIN { FS = "."; } { printf "%d", ($1 * 1000 + $2) * 1000 + $3;}'`
+ if test -n "$vers" && test "$vers" -ge 1000001