summaryrefslogtreecommitdiff
path: root/www/galeon2/files/patch-mozilla_MozillaPrivate.cpp
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2004-10-24 19:31:27 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2004-10-24 19:31:27 +0000
commit7830cdf866e09d08d13121d568db7e8ec0951586 (patch)
treed638b008a17e19ea4718cbd7087c49713d2b4454 /www/galeon2/files/patch-mozilla_MozillaPrivate.cpp
parent- Update to 0.4.6 (diff)
Update to 1.3.18. See http://galeon.sourceforge.net/Main/GaleonRelease1318
for a list of what's changed.
Notes
Notes: svn path=/head/; revision=120087
Diffstat (limited to 'www/galeon2/files/patch-mozilla_MozillaPrivate.cpp')
-rw-r--r--www/galeon2/files/patch-mozilla_MozillaPrivate.cpp18
1 files changed, 18 insertions, 0 deletions
diff --git a/www/galeon2/files/patch-mozilla_MozillaPrivate.cpp b/www/galeon2/files/patch-mozilla_MozillaPrivate.cpp
new file mode 100644
index 000000000000..c583ea9bcd6c
--- /dev/null
+++ b/www/galeon2/files/patch-mozilla_MozillaPrivate.cpp
@@ -0,0 +1,18 @@
+--- mozilla/MozillaPrivate.cpp.orig Sun Oct 24 15:14:57 2004
++++ mozilla/MozillaPrivate.cpp Sun Oct 24 15:17:17 2004
+@@ -109,6 +109,7 @@
+ tmp = paperPrefix + NS_LITERAL_CSTRING("width_mm");
+ rv = pref->GetIntPref(tmp.get(), &width);
+
++#if defined(_NL_PAPER_HEIGHT) && defined(_NL_PAPER_WIDTH)
+ // mark locale default paper size so that print dialog can use
+ // it as best guess when switching printers
+ if (height == (int) (long int) nl_langinfo (_NL_PAPER_HEIGHT) &&
+@@ -116,6 +117,7 @@
+ {
+ info->paper = i;
+ }
++#endif
+
+ PRBool is_inch;
+ tmp = paperPrefix + NS_LITERAL_CSTRING("is_inch");