aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--debian/patches/0003-pkg-config-lua52.patch24
-rw-r--r--debian/patches/series1
2 files changed, 25 insertions, 0 deletions
diff --git a/debian/patches/0003-pkg-config-lua52.patch b/debian/patches/0003-pkg-config-lua52.patch
new file mode 100644
index 0000000..74151eb
--- /dev/null
+++ b/debian/patches/0003-pkg-config-lua52.patch
@@ -0,0 +1,24 @@
1From: YAEGASHI Takeshi <yaegashi@debian.org>
2Date: Tue, 18 Feb 2014 07:24:45 +0900
3Subject: pkg-config lua52
4
5pkg-config must use lua52.pc provided by liblua5.2-dev.
6---
7 cgit.mk | 4 ++--
8 1 file changed, 2 insertions(+), 2 deletions(-)
9
10diff --git a/cgit.mk b/cgit.mk
11index 056c3f9..41b514e 100644
12--- a/cgit.mk
13+++ b/cgit.mk
14@@ -31,8 +31,8 @@ ifdef NO_LUA
15 else
16 LUAJIT_CFLAGS := $(shell pkg-config --cflags luajit 2>/dev/null)
17 LUAJIT_LIBS := $(shell pkg-config --libs luajit 2>/dev/null)
18-LUA_LIBS := $(shell pkg-config --libs lua 2>/dev/null)
19-LUA_CFLAGS := $(shell pkg-config --cflags lua 2>/dev/null)
20+LUA_LIBS := $(shell pkg-config --libs lua52 2>/dev/null)
21+LUA_CFLAGS := $(shell pkg-config --cflags lua52 2>/dev/null)
22 ifeq (JIT,$(LUA_IMPLEMENTATION))
23 ifeq ($(strip $(LUAJIT_LIBS)),)
24 $(error LuaJIT specified via LUA_IMPLEMENTATION=JIT, but library could not be found.)
diff --git a/debian/patches/series b/debian/patches/series
index dd1ea6a..3d58fec 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
10001-make-a2x-skip-xmllint.patch 10001-make-a2x-skip-xmllint.patch
20002-introduce-debian-standard-build-flags.patch 20002-introduce-debian-standard-build-flags.patch
30003-pkg-config-lua52.patch