summaryrefslogtreecommitdiffstats
path: root/www/epiphany
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2010-05-09 08:11:47 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2010-05-09 08:11:47 +0800
commit04bc9f3e23b36e0ab62513c069bdb73f8c0c36a8 (patch)
treefd008013ea6fc0a88d33693cc6489988e33bd422 /www/epiphany
parent05ccd39c97f808674571f03e6e65da66870d0b45 (diff)
downloadmarcuscom-ports-04bc9f3e23b36e0ab62513c069bdb73f8c0c36a8.tar
marcuscom-ports-04bc9f3e23b36e0ab62513c069bdb73f8c0c36a8.tar.gz
marcuscom-ports-04bc9f3e23b36e0ab62513c069bdb73f8c0c36a8.tar.bz2
marcuscom-ports-04bc9f3e23b36e0ab62513c069bdb73f8c0c36a8.tar.lz
marcuscom-ports-04bc9f3e23b36e0ab62513c069bdb73f8c0c36a8.tar.xz
marcuscom-ports-04bc9f3e23b36e0ab62513c069bdb73f8c0c36a8.tar.zst
marcuscom-ports-04bc9f3e23b36e0ab62513c069bdb73f8c0c36a8.zip
Do not set the session language as the empty string as this can break certain
websites like Jive-based community forums. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@14131 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'www/epiphany')
-rw-r--r--www/epiphany/Makefile4
-rw-r--r--www/epiphany/files/patch-embed_ephy-embed-prefs.c15
2 files changed, 17 insertions, 2 deletions
diff --git a/www/epiphany/Makefile b/www/epiphany/Makefile
index 29bfe9186..8b237e1a9 100644
--- a/www/epiphany/Makefile
+++ b/www/epiphany/Makefile
@@ -3,12 +3,12 @@
# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
#
# $FreeBSD$
-# $MCom: ports/www/epiphany/Makefile,v 1.226 2010/04/03 13:13:41 avl Exp $
+# $MCom: ports/www/epiphany/Makefile,v 1.227 2010/04/10 08:32:35 kwm Exp $
#
PORTNAME= epiphany
PORTVERSION= 2.30.2
-PORTREVISION?= 0
+PORTREVISION?= 1
CATEGORIES= www gnome
MASTER_SITES= GNOME
DIST_SUBDIR= gnome2
diff --git a/www/epiphany/files/patch-embed_ephy-embed-prefs.c b/www/epiphany/files/patch-embed_ephy-embed-prefs.c
new file mode 100644
index 000000000..2f361fc44
--- /dev/null
+++ b/www/epiphany/files/patch-embed_ephy-embed-prefs.c
@@ -0,0 +1,15 @@
+--- embed/ephy-embed-prefs.c.orig 2010-02-20 04:42:51.000000000 -0500
++++ embed/ephy-embed-prefs.c 2010-05-08 20:03:20.000000000 -0400
+@@ -322,8 +322,10 @@ webkit_pref_callback_accept_languages (G
+ langs_str = g_strjoinv (", ", langs);
+
+ /* Update Soup session */
+- session = webkit_get_default_session ();
+- g_object_set (G_OBJECT (session), webkit_pref, langs_str, NULL);
++ if (strlen (langs_str) > 0) {
++ session = webkit_get_default_session ();
++ g_object_set (G_OBJECT (session), webkit_pref, langs_str, NULL);
++ }
+
+ g_strfreev (langs);
+ g_free (langs_str);