Browse Source

guile: fixed to compile with libtool-2.x

crossperl
Aldas Nabazas 16 years ago committed by Alejandro Mery
parent
commit
356fd3cb1b
  1. 31
      develop/guile/libtool-fix.patch

31
develop/guile/libtool-fix.patch

@ -0,0 +1,31 @@
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../guile/libtool-fix.patch
# Copyright (C) 2008 The OpenSDE Project
#
# More information can be found in the files COPYING and README.
#
# This patch file is dual-licensed. It is available under the license the
# patched project is licensed under, as long as it is an OpenSource license
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
# of the GNU General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option) any later
# version.
# --- SDE-COPYRIGHT-NOTE-END ---
diff -Nur guile-1.8.4-orig/libguile/guile.c guile-1.8.4/libguile/guile.c
--- guile-1.8.4-orig/libguile/guile.c 2008-04-12 13:41:17.000000000 +0000
+++ guile-1.8.4/libguile/guile.c 2008-04-12 13:43:21.000000000 +0000
@@ -66,11 +66,6 @@
int
main (int argc, char **argv)
{
-#if !defined (__MINGW32__)
- /* libtool automagically inserts this variable into your executable... */
- extern const lt_dlsymlist lt_preloaded_symbols[];
- lt_dlpreload_default (lt_preloaded_symbols);
-#endif
scm_boot_guile (argc, argv, inner_main, 0);
return 0; /* never reached */
}
Loading…
Cancel
Save