aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Messenger <mezz@FreeBSD.org>2008-03-26 21:42:38 +0000
committerJeremy Messenger <mezz@FreeBSD.org>2008-03-26 21:42:38 +0000
commit4b09586b444a16ecfdad52967dc1c860dde1af60 (patch)
tree7a8582f11af65ec23e90f4ab6184002cfc5a95a3
parentefa2e925c98c82f89f9dc0f7eedb0d8caee2ace8 (diff)
downloadports-4b09586b444a16ecfdad52967dc1c860dde1af60.tar.gz
ports-4b09586b444a16ecfdad52967dc1c860dde1af60.zip
Fix the build with new glib 2.16.
Reported by: pointyhat via pav
Notes
Notes: svn path=/head/; revision=209901
-rw-r--r--x11/xscreensaver-gnome/files/patch-fix_with_glib-2.1611
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));