SOURCES: graphviz-lua.patch - lua 5.1 + one more fix for 2.12

qboosh qboosh at pld-linux.org
Wed Dec 27 17:07:02 CET 2006


Author: qboosh                       Date: Wed Dec 27 16:07:02 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- lua 5.1 + one more fix for 2.12

---- Files affected:
SOURCES:
   graphviz-lua.patch (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SOURCES/graphviz-lua.patch
diff -u SOURCES/graphviz-lua.patch:1.1 SOURCES/graphviz-lua.patch:1.2
--- SOURCES/graphviz-lua.patch:1.1	Sun Feb 12 00:13:09 2006
+++ SOURCES/graphviz-lua.patch	Wed Dec 27 17:06:57 2006
@@ -1,14 +1,22 @@
---- graphviz-2.8/configure.ac.orig	2006-02-11 21:23:23.595611000 +0100
-+++ graphviz-2.8/configure.ac	2006-02-11 22:08:14.259767250 +0100
-@@ -414,7 +414,7 @@
-   [AC_HELP_STRING([--disable-lua], [don't support lua language bindings])])
- if test "x$enable_lua" != "xno"; then
+--- graphviz-2.12/configure.ac.orig	2006-12-27 15:09:27.103558425 +0100
++++ graphviz-2.12/configure.ac	2006-12-27 15:51:47.804344712 +0100
+@@ -546,12 +546,15 @@
+ 	AC_MSG_WARN([swig does not support lua. The LUA packages will not be built])
+ else
  AC_CHECK_PROG(LUA,lua,lua)
 -LUA_INCLUDES=
-+LUA_INCLUDES="-I/usr/include/lua50"
++LUA_INCLUDES="-I/usr/include/lua51"
  LUA_LIBS=
++save_CPPFLAGS="$CPPFLAGS"
++CPPFLAGS="$CPPFLAGS $LUA_INCLUDES"
+ AC_CHECK_HEADER(lua.h,,[
+   AC_MSG_WARN([Unable to find header lua.h. The LUA packages will not be built])
+   LUA=
+   ])
++CPPFLAGS="$save_CPPFLAGS"
  AC_SUBST(LUA_INCLUDES)
  AC_SUBST(LUA_LIBS)
+ fi
 --- graphviz-2.8/tclpkg/gv/Makefile.am.orig	2006-01-10 15:39:21.000000000 +0100
 +++ graphviz-2.8/tclpkg/gv/Makefile.am	2006-02-11 22:07:48.414152000 +0100
 @@ -6,7 +6,7 @@
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/graphviz-lua.patch?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list