5ff335469b
Based on patch provided by Juan RP in pkgsrc-users ml. Overview of Changes from GLib 2.17.7 to GLib 2.18.0 =================================================== * Win32: - rework the g_poll() implementation to match poll() semantics more closely * Bugs fixed: 324234 Using g_io_add_watch_full() to wait for connect() to return... 548278 Async GETs connections are always terminated unexpectedly... 500246 Bug fixes for giowin32 523939 Example program for GValue 550096 GBookmarkFile parser is not forward compatible 550040 Move GString, rand and printf tests to the unit test framework 550104 trivial documentation fix for g_get_home_dir 548988 g_file_replace fails on Windows when the target file exists 550059 Wrong docs for g_emblemed_icon_add_emblem 548800 Missing a g_object_get_type function 550056 Missing documentation for g_emblemed_icon_get_emblems * Updated translations: Bulgarian (bg) Czech (cs) German (de) Estonian (et) Basque (eu) French (fr) Hebrew (he) Hungarian (hu) Italian (it) Japanese (ja) Lithuanian (lt) Maithili (mai) Dutch (nl) Swedish (sv) Thai (th) Ukrainian (uk) Vietnamese (vi) Overview of Changes from GLib 2.17.6 to GLib 2.17.7 =================================================== * More fixes for 64-bit Windows * GIO - Add a vfs implementation for HTTP and HTTPS URIs on Windows * Bugs fixed: 546329 API docs for g_utf8_normalize() are incorrect 546876 Modify GMarkup parser to accept  ..  547200 g_utf8_find_next_char() issues 547637 unconditional #include of sys/statfs.h in configure 547337 G_DISABLE_DEPRECATED breaks tests build 547832 gtk+-2.12.11 fails to build - AC_PROG_MMAP too strict 502498 Test framework assertion failures should follow gcc 546371 Improve docs re g_file_monitor 546483 GThemedIcon:use-default-fallbacks is not readable without... 546132 GFileIcon is bindings-unfriendly 542156 zfs mount in home directory shown on nautilus desktop 535124 umask 002 not being applied for new directories... 547080 g_file_copy leaks expected errors 546582 Callbacks from GFileMonitor present a GFile... 547262 Missing link in the docs * Updated translations: Arabic (ar) Catalan (ca) Spanish (es) Basque (eu) Finnish (fi) Galician (gl) Hebrew (he) Marathi (mr) Norwegian bokmål (nb) Portugese (pt) Brazilian Portugese (pt_BR) Swedish (sv) Thai (th) Overview of Changes from GLib 2.17.4 to GLib 2.17.6 =================================================== * Fix problems on 64-bit Windows * g_markup_context_get_user_data: New function to access the user_data outside of callbacks * GIO - g_mount_guess_content_type_sync: synchronous version of g_mount_guess_content_type - GEmblem: A GIcon implementation that adds emblem-related metadata to icons - GEmblemedIcon: A GIcon implementation that can add emblems to icons * Bugs fixed: 544088 option_test_LDADD is left in tests/Makefile.am 544465 gmarkup makes it hard to use pre-rolled parsers 545485 Implicit declaration of utime() 545798 "Since: 2.18" mark is missing in g_set_error_literal... 544140 fam-helper 64-bit issue 529694 SELinux context setting support 545157 wrong/no list of "open with" applications for .cc... 545203 gfile.c: argument is different type 545457 gdmsetup crashed with SIGSEGV in g_unix_mount_guess... 544177 Fix trivial cut and paste error in documentation 545395 Language tweak for g_value_set_string* docs 541036 Gnumeric crashes when trying to open Desktop... 546079 leak in xdgmime 545395 Language tweak for g_value_set_string* docs 546017 Don't copy attributes when copying a symlink * Updated translations: Arabic (ar) Estonian (et) Galician (gl) Italian (it) Japanese (ja) Korean (ko) Norwegian bokmål (nb) Pashto (ps) Portugese (pt) Overview of Changes from GLib 2.17.3 to GLib 2.17.4 =================================================== * GIO: - New API to handle content types: g_mount_guess_content_type, g_content_type_guess_for_tree. - Export the eject-button signal on the volume monitor class - New API to enable out-of-process volume monitors: g_volume_get_activation_root * GObject: - New API to handle signals without slots in the class structure: g_signal_new_class_handler, g_signal_override_class_handler * Internationalization: - Add an NC_ macro that is a no-op equivalent of C_ * GMarkup: - Add two new functions g_markup_parse_context_push, g_markup_parse_context_pop to support "subparsers" * Bugs fixed: 541208 Functions to easily install and use signals without... 541507 Ambiguous description of assigned characters in the... 543040 async reading on dummy file will crash on GIO_USE_VFS=local 543560 enable gio-FEN back-end warnings on Solaris will crash... 528317 GRegex does not allow recursion limit 337518 GMarkup: Subparser support 541794 drive-eject-button signal 541793 activation root for volumes 467707 test_iconv_state() in tests/convert-test.c fails on AIX 5.3 428048 2 of 51 tests fail on Solaris 542332 small fix for error message in GMarkup 482413 get_contents_stdio -- overflow and memory corruption 406120 g_ascii_strtod 334234 "printf" format error 536996 Missing noop i18n macro equivalent to C_ 540616 mem leak in filechooser button 539229 gobject-query calls itself query 521589 [RFC] gobject documentation should mention Vala 543168 Description of G_SLICE=debug-blocks discourages its use 543220 Case collision on gio-extension-points.html 530759 update the gobject tutorial to the XXI century 535223 gbookmark file inefficiency ... 543504 crash in Epiphany Web Browser: Opening local file * Updated translation: German (de) Estonian (et) Pashto (ps) Albanian (sq) Thai (th) Traditional Chinese (zh_HK) Traditional Chinese (zh_TW) Overview of Changes from GLib 2.17.1 to GLib 2.17.3 =================================================== * PCRE - fix for CVE-2008-2371 * Bugs fixed: 538119 glib's mainloop leaks a pipe to sub-processes 537635 Corrections and improvements to g_time_val_{to,from}_iso8601 539067 The document g_io_channel_win32_new_fd() says... 535949 annotate g_strip_context and g_dpgettext with G_GNUC_FORMAT 539123 annotate g_d[n]gettext with G_GNUC_FORMAT 539074 Cannot get exit status with g_spawn_command_line_sync 316221 G_LOCK warns about breaking strict-aliasing rules 539770 migrate gstrfunc unit tests to gtest 539626 Update docstrings for g_object_freeze_notify and g_object_thaw_notify 538044 unconditional use of LC_MESSAGES 540545 Monotonic time and timer offset 535947 want g_set_error_literal 539999 glibconfig.h: add GLIB_USING_SYSTEM_PRINTF 536252 GFileEnumerator should allow access to the containing GFile 538362 Get Win32 icons back in the file chooser 540802 g_list_prepend doesn't concat lists 540423 unrecoverable error after g_seekable_truncate 538836 make check failure on PPC and ALPHA: pltcheck.sh on g_atomic_pointer_get 539090 g_content_type_from_mime_type() should unalias 540331 g_file_append_to () documentation: can return NULL 534639 add g_desktop_app_info_new_from_keyfile 536733 gio build failure on Irix 536160 Add g_file_monitor() 538127 FileChooser broken on win32 531476 /live-g-file/test_traverse_structure test fails on Mac HFS+ 538564 gio should have gio-types.h 540047 glib-genmarshal.c: '#include <io.h>' is too before Updated translations: Korean (ko) Occitan (oc) Overview of Changes from GLib 2.17.0 to GLib 2.17.1 =================================================== * New function: g_utime(), a gstdio wrapper for utime() * New functions: g_dgettext() and g_dngettext(), wrappers for corresponding gettext functions with added functionaliy * Support the latest version of the shared-mime spec, including icons for mime types * New function: g_themed_icon_prepend_name() * Bugs fixed: 535418 Please document which glib version defines goffset 528715 Misprint in the description of the interface g_type_class_add_private 528714 Misprint in the description of the interface g_param_spec_flags 537260 Doc bug in G_TYPE_INSTANCE_GET_CLASS() 530527 Misprint in the description of the interface g_cclosure_marshal_VOID__FLAGS 530526 Misprint in the description of the fields 'class_init' and 'class_finalize' of the structure GTypeInfo 528719 Improvement to the documentation of the "g_object_connect" interface 528172 gtk_signal_handlers_unblock_* functions return value amount of matched signals, not amount of actually unblocked 528717 Misprint in the description of the parameter 'type_id' for the interface g_type_register_fundamental 528716 Misprint in the description of the parameter 'iface_data' for the callback types GInterfaceInitFunc and GInterfaceFinalizeFunc 537555 GObject instantiation not thread safe 537546 'desktop' shortcut in file chooser looks like a generic folder 537392 Additional colon in xattr name 536641 Filesystem querying in gio does not list AFS and autofs file systems 528600 g_dummy_file_get_parent("scheme://example.com/") 503071 Application direction changes to right to left even if theres no translation 502511 g_assert_cmphex prints invalid message 338162 Use po/LINGUAS 314453 Nautilus crashes in Solaris when browsing the attached file 529321 make check fails in glib/pcre 455215 g_get_user_special_dir: no reference about G_USER_DIRECTORY_DOWNLOAD fallback to $HOME/Desktop if xdg-user-dirs is not in use 498732 g_key_file_to_data cannot fail 511367 add g_file_make_directory_with_parents 531900 Use __builtin_offsetof for G_STRUCT_OFFSET if building with gcc 4.0 or newer 536158 also bump GHashTable version when a node is removed via g_hash_table_iter_remove()/g_hash_table_iter_steal() 531403 g_utf8_collate broken on Mac 535628 test/patterntest.c still includes gpattern.h directly 535625 alias.h:2648: error: 'utime' undeclared here (not in a function) * Translation updates: Arabic (ar) German (de) Italian (it) Norwegian bokmål (nb) Thai (th) Overview of Changes from GLib 2.16.x to GLib 2.17.0 =================================================== * Update to Unicode 5.1 * Update included libcharset to the one shipped with libiconv 0.12 * Update included PCRE to 7.7 * Enforce that only toplevel headers are directly included. This is turned on by default for GObject and GIO. To turn it on for GLib, define G_DISABLE_SINGLE_INCLUDES. * Fix library version of GIO. GLib 2.16 shipped with libgio-2.0.so.0.0.0 * On Solaris, use FEN for file monitoring in GIO * Use the GIO_EXTRA_MODULES environment variable to find additional GIO modules * G_GNUC_ALLOC_SIZE: New macro that wraps the gcc alloc_size function attribute * g_checksum_reset: New function to reset the state of a GChecksum * g_unix_mount_monitor_set_rate_limit: New function to limit the rate at which events are reported * g_file_query_file_type: New utility function to query the type of a file * g_memory_output_stream_get_data_size: New function to obtain the size of the written data. * Bugs fixed: 522292 Gives warnings in glib/gutils.h with GCC in C99 mode 523298 win_iconv can't convert from UTF-8 to GB18030 (or vice versa) 518160 replace two g_strdup_printf calls in GBookmarkFile 523877 gbookmarkfile: avoid using g_string_append_printf() and other optimizations 525192 100% CPU if run main loop with no IO sources 315437 extern inline -> static inline 524314 g_convert() on Win32 implicitly converts full width alphanumerics into half width 525732 Error in documentation for g_list_first 525674 A typo in gmarkup.c 448943 g_timeout_add_seconds() problems 525972 UCS-4 not in the new win_iconv implementation 526619 make test-report crash 491554 Update to Unicode 5.1.0 519137 g_slice_dup macro needs cast for 64-bit platform 528752 Win32 build and SSL not working 530457 G_USER_DIRECTORY_DOWNLOAD folder improperly mapped 528667 Typos in testing module documentation 459905 Bug in wcwidth data 534085 g_unichar_iswide_cjk() has a totally wrong table 501651 Update glib/libcharset 519026 G_STMT_START/G_STMT_END test a non-existent preprocessor symbol 534319 GLib's .pc files could use Libs.private 534137 Typo in g_spawn_async_with_pipes doc 517419 gio win32 directory monitor 526796 Wrong order of arguments in g_file_copy's fallback 530196 _g_local_file_has_trash_dir() doesn't handle st_dev == 0 532965 Should not return filesystem::free for certain file systems 525553 fix typo and nitpicking in GArray documentation 526572 Missing * in declaration of parent_class in Object Destruction section of GObject Reference Manual 528648 Extra >s in Object Construction section 535021 g_param_spec_internal documentation should describe purpose of nick and blurb 521513 Firefox crash when using file picker 528433 gdesktopappinfo snafu ... 533369 API g_file_info_get_attribute_string () unables to get "... 521045 glib f_fstypename miscellany 521672 compile error 521946 control rate limit on GUnixMountMonitor 522335 Fails to build: glib/gtester.c:276: error: 'ARG_MAX' unde... 523015 Implement sliding window based upload operation 523019 Use new GCC 4 feature 523338 list nfs4 as a nfs mount type 524350 Make glib build without NLS again 524579 g_file_copy reports wrong total on progress callback for ... 524742 A typo in gtestutils.c. 524950 Minor documentation typos. 525866 the user directory should not be considered as a mount to... 526320 should not list mounts that the user doesn't have permiss... 527132 nautilus crash when making ftp connection 532852 CRITICAL **: totem_pl_parser_parse_with_base: assertion `... 534759 Build failure in gio 534764 Typo in error produced by g_file_make_directory 521851 Redudant tests in gunixmounts.c 524344 glib/gthread.h still use G_GNUC_PRETTY_FUNCTION 525060 glib fails to build with -DG_DISABLE_ASSERT in CPPFLAGS o... 534177 Invalid description of the interface g_cclosure_marshal_S... 520715 Add GFile method g_file_query_file_type 523039 nautilus can't access to trash/computer/network if gvfs i... * Updated translations: Arabic (ar) Bulgarian (bg) Catalan (ca) Czech (cs) Greek (el) Candian English (en_CA) British English (en_GB) Spanish (es) Estonian (et) Basque (eu) Galician (gl) Hebrew (he) Hungarian (hu) Japanese (ja) Lithuanian (lt) Norwegian bokmål (nb) Dutch (nl) Occitan (oc) Portugese (pt) Russian (ru) Slovak (sk) Albanian (sq) Swedish (sv) Turkish (tr) Vietnamese (vi)
21 lines
628 B
Text
21 lines
628 B
Text
$NetBSD: patch-ac,v 1.10 2008/09/06 11:07:20 obache Exp $
|
|
|
|
http://bugzilla.gnome.org/show_bug.cgi?id=107626
|
|
|
|
--- gmodule/gmodule-dyld.c.orig 2008-09-02 15:09:12.000000000 +0000
|
|
+++ gmodule/gmodule-dyld.c
|
|
@@ -120,7 +120,13 @@ _g_module_symbol (gpointer handle,
|
|
if (NSIsSymbolNameDefined (symbol_name))
|
|
sym = NSLookupAndBindSymbol (symbol_name);
|
|
else
|
|
- sym = NULL;
|
|
+ {
|
|
+ GModule *mod;
|
|
+ for (mod = modules, sym = NULL; mod && !sym; mod = mod->next)
|
|
+ {
|
|
+ sym = NSLookupSymbolInModule (mod->handle, symbol_name);
|
|
+ }
|
|
+ }
|
|
}
|
|
else
|
|
sym = NSLookupSymbolInModule (handle, symbol_name);
|