mirror of
https://abf.rosa.ru/djam/graphviz.git
synced 2025-02-23 07:42:57 +00:00
Add patch to fix build with lua 5.3
This commit is contained in:
parent
1dcff38774
commit
5f1140b95d
2 changed files with 14 additions and 1 deletions
11
graphviz-2.38.0-lua-5.3.patch
Normal file
11
graphviz-2.38.0-lua-5.3.patch
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- graphviz-2.38.0/configure.ac.orig 2016-05-15 19:27:52.204176821 +0200
|
||||
+++ graphviz-2.38.0/configure.ac 2016-05-15 19:28:14.198171673 +0200
|
||||
@@ -928,7 +928,7 @@
|
||||
if test "x$ac_found_lua_header" = "xyes" -a "x$ac_found_liblua_header" = "xyes"; then
|
||||
LUA_INCLUDES="$CFLAGS"
|
||||
fi
|
||||
- for l in "$lua_suffix" "" "52" "5.2" "51" "5.1" "50" "5.0" ; do
|
||||
+ for l in "$lua_suffix" "" "53" "5.3" "52" "5.2" "51" "5.1" "50" "5.0" ; do
|
||||
AC_CHECK_LIB(lua$l,lua_call,ac_found_lua_lib="yes",ac_found_lua_lib="no")
|
||||
if test "x$ac_found_lua_lib" = "xyes" ; then
|
||||
LUA_VERSION=">=5.1.0"
|
|
@ -38,6 +38,7 @@ Url: http://www.graphviz.org
|
|||
Source0: http://www.graphviz.org/pub/graphviz/ARCHIVE/%{name}-%{version}.tar.gz
|
||||
Patch0: graphviz-2.30.1-linkage.patch
|
||||
Patch1: graphviz-2.30.1-pkgconfig.patch
|
||||
Patch2: graphviz-2.38.0-lua-5.3.patch
|
||||
BuildRequires: bison
|
||||
BuildRequires: flex
|
||||
BuildRequires: libtool
|
||||
|
@ -363,7 +364,8 @@ Static development package for %{name}.
|
|||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p0 -b .link
|
||||
%patch0 -p0 -b .link~
|
||||
%patch1 -p1 -b .lua~
|
||||
sed -i s,"ruby-1.9","ruby-2.1",g configure.ac
|
||||
|
||||
%build
|
||||
|
|
Loading…
Add table
Reference in a new issue