[corsix-th] 03/03: add patch to locate lua5.2

Alexandre Detiste detiste-guest at moszumanska.debian.org
Sun Dec 6 11:08:05 UTC 2015


This is an automated email from the git hooks/post-receive script.

detiste-guest pushed a commit to branch master
in repository corsix-th.

commit 8babf6a608d0d8db18897163ebc1a6a6d11675f9
Author: Alexandre Detiste <alexandre.detiste at gmail.com>
Date:   Sun Dec 6 11:58:40 2015 +0100

    add patch to locate lua5.2
---
 debian/patches/lua.patch | 16 ++++++++++++++++
 debian/patches/series    |  1 +
 2 files changed, 17 insertions(+)

diff --git a/debian/patches/lua.patch b/debian/patches/lua.patch
new file mode 100644
index 0000000..bec4dd5
--- /dev/null
+++ b/debian/patches/lua.patch
@@ -0,0 +1,16 @@
+# find lua 5.2
+Index: corsix-th-0.50/CMake/FindLua.cmake
+===================================================================
+--- corsix-th-0.50.orig/CMake/FindLua.cmake	2015-08-30 22:29:45.000000000 +0200
++++ corsix-th-0.50/CMake/FindLua.cmake	2015-09-17 21:02:42.749389729 +0200
+@@ -26,8 +26,8 @@
+     SET (LUA_INCLUDE_DIRS include/luajit-2.0 include)
+ ELSE (WITH_LUAJIT)
+     SET (LUA_INTERPRETER_TYPE "Lua")
+-    SET (LUA_LIBRARY_NAME lua53 lua52 lua5.1 lua51 lua lua-5.1 liblua)
+-    SET (LUA_INCLUDE_DIRS include include/lua include/lua5.1 include/lua51 include/lua-5.1)
++    SET (LUA_LIBRARY_NAME lua53 lua5.2 lua52 lua5.1 lua51 lua lua-5.1 liblua)
++    SET (LUA_INCLUDE_DIRS include include/lua include/lua5.2 include/lua5.1 include/lua51 include/lua-5.1)
+ ENDIF(WITH_LUAJIT)
+ 
+ FIND_PATH (LUA_INCLUDE_DIR lua.h
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..5e89c45
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+lua.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/corsix-th.git



More information about the Pkg-games-commits mailing list