openbsd-ports/www/minimo/patches/patch-minimo_base_Minimo_cpp
martynas b57122cfe1 more work on minimo:
- WANTLIB for xenocara;
- fix initxpcom crashes with HACK_AROUND_NONREENTRANT_INITXPCOM;
- respect the layout, data files belong to /usr/local/share/minimo;
- respect homepage;
- cleanup;
"looks ok" robert@
2007-04-01 13:19:58 +00:00

22 lines
485 B
Plaintext

$OpenBSD: patch-minimo_base_Minimo_cpp,v 1.3 2007/04/01 13:19:58 martynas Exp $
--- minimo/base/Minimo.cpp.orig Fri Oct 27 23:30:36 2006
+++ minimo/base/Minimo.cpp Sun Apr 1 13:38:06 2007
@@ -34,6 +34,8 @@
*
* ***** END LICENSE BLOCK ***** */
+#include <unistd.h>
+
#include "MinimoPrivate.h"
#include "nsIFullScreen.h"
@@ -806,6 +808,8 @@ void UnloadKnownLibs()
int main(int argc, char *argv[])
{
+ chdir(MOZAPPDIR);
+
#ifdef WINCE
CreateListenerWindow();
#endif