[minetest-v04x] 09/11: Readd rawlua.patch.

Markus Koschany apo-guest at moszumanska.debian.org
Fri Feb 20 21:54:00 UTC 2015


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

apo-guest pushed a commit to branch master
in repository minetest-v04x.

commit 9c1b9ba2c40efd11c4d90eb224ea03cb14cd7419
Author: Markus Koschany <apo at gambaru.de>
Date:   Fri Feb 20 22:46:40 2015 +0100

    Readd rawlua.patch.
---
 debian/patches/rawlua.patch | 25 +++++++++++++++++++++++++
 debian/patches/series       |  1 +
 2 files changed, 26 insertions(+)

diff --git a/debian/patches/rawlua.patch b/debian/patches/rawlua.patch
new file mode 100644
index 0000000..ac495f1
--- /dev/null
+++ b/debian/patches/rawlua.patch
@@ -0,0 +1,25 @@
+From: Markus Koschany <apo at gambaru.de>
+Date: Fri, 20 Feb 2015 22:46:25 +0100
+Subject: rawlua
+
+---
+ src/CMakeLists.txt | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
+index 93083f3..5536eb9 100644
+--- a/src/CMakeLists.txt
++++ b/src/CMakeLists.txt
+@@ -284,9 +284,9 @@ if(LUA_LIBRARY AND LUA_INCLUDE_DIR)
+ endif (LUA_LIBRARY AND LUA_INCLUDE_DIR)
+ 
+ if(NOT USE_LUAJIT)
+-	message (STATUS "LuaJIT not found, using bundled Lua.")
+-	set(LUA_INCLUDE_DIR "${PROJECT_SOURCE_DIR}/lua/src")
+-	set(LUA_LIBRARY "lua")
++    message (STATUS "LuaJIT not found, using the version of Lua provided by the system.")
++	set(LUA_INCLUDE_DIR "/usr/include/lua5.1/")
++	set(LUA_LIBRARY "lua5.1")
+ 	add_subdirectory(lua)
+ endif(NOT USE_LUAJIT)
+ 
diff --git a/debian/patches/series b/debian/patches/series
index 31c786a..42b42dc 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -3,3 +3,4 @@ i18n.patch
 mapper.patch
 shared_mods.patch
 FindJson.cmake.patch
+rawlua.patch

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



More information about the Pkg-games-commits mailing list