From c07d84d47899c737455a52b5b88513bdc60aa96f Mon Sep 17 00:00:00 2001 From: marcus Date: Sat, 20 Aug 2005 00:06:19 +0000 Subject: Add a patch to fix crashes with newer versions of GTK+. Obtained from: firefox git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@4562 df743ca5-7f9a-e211-a948-0013205c9059 --- www/firefox-devel/Makefile | 4 ++-- .../files/patch-mozilla_widget_src_gtk2_mozdrawingarea.c | 12 ++++++++++++ www/firefox3-devel/Makefile | 4 ++-- .../files/patch-mozilla_widget_src_gtk2_mozdrawingarea.c | 12 ++++++++++++ 4 files changed, 28 insertions(+), 4 deletions(-) create mode 100644 www/firefox-devel/files/patch-mozilla_widget_src_gtk2_mozdrawingarea.c create mode 100644 www/firefox3-devel/files/patch-mozilla_widget_src_gtk2_mozdrawingarea.c diff --git a/www/firefox-devel/Makefile b/www/firefox-devel/Makefile index 76c5af771..68bfdb3ad 100644 --- a/www/firefox-devel/Makefile +++ b/www/firefox-devel/Makefile @@ -3,12 +3,12 @@ # Whom: Alan Eldridge # # $FreeBSD$ -# $MCom: ports/www/firefox-devel/Makefile,v 1.12 2005/08/06 18:21:08 marcus Exp $ +# $MCom: ports/www/firefox-devel/Makefile,v 1.13 2005/08/19 02:23:56 mezz Exp $ # PORTNAME= firefox DISTVERSION= 1.1a2 -PORTREVISION= 1 +PORTREVISION= 2 PORTEPOCH= 1 CATEGORIES= www MASTER_SITES= ${MASTER_SITE_MOZILLA} diff --git a/www/firefox-devel/files/patch-mozilla_widget_src_gtk2_mozdrawingarea.c b/www/firefox-devel/files/patch-mozilla_widget_src_gtk2_mozdrawingarea.c new file mode 100644 index 000000000..9e58b5186 --- /dev/null +++ b/www/firefox-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); diff --git a/www/firefox3-devel/Makefile b/www/firefox3-devel/Makefile index 76c5af771..68bfdb3ad 100644 --- a/www/firefox3-devel/Makefile +++ b/www/firefox3-devel/Makefile @@ -3,12 +3,12 @@ # Whom: Alan Eldridge # # $FreeBSD$ -# $MCom: ports/www/firefox-devel/Makefile,v 1.12 2005/08/06 18:21:08 marcus Exp $ +# $MCom: ports/www/firefox-devel/Makefile,v 1.13 2005/08/19 02:23:56 mezz Exp $ # PORTNAME= firefox DISTVERSION= 1.1a2 -PORTREVISION= 1 +PORTREVISION= 2 PORTEPOCH= 1 CATEGORIES= www MASTER_SITES= ${MASTER_SITE_MOZILLA} diff --git a/www/firefox3-devel/files/patch-mozilla_widget_src_gtk2_mozdrawingarea.c b/www/firefox3-devel/files/patch-mozilla_widget_src_gtk2_mozdrawingarea.c new file mode 100644 index 000000000..9e58b5186 --- /dev/null +++ b/www/firefox3-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