summaryrefslogtreecommitdiff
path: root/packages/guile/files/gcc4.patch
diff options
context:
space:
mode:
Diffstat (limited to 'packages/guile/files/gcc4.patch')
-rw-r--r--packages/guile/files/gcc4.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/packages/guile/files/gcc4.patch b/packages/guile/files/gcc4.patch
new file mode 100644
index 0000000000..2168683ad5
--- /dev/null
+++ b/packages/guile/files/gcc4.patch
@@ -0,0 +1,16 @@
+
+#
+# Signed off by Michael 'Mickey' Lauer <mickey@Vanille.de>
+#
+
+--- guile-1.6.4/libguile/guile.c~gcc4
++++ guile-1.6.4/libguile/guile.c
+@@ -88,7 +88,7 @@
+ {
+ #ifdef DYNAMIC_LINKING
+ /* libtool automagically inserts this variable into your executable... */
+- extern const scm_lt_dlsymlist lt_preloaded_symbols[];
++ extern const scm_lt_dlsymlist *lt_preloaded_symbols;
+ scm_lt_dlpreload_default (lt_preloaded_symbols);
+ #endif
+ scm_boot_guile (argc, argv, inner_main, 0);