From 73fccbdc4d28ebabf1f4ce99b9e1f3455a509b0c Mon Sep 17 00:00:00 2001 From: YAEGASHI Takeshi Date: Tue, 18 Feb 2014 07:28:45 +0900 Subject: Add 0003-pkg-config-lua52.patch 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 @@ +From: YAEGASHI Takeshi +Date: Tue, 18 Feb 2014 07:24:45 +0900 +Subject: pkg-config lua52 + +pkg-config must use lua52.pc provided by liblua5.2-dev. +--- + cgit.mk | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/cgit.mk b/cgit.mk +index 056c3f9..41b514e 100644 +--- a/cgit.mk ++++ b/cgit.mk +@@ -31,8 +31,8 @@ ifdef NO_LUA + else + LUAJIT_CFLAGS := $(shell pkg-config --cflags luajit 2>/dev/null) + LUAJIT_LIBS := $(shell pkg-config --libs luajit 2>/dev/null) +-LUA_LIBS := $(shell pkg-config --libs lua 2>/dev/null) +-LUA_CFLAGS := $(shell pkg-config --cflags lua 2>/dev/null) ++LUA_LIBS := $(shell pkg-config --libs lua52 2>/dev/null) ++LUA_CFLAGS := $(shell pkg-config --cflags lua52 2>/dev/null) + ifeq (JIT,$(LUA_IMPLEMENTATION)) + ifeq ($(strip $(LUAJIT_LIBS)),) + $(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 @@ 0001-make-a2x-skip-xmllint.patch 0002-introduce-debian-standard-build-flags.patch +0003-pkg-config-lua52.patch -- cgit v0.10.1