[patch] glib2 on x86_64 can't collate/sort (eg in file dialogs)
Hanspeter Niederstrasser <[email protected]> Thu, 29 Dec 2011 20:04:10 -0500
| Newsgroups | gmane.os.apple.fink.gnome |
|---|---|
| Message-ID | <[email protected]> |
GTK+ file open dialogs don't sort alphabetically on x86_64 because apparently glib is using Carbon for collation. The following patch fixes file dialog sorting when I tested it on firefox8 on 10.7. In theory it should be applied to all x86_64 platforms. Dunno if including it for i386 or powerpc would be detrimental. diff -Nurd -x'*~' glib-2.22.4.orig/tests/child-test.c glib-2.22.4/tests/child-test.c --- glib-2.22.4.orig/glib/gunicollate.c.orig 2009-03-31 18:04:20.000000000 -0500 +++ glib-2.22.4/glib/gunicollate.c 2010-03-06 17:59:08.000000000 -0600 @@ -26,6 +26,9 @@ #include <wchar.h> #endif +/* Carbon is not available on 64-bit */ +#undef HAVE_CARBON + #ifdef HAVE_CARBON #include <CoreServices/CoreServices.h> #endif Source: https://trac.macports.org/ticket/23959 Hanspeter ------------------------------------------------------------------------------ Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex infrastructure or vast IT resources to deliver seamless, secure access to virtual desktops. With this all-in-one solution, easily deploy virtual desktops for less than the cost of PCs and save 60% on VDI infrastructure costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox _______________________________________________ fink-gnome-core mailing list [email protected] List archive: http://news.gmane.org/gmane.os.apple.fink.gnome Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-gnome-core