From 0616ea2cd12adb12bb262adb5428df29066fba33 Mon Sep 17 00:00:00 2001 From: marcus Date: Sat, 20 Aug 2005 00:00:49 +0000 Subject: Add a patch to fix crashes with newer versions of GTK+. Obtained from: ports-stable git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@4561 df743ca5-7f9a-e211-a948-0013205c9059 --- www/mozilla-devel/Makefile | 4 ++-- .../files/patch-mozilla_widget_src_gtk2_mozdrawingarea.c | 12 ++++++++++++ 2 files changed, 14 insertions(+), 2 deletions(-) create mode 100644 www/mozilla-devel/files/patch-mozilla_widget_src_gtk2_mozdrawingarea.c (limited to 'www') diff --git a/www/mozilla-devel/Makefile b/www/mozilla-devel/Makefile index 21c78a155..0fe1da746 100644 --- a/www/mozilla-devel/Makefile +++ b/www/mozilla-devel/Makefile @@ -3,12 +3,12 @@ # Whom: eivind/dima/jseger # # $FreeBSD$ -# $MCom: ports/www/mozilla-devel/Makefile,v 1.5 2005/08/15 17:44:06 ahze Exp $ +# $MCom: ports/www/mozilla-devel/Makefile,v 1.6 2005/08/19 02:31:13 mezz Exp $ # PORTNAME?= mozilla PORTVERSION= 1.8.b1 -PORTREVISION?= 3 +PORTREVISION?= 5 PORTEPOCH?= 2 CATEGORIES?= www MASTER_SITES= ${MASTER_SITE_MOZILLA} diff --git a/www/mozilla-devel/files/patch-mozilla_widget_src_gtk2_mozdrawingarea.c b/www/mozilla-devel/files/patch-mozilla_widget_src_gtk2_mozdrawingarea.c new file mode 100644 index 000000000..9e58b5186 --- /dev/null +++ b/www/mozilla-devel/files/patch-mozilla_widget_src_gtk2_mozdrawingarea.c @@ -0,0 +1,12 @@ +--- widget/src/gtk2/mozdrawingarea.c.orig Tue Apr 30 12:29:00 2002 ++++ widget/src/gtk2/mozdrawingarea.c Thu Aug 18 22:27:27 2005 +@@ -168,7 +168,9 @@ + + drawingarea = MOZ_DRAWINGAREA(object); + ++ gdk_window_set_user_data(drawingarea->inner_window, NULL); + gdk_window_destroy(drawingarea->inner_window); ++ gdk_window_set_user_data(drawingarea->clip_window, NULL); + gdk_window_destroy(drawingarea->clip_window); + + (* parent_class->finalize) (object); -- cgit v1.2.3