From 356fd3cb1bc8eb24b5f988b80ebd5209210ae9a9 Mon Sep 17 00:00:00 2001 From: Aldas Nabazas Date: Sat, 27 Sep 2008 13:02:00 +0300 Subject: [PATCH] guile: fixed to compile with libtool-2.x --- develop/guile/libtool-fix.patch | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 develop/guile/libtool-fix.patch diff --git a/develop/guile/libtool-fix.patch b/develop/guile/libtool-fix.patch new file mode 100644 index 000000000..0b514ecce --- /dev/null +++ b/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 */ + }