summaryrefslogtreecommitdiffstats
path: root/redhat/applications/koffice/koffice-3.5.13-disable_graphicksmagick.patch
diff options
context:
space:
mode:
authoralbator <albator@arcadia.vtf>2011-11-24 23:47:54 +0100
committeralbator <albator@arcadia.vtf>2011-11-24 23:47:54 +0100
commitb90c8995428a95728d62ad0f1b477d2486654212 (patch)
tree9e62286a0ef81ba01d2d140cf39becc3c8ba23ec /redhat/applications/koffice/koffice-3.5.13-disable_graphicksmagick.patch
parent4d26b3bc3984739d812f22d751e3089de35293a0 (diff)
downloadtde-packaging-b90c8995428a95728d62ad0f1b477d2486654212.tar.gz
tde-packaging-b90c8995428a95728d62ad0f1b477d2486654212.zip
RHEL/Fedora: TDE fixes, add applications, etc ....
Diffstat (limited to 'redhat/applications/koffice/koffice-3.5.13-disable_graphicksmagick.patch')
-rw-r--r--redhat/applications/koffice/koffice-3.5.13-disable_graphicksmagick.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/redhat/applications/koffice/koffice-3.5.13-disable_graphicksmagick.patch b/redhat/applications/koffice/koffice-3.5.13-disable_graphicksmagick.patch
new file mode 100644
index 000000000..2ed8017e6
--- /dev/null
+++ b/redhat/applications/koffice/koffice-3.5.13-disable_graphicksmagick.patch
@@ -0,0 +1,20 @@
+--- koffice/configure.in.in.ORI 2011-11-23 14:10:51.406182478 -0500
++++ koffice/configure.in.in 2011-11-23 14:11:51.714475724 -0500
+@@ -20,7 +20,7 @@
+
+ if test -n "$GRAPHICS_MAGICK_CONFIG"; then
+ vers=`$GRAPHICS_MAGICK_CONFIG --version 2>/dev/null | $AWK 'BEGIN { FS = "."; } { printf "%d", ($1 * 1000 + $2) * 1000 + $3;}'`
+- if test -n "$vers" && test "$vers" -ge 1001007; then
++ if test -n "$vers" && test "$vers" -ge 1001007 && test "$vers" -lt 1002000; then
+ LIBGMAGICK_LIBS="`$GRAPHICS_MAGICK_CONFIG --libs`"
+ LIBGMAGICK_LDFLAGS="`$GRAPHICS_MAGICK_CONFIG --ldflags`"
+ LIBGMAGICK_RPATH=
+@@ -36,7 +36,7 @@
+ AC_DEFINE(HAVE_GMAGICK,1, [GraphicsMagick is available])
+ have_graphicsmagick=yes
+ else
+- AC_MSG_WARN([You need at least GraphicsMagick 1.1.7])
++ AC_MSG_WARN([You need at least GraphicsMagick 1.1.7, but less than 1.2.0])
+ fi
+
+ fi