diff options
author | mezz <mezz@FreeBSD.org> | 2008-03-27 05:42:38 +0800 |
---|---|---|
committer | mezz <mezz@FreeBSD.org> | 2008-03-27 05:42:38 +0800 |
commit | 5e800118d48e1ef3f9ca5aabf2eb451c659fb3e5 (patch) | |
tree | 09eb6eee0950c77412bbf84c5ee549c7de59154f /x11 | |
parent | e3a5b6bfa0ca11d20fb7467a6be75f048d522dec (diff) | |
download | freebsd-ports-gnome-5e800118d48e1ef3f9ca5aabf2eb451c659fb3e5.tar.gz freebsd-ports-gnome-5e800118d48e1ef3f9ca5aabf2eb451c659fb3e5.tar.zst freebsd-ports-gnome-5e800118d48e1ef3f9ca5aabf2eb451c659fb3e5.zip |
Fix the build with new glib 2.16.
Reported by: pointyhat via pav
Diffstat (limited to 'x11')
-rw-r--r-- | x11/xscreensaver-gnome/files/patch-fix_with_glib-2.16 | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/x11/xscreensaver-gnome/files/patch-fix_with_glib-2.16 b/x11/xscreensaver-gnome/files/patch-fix_with_glib-2.16 new file mode 100644 index 000000000000..e63d28b1e6cd --- /dev/null +++ b/x11/xscreensaver-gnome/files/patch-fix_with_glib-2.16 @@ -0,0 +1,11 @@ +--- driver/demo-Gtk.c.orig 2008-03-26 16:35:44.000000000 -0500 ++++ driver/demo-Gtk.c 2008-03-26 16:36:14.000000000 -0500 +@@ -1085,7 +1085,7 @@ + if (!was) gtk_widget_set_sensitive (parent, True); + #ifdef HAVE_GTK2 + model = gtk_tree_view_get_model (GTK_TREE_VIEW (list)); +- STFU g_assert (model); ++ g_assert (model != NULL); + if (gtk_tree_model_iter_nth_child (model, &iter, NULL, list_elt)) + { + selection = gtk_tree_view_get_selection (GTK_TREE_VIEW (list)); |