From 2372fb641257a81547a20483bda4913f90605997 Mon Sep 17 00:00:00 2001 From: "Qi.Chen@windriver.com" Date: Mon, 7 Nov 2016 18:05:02 +0800 Subject: gnuplot: upgrade to 5.0.5 Add PACKAGECONFIG for 'qt4' and default to not enable it as there's do_compile failure when qt4 is enabled. The obsolete '--without-lisp-files' option is removed. Signed-off-by: Chen Qi Signed-off-by: Martin Jansa --- .../gnuplot/gnuplot/lua-loadlibs-configure-in-fix.patch | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 meta-oe/recipes-extended/gnuplot/gnuplot/lua-loadlibs-configure-in-fix.patch (limited to 'meta-oe/recipes-extended/gnuplot/gnuplot/lua-loadlibs-configure-in-fix.patch') diff --git a/meta-oe/recipes-extended/gnuplot/gnuplot/lua-loadlibs-configure-in-fix.patch b/meta-oe/recipes-extended/gnuplot/gnuplot/lua-loadlibs-configure-in-fix.patch new file mode 100644 index 0000000000..23f2cd26a5 --- /dev/null +++ b/meta-oe/recipes-extended/gnuplot/gnuplot/lua-loadlibs-configure-in-fix.patch @@ -0,0 +1,16 @@ +Index: gnuplot-4.6.5/configure.in +=================================================================== +--- gnuplot-4.6.5.orig/configure.in ++++ gnuplot-4.6.5/configure.in +@@ -690,6 +690,11 @@ if test "${with_lua}" = yes ; then + fi + + if test "$with_lua" != no; then ++ dnl check for dlopen/dl to fix loadlibs link failure ++ AC_CHECK_FUNC([dlopen], [], ++ AC_CHECK_LIB([dl], [dlopen], DLOPEN_LIBS="-ldl")) ++ AC_SUBST(DLOPEN_LIBS) ++ LUA_LIBS="$LUA_LIBS $DLOPEN_LIBS" + TERMLIBS="$TERMLIBS $LUA_LIBS" + CPPFLAGS="$CPPFLAGS $LUA_CFLAGS" + else -- cgit 1.2.3-korg