Sorry - I spoke too soon.  This does not fix all the problems, only some of 
them (gnome-terminal works again, but firefox doesn't).  Also, there are a 
number of other similar errors in the code, for which I have included another 
patch.  I am actively trying to track this down, as it is very annoying.

--- at-spi-1.7.6.orig/cspi/bonobo/cspi-bonobo.c
+++ at-spi-1.7.6/cspi/bonobo/cspi-bonobo.c
@@ -100,7 +100,7 @@
                canonical_display_name = g_strdup (display_env);
                display_p = strrchr (canonical_display_name, ':');
                screen_p = strrchr (canonical_display_name, '.');
-               if (screen_p && display_p && ((guint) screen_p > (guint) 
display_p))
+               if (screen_p && display_p && ((gulong) screen_p > (gulong) 
display_p))
                {
                    *screen_p = '\0';
                }
--- at-spi-1.7.6.orig/registryd/registry-main.c
+++ at-spi-1.7.6/registryd/registry-main.c
@@ -56,7 +56,7 @@
       display_name = g_strdup (gdk_display_get_name (gdk_display_get_default 
()));
       cp = strrchr (display_name, '.');
       dp = strrchr (display_name, ':');
-      if (cp && dp && ((guint) cp > (guint) dp)) *cp = '\0';
+      if (cp && dp && ((gulong) cp > (gulong) dp)) *cp = '\0';
   }
 
   reg_env = bonobo_activation_registration_env_set ( reg_env, 
"AT_SPI_DISPLAY", 

-- 
All GNOME programs segfault immediately on AMD64
https://launchpad.net/malone/bugs/37760

--
desktop-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to