File gnash-config-plugindir.patch of Package gnash

Index: gnash-0.8.10/configure
===================================================================
--- gnash-0.8.10.orig/configure
+++ gnash-0.8.10/configure
@@ -30627,7 +30627,7 @@ if test "${with_kde4_plugindir+set}" = s
 fi
 
   if test x"${with_kde4_plugindir}" != x ; then
-    if test ! -d ${with_kde4_plugindir}/imageformats; then
+    if test ! -d ${with_kde4_plugindir}/plugins; then
       as_fn_error "${with_kde4_plugindir} directory doesn't contain any KDE 4.x plugins!" "$LINENO" 5
     fi
   fi
Index: gnash-0.8.10/macros/kde4.m4
===================================================================
--- gnash-0.8.10.orig/macros/kde4.m4
+++ gnash-0.8.10/macros/kde4.m4
@@ -49,7 +49,7 @@ AC_DEFUN([GNASH_PATH_KDE4],
              [Directory to install KDE 4.x plugin in]),
              with_kde4_plugindir=${withval})
   if test x"${with_kde4_plugindir}" != x ; then 
-    if test ! -d ${with_kde4_plugindir}/imageformats; then
+    if test ! -d ${with_kde4_plugindir}/plugins; then
       AC_MSG_ERROR([${with_kde4_plugindir} directory doesn't contain any KDE 4.x plugins!])
     fi
   fi
openSUSE Build Service is sponsored by