summaryrefslogtreecommitdiff
path: root/www/galeon2/files/patch-mozilla_MozillaPrivate.cpp
diff options
context:
space:
mode:
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");