]> git.pld-linux.org Git - packages/galeon.git/blame - galeon-mozilla_five_home.patch
- fixes building with mozilla 1.0 family (bad relation is used to compare
[packages/galeon.git] / galeon-mozilla_five_home.patch
CommitLineData
e55947ce 1--- galeon-1.2.0/src/main.c Mon Feb 25 22:48:51 2002
2+++ galeon-1.2.0/src/main.c.orig Fri Apr 5 21:53:37 2002
3@@ -49,6 +49,8 @@
4 #ifdef ENABLE_APPLET
7cfcf846
AM
5 #include <applet-widget.h>
6 #endif
518f8bc1 7+#include <stdlib.h>
e55947ce 8+#include <errno.h>
9 #ifdef ENABLE_GNOME_FILE_SELECTOR
10 #include <bonobo/bonobo-main.h>
11 #endif /* !ENABLE_GNOME_FILE_SELECTOR */
12@@ -182,6 +184,10 @@
13 CORBA_ORB orb;
7cfcf846
AM
14 gint i, n_urls;
15 gchar **url;
e55947ce 16+
17+ /* Setting MOZILLA_FIVE_HOME */
18+ if (getenv("MOZILLA_FIVE_HOME") == NULL)
19+ setenv("MOZILLA_FIVE_HOME", "/usr/X11R6/lib/mozilla/", 1);
7cfcf846 20
7cfcf846 21 /* make stdout line buffered - we only use it for debug info */
518f8bc1 22 setvbuf (stdout, NULL, _IOLBF, 0);
This page took 0.06047 seconds and 4 git commands to generate.