From c73effbe1823cd37af9fe647cdc4d133ba0429cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timo=20Ter=C3=A4s?= Date: Fri, 20 Jan 2012 11:45:48 +0200 Subject: main/apk-tools: cherry-pick a regression fix from upstream --- main/apk-tools/0001-lua-fix-compile-error.patch | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 main/apk-tools/0001-lua-fix-compile-error.patch (limited to 'main/apk-tools/0001-lua-fix-compile-error.patch') diff --git a/main/apk-tools/0001-lua-fix-compile-error.patch b/main/apk-tools/0001-lua-fix-compile-error.patch new file mode 100644 index 0000000000..54059f1ded --- /dev/null +++ b/main/apk-tools/0001-lua-fix-compile-error.patch @@ -0,0 +1,25 @@ +From 00fd7b07f12a18615da1ad32b915787f72074dfa Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Timo=20Ter=C3=A4s?= +Date: Tue, 17 Jan 2012 15:59:01 +0200 +Subject: [PATCH 1/2] lua: fix compile error + +--- + src/lua-apk.c | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +diff --git a/src/lua-apk.c b/src/lua-apk.c +index 6fbd1cf..45488c2 100644 +--- a/src/lua-apk.c ++++ b/src/lua-apk.c +@@ -208,7 +208,7 @@ static int Papk_exists(lua_State *L) + apk_blob_t blob = APK_BLOB_STR(depstr); + apk_blob_pull_dep(&blob, db, &dep); + +- if (APK_BLOB_IS_NULL(blob) || b.len > 0) ++ if (APK_BLOB_IS_NULL(blob) || blob.len > 0) + goto ret_nil; + + name = dep.name; +-- +1.7.7.3 + -- cgit v1.2.3