Blame SOURCES/wireshark-1.10.14-gdk-pixbuf-deprecated-segfault.patch

affdba
diff --git a/configure.ac b/configure.ac
affdba
index a17ef31..090923b 100644
affdba
--- a/configure.ac
affdba
+++ b/configure.ac
affdba
@@ -1396,7 +1396,12 @@ else
affdba
 	# Don't use GLIB_CFLAGS
affdba
 	AM_PATH_GLIB_2_0($GLIB_MIN_VERSION, , AC_MSG_ERROR(GLib $GLIB_MIN_VERSION or later distribution not found.), gthread gmodule)
affdba
 
affdba
-	CPPFLAGS="-DGDK_PIXBUF_DISABLE_DEPRECATED $CPPFLAGS"
affdba
+	# XXX: Disabled to fix Segfault: it worked before the latest gdk-pixbuf
affdba
+	# update, because that function is now under a #ifndef
affdba
+	# GDK_PIXBUF_DISABLE_DEPRECATED block which makes the declaration
affdba
+	# invisible and wireshark's configure sets this CPP directive.
affdba
+	#
affdba
+	# CPPFLAGS="-DGDK_PIXBUF_DISABLE_DEPRECATED $CPPFLAGS"
affdba
 	CPPFLAGS="-DGDK_DISABLE_DEPRECATED $CPPFLAGS"
affdba
 	if test \( $gtk_config_major_version -eq 3 -a $gtk_config_minor_version -ge 10 \) ; then
affdba
 		## Allow use of deprecated & disable deprecated warnings if Gtk >= 3.10;