File pan-gtkspell3.patch of Package pan

--- pan-0.136-orig/configure.in	2012-04-08 17:30:35.000000000 +0200
+++ pan-0.136/configure.in	2012-04-11 21:25:55.562775659 +0200
@@ -124,7 +124,7 @@
 	                  AC_DEFINE(HAVE_GTK,[1],[GTK+ 3 support])]
 	                  )
   if test "x$want_gtkspell" = "xyes" ; then
-    PKG_CHECK_MODULES([GTKSPELL], [gtkspell3-2.0 >= $GTKSPELL3_REQUIRED enchant >= $ENCHANT_REQUIRED],
+    PKG_CHECK_MODULES([GTKSPELL], [gtkspell-3.0 >= $GTKSPELL3_REQUIRED enchant >= $ENCHANT_REQUIRED],
                       [
                       gtkspell_msg=yes
                       AC_DEFINE(HAVE_GTKSPELL,[1],[GtkSpell support for spellchecking])
                       
--- pan-0.136-orig/configure	2012-04-08 17:32:12.000000000 +0200
+++ pan-0.136/configure	2012-04-11 21:31:23.410954247 +0200
@@ -7191,12 +7191,12 @@
     pkg_cv_GTKSPELL_CFLAGS="$GTKSPELL_CFLAGS"
  elif test -n "$PKG_CONFIG"; then
     if test -n "$PKG_CONFIG" && \
-    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtkspell3-2.0 >= \$GTKSPELL3_REQUIRED enchant >= \$ENCHANT_REQUIRED\""; } >&5
-  ($PKG_CONFIG --exists --print-errors "gtkspell3-2.0 >= $GTKSPELL3_REQUIRED enchant >= $ENCHANT_REQUIRED") 2>&5
+    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtkspell-3.0 >= \$GTKSPELL3_REQUIRED enchant >= \$ENCHANT_REQUIRED\""; } >&5
+  ($PKG_CONFIG --exists --print-errors "gtkspell-3.0 >= $GTKSPELL3_REQUIRED enchant >= $ENCHANT_REQUIRED") 2>&5
   ac_status=$?
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; }; then
-  pkg_cv_GTKSPELL_CFLAGS=`$PKG_CONFIG --cflags "gtkspell3-2.0 >= $GTKSPELL3_REQUIRED enchant >= $ENCHANT_REQUIRED" 2>/dev/null`
+  pkg_cv_GTKSPELL_CFLAGS=`$PKG_CONFIG --cflags "gtkspell-3.0 >= $GTKSPELL3_REQUIRED enchant >= $ENCHANT_REQUIRED" 2>/dev/null`
 else
   pkg_failed=yes
 fi
@@ -7207,12 +7207,12 @@
     pkg_cv_GTKSPELL_LIBS="$GTKSPELL_LIBS"
  elif test -n "$PKG_CONFIG"; then
     if test -n "$PKG_CONFIG" && \
-    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtkspell3-2.0 >= \$GTKSPELL3_REQUIRED enchant >= \$ENCHANT_REQUIRED\""; } >&5
-  ($PKG_CONFIG --exists --print-errors "gtkspell3-2.0 >= $GTKSPELL3_REQUIRED enchant >= $ENCHANT_REQUIRED") 2>&5
+    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtkspell-3.0 >= \$GTKSPELL3_REQUIRED enchant >= \$ENCHANT_REQUIRED\""; } >&5
+  ($PKG_CONFIG --exists --print-errors "gtkspell-3.0 >= $GTKSPELL3_REQUIRED enchant >= $ENCHANT_REQUIRED") 2>&5
   ac_status=$?
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; }; then
-  pkg_cv_GTKSPELL_LIBS=`$PKG_CONFIG --libs "gtkspell3-2.0 >= $GTKSPELL3_REQUIRED enchant >= $ENCHANT_REQUIRED" 2>/dev/null`
+  pkg_cv_GTKSPELL_LIBS=`$PKG_CONFIG --libs "gtkspell-3.0 >= $GTKSPELL3_REQUIRED enchant >= $ENCHANT_REQUIRED" 2>/dev/null`
 else
   pkg_failed=yes
 fi
@@ -7232,9 +7232,9 @@
         _pkg_short_errors_supported=no
 fi
         if test $_pkg_short_errors_supported = yes; then
-	        GTKSPELL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gtkspell3-2.0 >= $GTKSPELL3_REQUIRED enchant >= $ENCHANT_REQUIRED" 2>&1`
+	        GTKSPELL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gtkspell-3.0 >= $GTKSPELL3_REQUIRED enchant >= $ENCHANT_REQUIRED" 2>&1`
         else
-	        GTKSPELL_PKG_ERRORS=`$PKG_CONFIG --print-errors "gtkspell3-2.0 >= $GTKSPELL3_REQUIRED enchant >= $ENCHANT_REQUIRED" 2>&1`
+	        GTKSPELL_PKG_ERRORS=`$PKG_CONFIG --print-errors "gtkspell-3.0 >= $GTKSPELL3_REQUIRED enchant >= $ENCHANT_REQUIRED" 2>&1`
         fi
 	# Put the nasty error message in config.log where it belongs
 	echo "$GTKSPELL_PKG_ERRORS" >&5

openSUSE Build Service is sponsored by