aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/libprelude/libprelude-1.0.0/fix-ltdl-hack.patch
diff options
context:
space:
mode:
authorCliff Brake <cbrake@bec-systems.com>2010-11-12 00:00:20 -0500
committerCliff Brake <cbrake@bec-systems.com>2010-11-12 00:00:20 -0500
commit3c6efe8f8abc16668ca5e9cdf7a46665dac87172 (patch)
tree642c13416b99e80f0871cdc6668e832e635dfb48 /recipes/libprelude/libprelude-1.0.0/fix-ltdl-hack.patch
parentc400c874f2ac9233b8a43a73309b6e7907289c54 (diff)
parent13fbe7253c95881ede787004a4c3a1c31502e5c6 (diff)
downloadopenembedded-testing.tar.gz
Merge branch 'master' into testing-nexttested_2010-11-12testing
Diffstat (limited to 'recipes/libprelude/libprelude-1.0.0/fix-ltdl-hack.patch')
-rw-r--r--recipes/libprelude/libprelude-1.0.0/fix-ltdl-hack.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/recipes/libprelude/libprelude-1.0.0/fix-ltdl-hack.patch b/recipes/libprelude/libprelude-1.0.0/fix-ltdl-hack.patch
new file mode 100644
index 0000000000..c6f147f0c6
--- /dev/null
+++ b/recipes/libprelude/libprelude-1.0.0/fix-ltdl-hack.patch
@@ -0,0 +1,21 @@
+libtool 2.4 changed lt__PROGRAM__LTX_preloaded_symbols definition to
+
+extern LT_DLSYM_CONST lt_dlsymlist lt__PROGRAM__LTX_preloaded_symbols[];
+
+but there is no easy way to find its version to fix it properly, so it's a
+temporary hack to make at least libprelude compile.
+Index: libprelude-1.0.0/src/include/prelude-plugin.h
+===================================================================
+--- libprelude-1.0.0.orig/src/include/prelude-plugin.h 2010-11-06 21:30:18.000000000 +0300
++++ libprelude-1.0.0/src/include/prelude-plugin.h 2010-11-06 21:30:47.000000000 +0300
+@@ -61,9 +61,8 @@
+ */
+ #ifdef PRELUDE_APPLICATION_USE_LIBTOOL2
+ # define lt_preloaded_symbols lt__PROGRAM__LTX_preloaded_symbols
+-#endif
+-
+ extern const void *lt_preloaded_symbols[];
++#endif
+
+ #define PRELUDE_PLUGIN_SET_PRELOADED_SYMBOLS() \
+ prelude_plugin_set_preloaded_symbols(lt_preloaded_symbols)