@@ -0,0 +1,28 @@
+--- src/chassis-frontend.c.orig 2011-07-14 10:55:39.022110431 +0200
++++ src/chassis-frontend.c 2011-07-14 11:06:05.914648376 +0200
+@@ -320,8 +320,12 @@
+ #ifdef WIN32
+ plugin_dir = g_build_filename(base_dir, "bin", NULL);
+ #else
++#if defined(__64BIT__)
++ plugin_dir = g_build_filename(base_dir, "lib64", PACKAGE, "plugins", NULL);
++#else
+ plugin_dir = g_build_filename(base_dir, "lib", PACKAGE, "plugins", NULL);
+ #endif
++#endif
+
+ *_plugin_dir = plugin_dir;
+
+@@ -337,8 +341,12 @@
+ #ifdef WIN32
+ #define G_MODULE_PREFIX "plugin-" /* we build the plugins with a prefix on win32 to avoid name-clashing in bin/ */
+ #else
++#if defined(__64BIT__)
++#define G_MODULE_PREFIX "lib64"
++#else
+ #define G_MODULE_PREFIX "lib"
+ #endif
++#endif
+ /* we have to hack around some glib distributions that
+ * don't set the correct G_MODULE_SUFFIX, notably MacPorts
+ */
|