aboutsummaryrefslogtreecommitdiffstats
path: root/www/firefox
diff options
context:
space:
mode:
authorjylefort <jylefort@FreeBSD.org>2006-05-02 06:47:05 +0800
committerjylefort <jylefort@FreeBSD.org>2006-05-02 06:47:05 +0800
commit01b8019f8d310a6c297b05ddbbefa9d65a06c437 (patch)
treee7e26b4314fc6fc65666f684a45d729a93f4674c /www/firefox
parentc3b9fac797e7e749ecaea4dd1deef6c4c1584686 (diff)
downloadfreebsd-ports-gnome-01b8019f8d310a6c297b05ddbbefa9d65a06c437.tar.gz
freebsd-ports-gnome-01b8019f8d310a6c297b05ddbbefa9d65a06c437.tar.zst
freebsd-ports-gnome-01b8019f8d310a6c297b05ddbbefa9d65a06c437.zip
Use sane fonts by default.
Diffstat (limited to 'www/firefox')
-rw-r--r--www/firefox/Makefile1
-rw-r--r--www/firefox/files/patch-modules_libpref_src_init_all.js53
2 files changed, 54 insertions, 0 deletions
diff --git a/www/firefox/Makefile b/www/firefox/Makefile
index a03c417503ad..e06ebd322d02 100644
--- a/www/firefox/Makefile
+++ b/www/firefox/Makefile
@@ -8,6 +8,7 @@
PORTNAME= firefox
DISTVERSION= 1.5.0.2
+PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_MOZILLA}
diff --git a/www/firefox/files/patch-modules_libpref_src_init_all.js b/www/firefox/files/patch-modules_libpref_src_init_all.js
new file mode 100644
index 000000000000..1700380a53ec
--- /dev/null
+++ b/www/firefox/files/patch-modules_libpref_src_init_all.js
@@ -0,0 +1,53 @@
+--- modules/libpref/src/init/all.js.orig Mon Feb 13 22:58:15 2006
++++ modules/libpref/src/init/all.js Tue May 2 00:32:55 2006
+@@ -1883,33 +1883,33 @@
+
+ // th
+
+-pref("font.name.serif.tr", "Times");
+-pref("font.name.sans-serif.tr", "Helvetica");
+-pref("font.name.monospace.tr", "Courier");
++pref("font.name.serif.tr", "serif");
++pref("font.name.sans-serif.tr", "sans-serif");
++pref("font.name.monospace.tr", "monospace");
+
+ pref("font.name.serif.x-baltic", "serif");
+ pref("font.name.sans-serif.x-baltic", "sans-serif");
+ pref("font.name.monospace.x-baltic", "monospace");
+
+-pref("font.name.serif.x-central-euro", "Times");
+-pref("font.name.sans-serif.x-central-euro", "Helvetica");
+-pref("font.name.monospace.x-central-euro", "Courier");
++pref("font.name.serif.x-central-euro", "serif");
++pref("font.name.sans-serif.x-central-euro", "sans-serif");
++pref("font.name.monospace.x-central-euro", "monospace");
+
+ pref("font.name.serif.x-cyrillic", "serif");
+ pref("font.name.sans-serif.x-cyrillic", "sans-serif");
+ pref("font.name.monospace.x-cyrillic", "monospace");
+
+-pref("font.name.serif.x-unicode", "Times");
+-pref("font.name.sans-serif.x-unicode", "Helvetica");
+-pref("font.name.monospace.x-unicode", "Courier");
+-
+-pref("font.name.serif.x-user-def", "Times");
+-pref("font.name.sans-serif.x-user-def", "Helvetica");
+-pref("font.name.monospace.x-user-def", "Courier");
+-
+-pref("font.name.serif.x-western", "Times");
+-pref("font.name.sans-serif.x-western", "Helvetica");
+-pref("font.name.monospace.x-western", "Courier");
++pref("font.name.serif.x-unicode", "serif");
++pref("font.name.sans-serif.x-unicode", "sans-serif");
++pref("font.name.monospace.x-unicode", "monospace");
++
++pref("font.name.serif.x-user-def", "serif");
++pref("font.name.sans-serif.x-user-def", "sans-serif");
++pref("font.name.monospace.x-user-def", "monospace");
++
++pref("font.name.serif.x-western", "serif");
++pref("font.name.sans-serif.x-western", "sans-serif");
++pref("font.name.monospace.x-western", "monospace");
+
+ pref("font.name.serif.zh-CN", "serif");
+ pref("font.name.sans-serif.zh-CN", "sans-serif");