$NetBSD: patch-aa,v 1.11 2007/07/20 00:09:22 gdt Exp $ Use a pointer, instead of an array, to avoid an error on Darwin. Patch from DarwinPorts. --- libguile/guile.c.orig 2007-05-09 16:22:03.000000000 -0400 +++ libguile/guile.c @@ -68,7 +68,7 @@ main (int argc, char **argv) { #if !defined (__MINGW32__) /* libtool automagically inserts this variable into your executable... */ - extern const lt_dlsymlist lt_preloaded_symbols[]; + extern const lt_dlsymlist *lt_preloaded_symbols; lt_dlpreload_default (lt_preloaded_symbols); #endif scm_boot_guile (argc, argv, inner_main, 0);