File libcanberra-gtk3.patch of Package claws-mail.openSUSE_Leap_15.2_Update
--- claws-mail-3.15.1_orig/configure 2017-08-29 21:37:11.000000000 +0200
+++ claws-mail-3.15.1/configure 2017-08-30 16:23:33.881148253 +0200
@@ -22588,12 +22588,12 @@
pkg_cv_libcanberra_gtk_CFLAGS="$libcanberra_gtk_CFLAGS"
elif test -n "$PKG_CONFIG"; then
if test -n "$PKG_CONFIG" && \
- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcanberra-gtk >= 0.6\""; } >&5
- ($PKG_CONFIG --exists --print-errors "libcanberra-gtk >= 0.6") 2>&5
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcanberra-gtk3 >= 0.6\""; } >&5
+ ($PKG_CONFIG --exists --print-errors "libcanberra-gtk3 >= 0.6") 2>&5
ac_status=$?
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
test $ac_status = 0; }; then
- pkg_cv_libcanberra_gtk_CFLAGS=`$PKG_CONFIG --cflags "libcanberra-gtk >= 0.6" 2>/dev/null`
+ pkg_cv_libcanberra_gtk_CFLAGS=`$PKG_CONFIG --cflags "libcanberra-gtk3 >= 0.6" 2>/dev/null`
test "x$?" != "x0" && pkg_failed=yes
else
pkg_failed=yes
@@ -22605,12 +22605,12 @@
pkg_cv_libcanberra_gtk_LIBS="$libcanberra_gtk_LIBS"
elif test -n "$PKG_CONFIG"; then
if test -n "$PKG_CONFIG" && \
- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcanberra-gtk >= 0.6\""; } >&5
- ($PKG_CONFIG --exists --print-errors "libcanberra-gtk >= 0.6") 2>&5
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcanberra-gtk3 >= 0.6\""; } >&5
+ ($PKG_CONFIG --exists --print-errors "libcanberra-gtk3 >= 0.6") 2>&5
ac_status=$?
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
test $ac_status = 0; }; then
- pkg_cv_libcanberra_gtk_LIBS=`$PKG_CONFIG --libs "libcanberra-gtk >= 0.6" 2>/dev/null`
+ pkg_cv_libcanberra_gtk_LIBS=`$PKG_CONFIG --libs "libcanberra-gtk3 >= 0.6" 2>/dev/null`
test "x$?" != "x0" && pkg_failed=yes
else
pkg_failed=yes
@@ -22631,9 +22631,9 @@
_pkg_short_errors_supported=no
fi
if test $_pkg_short_errors_supported = yes; then
- libcanberra_gtk_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcanberra-gtk >= 0.6" 2>&1`
+ libcanberra_gtk_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcanberra-gtk3 >= 0.6" 2>&1`
else
- libcanberra_gtk_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcanberra-gtk >= 0.6" 2>&1`
+ libcanberra_gtk_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcanberra-gtk3 >= 0.6" 2>&1`
fi
# Put the nasty error message in config.log where it belongs
echo "$libcanberra_gtk_PKG_ERRORS" >&5