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

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