GNOME Bugzilla – Bug 330350
build error on Darwin
Last modified: 2006-02-09 01:58:58 UTC
Please describe the problem: file-chooser doesn't build on Darwin because it uses environ, which is not available. Please use g_listenv instead (see bug #124277). Steps to reproduce: 1. Compile libgnomeui on Darwin. Actual results: /usr/bin/ld: Undefined symbols: _environ Expected results: Successfully linked binary. Does this happen every time? Yes. Other information:
Thanks for catching this. I've committed a fix to the libgnomeui-2-14 and HEAD branches. 2006-02-08 Federico Mena Quintero <federico@ximian.com> * file-chooser/gtkfilesystemgnomevfs.c (gtk_file_system_gnome_vfs_create_folder): Add o+x permission to created folders; we were creating them with permissions 774 instead of 775. * file-chooser/sucky-desktop-item.c (make_spawn_environment_for_sn_context), (make_environment_for_screen): Use g_listenv() instead of environ. Patch by Mark McLoughlin <mark@skynet.ie>, taken from bug #124277. Fixes bug #330350.