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

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