summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-extended/gnuplot/gnuplot-4.6.5/lua-loadlibs-configure-in-fix.patch
diff options
context:
space:
mode:
authorTim Orling <TicoTimo@gmail.com>2014-03-30 17:44:17 -0700
committerMartin Jansa <Martin.Jansa@gmail.com>2014-04-21 13:31:47 +0200
commit8b29bc67af47e3f6ca272731e5ccf1ff1c59b14c (patch)
tree0a97a56f5396ef679dccdfbbe09426c62ef37a34 /meta-oe/recipes-extended/gnuplot/gnuplot-4.6.5/lua-loadlibs-configure-in-fix.patch
parent72b21ffad37e520da3e10fe91bf3246774da0e46 (diff)
downloadmeta-openembedded-8b29bc67af47e3f6ca272731e5ccf1ff1c59b14c.tar.gz
gnuplot: upgrade to 4.6.5
* automake patch from 4.4.4 is no longer needed * PACKAGECONFIG for lua (lua term is only useful for LaTeX) * linking problems with dlopen, etc. in lua loadlibs.c fixed ** this same problem was seen in jansa world builds for 4.4.4 ** I am not able to replicate that error on 4.4.4 NOTE: qt is supported by this version, but I was not able to figure out the configuration... Signed-off-by: Tim Orling <TicoTimo@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-extended/gnuplot/gnuplot-4.6.5/lua-loadlibs-configure-in-fix.patch')
-rw-r--r--meta-oe/recipes-extended/gnuplot/gnuplot-4.6.5/lua-loadlibs-configure-in-fix.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/meta-oe/recipes-extended/gnuplot/gnuplot-4.6.5/lua-loadlibs-configure-in-fix.patch b/meta-oe/recipes-extended/gnuplot/gnuplot-4.6.5/lua-loadlibs-configure-in-fix.patch
new file mode 100644
index 0000000000..23f2cd26a5
--- /dev/null
+++ b/meta-oe/recipes-extended/gnuplot/gnuplot-4.6.5/lua-loadlibs-configure-in-fix.patch
@@ -0,0 +1,16 @@
1Index: gnuplot-4.6.5/configure.in
2===================================================================
3--- gnuplot-4.6.5.orig/configure.in
4+++ gnuplot-4.6.5/configure.in
5@@ -690,6 +690,11 @@ if test "${with_lua}" = yes ; then
6 fi
7
8 if test "$with_lua" != no; then
9+ dnl check for dlopen/dl to fix loadlibs link failure
10+ AC_CHECK_FUNC([dlopen], [],
11+ AC_CHECK_LIB([dl], [dlopen], DLOPEN_LIBS="-ldl"))
12+ AC_SUBST(DLOPEN_LIBS)
13+ LUA_LIBS="$LUA_LIBS $DLOPEN_LIBS"
14 TERMLIBS="$TERMLIBS $LUA_LIBS"
15 CPPFLAGS="$CPPFLAGS $LUA_CFLAGS"
16 else