gnome-base/gnome-vfs in-tree versions fail compilation with glib-2.15 due to G_GNUC_FUNCTION deprecation and gnome-vfs stable version build wrongly defining G_DISABLE_DEPRECATED and other *_DISABLE_DEPRECATED macros. We probably need to sed out the DISABLE_DEPRECATED stuff from Makefile.am and Makefile.in's as we have done before for GTK_DISABLE_DEPRECATED and co back when that was the problem. Would be nice to also fix upstream to define these DISABLE_DEPRECATED stuff only for odd minor version number builds (dev builds) as defining them in stable versions is not future proof. x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -pthread -DORBIT2=1 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -I/usr/include/libxml2 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include -I/usr/include -D_REENTRANT -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DDBUS_API_SUBJECT_TO_CHANGE -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/hal -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DXDG_PREFIX=_gnome_vfs_xdg -DDBUS_API_SUBJECT_TO_CHANGE -D_FILE_OFFSET_BITS=64 -D_BSD_SOURCE -D_LARGEFILE64_SOURCE -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -DG_DISABLE_DEPRECATED -DGNOME_VFS_PREFIX=\"/usr\" -DGNOME_VFS_BINDIR=\"/usr/bin\" -DGNOME_VFS_DATADIR=\"/usr/share\" -DGNOME_VFS_LIBDIR=\"/usr/lib64\" -DGNOME_VFS_LOCALEDIR=\"/usr/share/locale\" -DGNOME_VFS_SYSCONFDIR=\"/etc\" -DG_LOG_DOMAIN=\"libgnomevfs\" -march=athlon64 -O2 -pipe -ggdb -MT gnome-vfs-mime-handlers.lo -MD -MP -MF .deps/gnome-vfs-mime-handlers.Tpo -c gnome-vfs-mime-handlers.c -fPIC -DPIC -o .libs/gnome-vfs-mime-handlers.o gnome-vfs-mime-handlers.c: In function 'gnome_vfs_mime_application_get_desktop_id': gnome-vfs-mime-handlers.c:1601: error: 'G_GNUC_FUNCTION' undeclared (first use in this function) gnome-vfs-mime-handlers.c:1601: error: (Each undeclared identifier is reported only once gnome-vfs-mime-handlers.c:1601: error: for each function it appears in.) gnome-vfs-mime-handlers.c: In function 'gnome_vfs_mime_application_get_desktop_file_path': gnome-vfs-mime-handlers.c:1626: error: 'G_GNUC_FUNCTION' undeclared (first use in this function) gnome-vfs-mime-handlers.c: In function 'gnome_vfs_mime_application_get_generic_name': gnome-vfs-mime-handlers.c:1667: error: 'G_GNUC_FUNCTION' undeclared (first use in this function) gnome-vfs-mime-handlers.c: In function 'gnome_vfs_mime_application_get_icon': gnome-vfs-mime-handlers.c:1693: error: 'G_GNUC_FUNCTION' undeclared (first use in this function) gnome-vfs-mime-handlers.c: In function 'gnome_vfs_mime_application_get_exec': gnome-vfs-mime-handlers.c:1719: error: 'G_GNUC_FUNCTION' undeclared (first use in this function) gnome-vfs-mime-handlers.c: In function 'gnome_vfs_mime_application_get_binary_name': gnome-vfs-mime-handlers.c:1749: error: 'G_GNUC_FUNCTION' undeclared (first use in this function) gnome-vfs-mime-handlers.c: In function 'gnome_vfs_mime_application_supports_uris': gnome-vfs-mime-handlers.c:1773: error: 'G_GNUC_FUNCTION' undeclared (first use in this function) gnome-vfs-mime-handlers.c: In function 'gnome_vfs_mime_application_supports_startup_notification': gnome-vfs-mime-handlers.c:1817: error: 'G_GNUC_FUNCTION' undeclared (first use in this function) gnome-vfs-mime-handlers.c: In function 'gnome_vfs_mime_application_get_startup_wm_class': gnome-vfs-mime-handlers.c:1840: error: 'G_GNUC_FUNCTION' undeclared (first use in this function) make[3]: *** [gnome-vfs-mime-handlers.lo] Error 1 make[3]: *** Waiting for unfinished jobs....
Fixed in portage versions