diff options
author | YAEGASHI Takeshi <yaegashi@debian.org> | 2014-03-02 17:24:06 (JST) |
---|---|---|
committer | YAEGASHI Takeshi <yaegashi@debian.org> | 2014-03-02 19:29:45 (JST) |
commit | c06fbc3b25e116fa79bcf94b6508010806ca3f14 (patch) | |
tree | d764681effc96b8b10e8846a2b2a88674ba5c753 /debian/patches/0003-prefer-lua5.1-to-lua5.2.patch | |
parent | 667bf9f6ed38daac4e4d7e88903eb0f28319c165 (diff) | |
download | cgit-c06fbc3b25e116fa79bcf94b6508010806ca3f14.zip cgit-c06fbc3b25e116fa79bcf94b6508010806ca3f14.tar.gz |
Update debian/patches
Diffstat (limited to 'debian/patches/0003-prefer-lua5.1-to-lua5.2.patch')
-rw-r--r-- | debian/patches/0003-prefer-lua5.1-to-lua5.2.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/debian/patches/0003-prefer-lua5.1-to-lua5.2.patch b/debian/patches/0003-prefer-lua5.1-to-lua5.2.patch new file mode 100644 index 0000000..774739c --- /dev/null +++ b/debian/patches/0003-prefer-lua5.1-to-lua5.2.patch | |||
@@ -0,0 +1,24 @@ | |||
1 | From: YAEGASHI Takeshi <yaegashi@debian.org> | ||
2 | Date: Sun, 2 Mar 2014 17:15:20 +0900 | ||
3 | Subject: prefer lua5.1 to lua5.2 | ||
4 | |||
5 | Because: | ||
6 | * For wheezy, lua-md5 is not usable by lua 5.2 | ||
7 | * For sid, luajit is based on lua 5.1 | ||
8 | --- | ||
9 | cgit.mk | 2 +- | ||
10 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
11 | |||
12 | diff --git a/cgit.mk b/cgit.mk | ||
13 | index 5048b09..4fd4235 100644 | ||
14 | --- a/cgit.mk | ||
15 | +++ b/cgit.mk | ||
16 | @@ -30,7 +30,7 @@ ifdef NO_LUA | ||
17 | CGIT_CFLAGS += -DNO_LUA | ||
18 | else | ||
19 | ifeq ($(LUA_PKGCONFIG),) | ||
20 | - LUA_PKGCONFIG := $(shell for pc in luajit lua lua5.2 lua5.1; do \ | ||
21 | + LUA_PKGCONFIG := $(shell for pc in luajit lua lua5.1 lua5.2; do \ | ||
22 | pkg-config --exists $$pc 2>/dev/null && echo $$pc && break; \ | ||
23 | done) | ||
24 | LUA_MODE := autodetected | ||