blob: e9586a5a3a0204865b9ba3cd2cdd4de880dc213e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
$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);
|