diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2004-03-14 06:33:03 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2004-03-14 06:33:03 +0800 |
commit | 7ac83ffb0555fd538f6b84d883f3ae72bd47c726 (patch) | |
tree | 0c51d3b287393bf916e570503afb0ed8884a8612 /www | |
parent | dba7bc7b1fd1395c79caa4b8eb94919e35916c6d (diff) | |
download | marcuscom-ports-7ac83ffb0555fd538f6b84d883f3ae72bd47c726.tar marcuscom-ports-7ac83ffb0555fd538f6b84d883f3ae72bd47c726.tar.gz marcuscom-ports-7ac83ffb0555fd538f6b84d883f3ae72bd47c726.tar.bz2 marcuscom-ports-7ac83ffb0555fd538f6b84d883f3ae72bd47c726.tar.lz marcuscom-ports-7ac83ffb0555fd538f6b84d883f3ae72bd47c726.tar.xz marcuscom-ports-7ac83ffb0555fd538f6b84d883f3ae72bd47c726.tar.zst marcuscom-ports-7ac83ffb0555fd538f6b84d883f3ae72bd47c726.zip |
Fix a crash when trying to download a link.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@2049 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'www')
-rw-r--r-- | www/epiphany/Makefile | 1 | ||||
-rw-r--r-- | www/epiphany/files/patch-embed_mozilla_mozilla-download.cpp | 18 |
2 files changed, 19 insertions, 0 deletions
diff --git a/www/epiphany/Makefile b/www/epiphany/Makefile index be4a125f1..4c66fe7bd 100644 --- a/www/epiphany/Makefile +++ b/www/epiphany/Makefile @@ -7,6 +7,7 @@ PORTNAME= epiphany PORTVERSION= 1.1.12 +PORTREVISION= 1 CATEGORIES= www gnome MASTER_SITES= ${MASTER_SITE_GNOME} MASTER_SITE_SUBDIR= sources/${PORTNAME}/1.1 diff --git a/www/epiphany/files/patch-embed_mozilla_mozilla-download.cpp b/www/epiphany/files/patch-embed_mozilla_mozilla-download.cpp new file mode 100644 index 000000000..93f77a42b --- /dev/null +++ b/www/epiphany/files/patch-embed_mozilla_mozilla-download.cpp @@ -0,0 +1,18 @@ +2004-03-13 Joe Marcus Clarke <marcus@FreeBSD.org> + +* embed/mozilla/mozilla-download.cpp: (mozilla_download_class_init): + +Register MozillaDownloadPrivate with g_type_class_add_private before calling +G_TYPE_INSTANCE_GET_PRIVATE (fixes #137109). + +--- embed/mozilla/mozilla-download.cpp.orig Sat Mar 13 17:12:45 2004 ++++ embed/mozilla/mozilla-download.cpp Sat Mar 13 17:13:36 2004 +@@ -264,6 +264,8 @@ + download_class->pause = impl_pause; + download_class->resume = impl_resume; + ++ g_type_class_add_private (klass, sizeof (MozillaDownloadPrivate)); ++ + g_object_class_install_property (object_class, + PROP_MOZDOWNLOAD, + g_param_spec_pointer ("mozilla-download", |